Lua Emoji - ๋ฃจ์•„ ์ด๋ชจ์ง€

์†Œ๊ฐœ ๐Ÿต GPT-4o mini์˜ ์„ค๋ช…์„ ์ธ์šฉํ•œ๋‹ค. ์ด๋ชจ์ง€๋Š” ๊ฐ์ •, ์‚ฌ๋ฌผ, ๋™๋ฌผ, ์Œ์‹, ํ™•๋™ ๋“ฑ์„ ํ‘œํ˜„ํ•˜๋Š” ์ž‘์€ ๊ทธ๋ฆผ ๋ฌธ์ž์ด๋‹ค. ์ฃผ๋กœ ๋””์ง€ํ„ธ ์ปค๋ฎค๋‹ˆ์ผ€์ด์…˜์—์„œ ์‚ฌ์šฉ๋˜๋ฉด, ํ…์ŠคํŠธ ๋ฉ”์‹œ์ง€, ์†Œ์…œ ๋ฏธ๋””์–ด, ์ด๋ฉ”์ผ ๋“ฑ์—์„œ ๊ฐ์ •์„ ์ „๋‹ฌํ•˜๊ฑฐ๋‚˜ ๋‚ด์šฉ์„ ๊ฐ•์กฐํ•˜๋Š” ๋ฐ ๋„์›€์„ ์ค€๋‹ค. 1. ์—ญ์‚ฌ ์ด๋ชจ์ง€๋Š” 1990๋…„๋Œ€ ์ผ๋ณธ์—์„œ ์ฒ˜์Œ ์‚ฌ์šฉ๋˜์—ˆ์œผ๋ฉฐ, โ€œ์ด๋ชจ์ง€"๋ผ๋Š” ์šฉ์–ด๋Š” ์ผ๋ณธ์–ด๋กœ โ€œ๊ทธ๋ฆผ ๋ฌธ์ž"๋ฅผ ์˜๋ฏธํ•œ๋‹ค. 2010๋…„, ์ด๋ชจ์ง€๋Š” Unicode ํ‘œ์ค€์— ํฌํ•จ๋˜์–ด ์ „ ์„ธ๊ณ„์ ์œผ๋กœ ์‚ฌ์šฉ๋  ์ˆ˜ ์žˆ๊ฒŒ ๋˜์—ˆ๋‹ค. 2. ์ข…๋ฅ˜ ๊ฐ์ • ์ด๋ชจ์ง€: ๐Ÿ˜Š, ๐Ÿ˜‚, ๐Ÿ˜ข ๋“ฑ ๊ฐ์ •์„ ํ‘œํ˜„ํ•˜๋Š” ์ด๋ชจ์ง€. ์‚ฌ๋ฌผ ์ด๋ชจ์ง€: ๐Ÿ“ฑ (ํœด๋Œ€ํฐ), ๐ŸŽ (์‚ฌ๊ณผ) ๋“ฑ ๋ฌผ์ฒด๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ์ด๋ชจ์ง€. ๋™๋ฌผ ์ด๋ชจ์ง€: ๐Ÿถ (๊ฐ•์•„์ง€), ๐Ÿฑ (๊ณ ์–‘์ด) ๋“ฑ ๋™๋ฌผ์„ ๋‚˜ํƒ€๋‚ด๋Š” ์ด๋ชจ์ง€. ์Œ์‹ ์ด๋ชจ์ง€: ๐Ÿ• (ํ”ผ์ž), ๐Ÿฃ (์ดˆ๋ฐฅ) ๋“ฑ ์Œ์‹์„ ๋‚˜ํƒ€๋‚ด๋Š” ์ด๋ชจ์ง€. ํ™œ๋™ ์ด๋ชจ์ง€: โšฝ (์ถ•๊ตฌ๊ณต), ๐ŸŽ‰ (์ถ•ํ•˜) ๋“ฑ ํ™œ๋™์ด๋‚˜ ์ด๋ฒคํŠธ๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ์ด๋ชจ์ง€. 3. ์‚ฌ์šฉ ์ด๋ชจ์ง€๋Š” ๊ฐ์ •์„ ์‹œ๊ฐ์ ์œผ๋กœ ํ‘œํ˜„ํ•˜์—ฌ ํ…์ŠคํŠธ์˜ ์˜๋ฏธ๋ฅผ ๊ฐ•ํ™”ํ•œ๋‹ค. ๋Œ€ํ™”์˜ ๋ถ„์œ„๊ธฐ๋ฅผ ๋ถ€๋“œ๋Ÿฝ๊ฒŒ ํ•˜๊ฑฐ๋‚˜, ์œ ๋จธ๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋œ๋‹ค. ์ด๋ชจ์ง€๋Š” ๋‹ค์–‘ํ•œ ํ”Œ๋žซํผ๊ณผ ๊ธฐ๊ธฐ์—์„œ ๋™์ผํ•œ ๋ฐฉ์‹์œผ๋กœ ํ‘œ์‹œ๋˜๋„๋ก ์„ค๊ณ„๋˜์—ˆ์ง€๋งŒ, ๊ฐ ํ”Œ๋žซํผ์— ๋”ฐ๋ผ ๋””์ž์ธ์ด ๋‹ค๋ฅผ ์ˆ˜ ์žˆ๋‹ค. 4. ๋ฌธํ™”์  ์ฐจ์ด ์ด๋ชจ์ง€๋Š” ๋ฌธํ™”์— ๋”ฐ๋ผ ๋‹ค๋ฅด๊ฒŒ ํ•ด์„๋  ์ˆ˜ ์žˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, ํŠน์ • ์ด๋ชจ์ง€๊ฐ€ ํ•œ ๋ฌธํ™”์—์„œ๋Š” ๊ธ์ •์ ์ธ ์˜๋ฏธ๋ฅผ ๊ฐ€์งˆ ์ˆ˜ ์žˆ์ง€๋งŒ, ๋‹ค๋ฅธ ๋ฌธํ™”์—์„œ๋Š” ๋ถ€์ •์ ์ธ ์˜๋ฏธ๋ฅผ ๊ฐ€์งˆ ์ˆ˜ ์žˆ๋‹ค. 5. ์ตœ์‹  ๋™ํ–ฅ ์ด๋ชจ์ง€๋Š” ์ง€์†์ ์œผ๋กœ ์—…๋ฐ์ดํŠธ๋˜๊ณ  ์žˆ์œผ๋ฉฐ, ์ƒˆ๋กœ์šด ์ด๋ชจ์ง€๊ฐ€ ๋งค๋…„ ์ถ”๊ฐ€๋œ๋‹ค. Unicode Consortium์€ ์ƒˆ๋กœ์šด ์ด๋ชจ์ง€๋ฅผ ์ œ์•ˆํ•˜๊ณ  ์Šน์ธํ•˜๋Š” ์—ญํ• ์„ ํ•œ๋‹ค. ์ด๋ชจ์ง€๋Š” ํ˜„๋Œ€ ์ปค๋ฎค๋‹ˆ์ผ€์ด์…˜์—์„œ ์ค‘์š”ํ•œ ์—ญํ• ์„ ํ•˜๋ฉฐ, ์‚ฌ๋žŒ๋“ค ๊ฐ„์˜ ๊ฐ์ •๊ณผ ์ƒ๊ฐ์„ ํšจ๊ณผ์ ์œผ๋กœ ์ „๋‹ฌํ•˜๋Š” ๋„๊ตฌ๋กœ ์ž๋ฆฌ ์žก๊ณ  ์žˆ๋‹ค. ...

2025-06-26 ยท 353 words

Edge - ์œˆ๋„์šฐ์ฆˆ ๋ธŒ๋ผ์šฐ์ €

์ด๊ฒƒ์„ ์‚ฌ์šฉํ•˜๋Š” ์ด์œ ๋Š” ์–ด์ฉ” ์ˆ˜ ์—†์ด ๊ด€๊ณต์„œ๋‚˜ ๊ธˆ์œต๊ถŒ ๋•Œ๋ฌธ์ด๋‹ค. ํ•œ๊ตญ์˜ ํ›„์ง„์ ์ธ ๊ณต์ธ์ธ์ฆ์„œ์ œ๋„์™€ ์œˆ๋„์šฐ์ฆˆ ์ค‘์‹ฌ ์‚ฌ์šฉ์œผ๋กœ ์ธํ•œ ํํ•ด๊ฐ€ ์•„๋‹๊นŒ ํ•œ๋‹ค. ๋‹คํฌ๋ชจ๋“œ Dark mode ๋ณ€๊ฒฝ ๋ชจ์–‘๋ณ€๊ฒฝ: ์„ค์ • > ๋ธŒ๋ผ์šฐ์ € ๋””์Šคํ”Œ๋ ˆ์ด> ๋ชจ์–‘ ์‚ฌ์šฉ์ž ์ง€์ • > ์–ด๋‘ก๊ฒŒ ์›นํŽ˜์ด์ง€๋ณ€๊ฒฝ: ๋ธŒ๋ผ์šฐ์ € ์ฐฝ์— ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ž…๋ ฅ ํ›„ ์žฌ์‹คํ–‰ edge://flags/#enable-force-dark

2023-09-08 ยท 42 words

PaperMod - Hugo Theme

TODO ์•„์ด์ฝ˜ ํ‘œ์‹œ ๋ฐ ๊ตฌ์กฐ ํŒŒ์•…ํ•ด์„œ ์ด๋ฅผ ์ ์šฉํ•˜๊ธฐ 2022-09-08 - ๋‚ด์šฉ ์ˆ˜์ •, ๊ทธ๋ฆผํŒŒ์ผ ๋งํฌ ๊ด€๋ จ ์ถ”๊ฐ€ PaperMod screen shot Intro hugo์˜ ํ…Œ๋งˆ ์ค‘์— ๊ฐ€์žฅ ๊ฐ„๊ฒฐํ•˜๊ณ  ์•ˆ์ •์ ์ด๋ฉฐ ๋งŽ์€ ์‚ฌ๋žŒ๋“ค์ด ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋‹ค. hugo ํ”„๋กœ์ ํŠธ๋Š” ~/www๋กœ ๊ฐ€์ •ํ•œ๋‹ค. ์ฃผ์˜ํ•  ๊ฒƒ์€ hugo์˜ ๊ตฌ์กฐ๊ฐ€ ~/www/contents/์ดํ•˜์— markdown ํŒŒ์ผ์„ ๋„ฃ์–ด์ฃผ์–ด์•ผ ํ•˜๊ณ , ์ดํ•˜ ํด๋”๋Š” ์ ์ ˆํžˆ ๋งŒ๋“ค๋˜ index.mdํŒŒ์ผ์€ ๋งŒ๋“ค๋ฉด ์›นํŽ˜์ด์ง€ ๋ฉ”์ธ ํ™”๋ฉด์— ๋‚ด์šฉ์ด ๋œจ์งˆ ์•Š๋Š”๋‹ค๋Š” ์ ์ด๋‹ค. ์„ค์ •์€ ~/www/config.yml์ด๋‹ค. ์„ค์ •์„ ๋ณ€๊ฒฝํ•˜๋ฉด hugo -D server ๋™์ž‘์‹œ ์ž๋™์œผ๋กœ ๋ฐ˜์˜๋œ๋‹ค. ๋งŒ์•ฝ ์„ค์ • ๋ณ€๊ฒฝ ์‚ฌํ•ญ์ด ๋ธŒ๋ผ์šฐ์ €์—์„œ ๋ณด์ด์ง€ ์•Š์œผ๋ฉด ์„œ๋ฒ„๋ฅผ ์žฌ์‹คํ–‰ ํ•œ๋‹ค. Install and Update Install $ cd ~/www $ git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1 Update $ cd themes/PaperMod $ git pull Setup ๊ด€๋ จ ๋งํฌ ์•„๋ž˜ ์‚ฌ์ดํŠธ์— config.yml ๋ฐ post.md ์ƒ˜ํ”Œ์ด ์žˆ์œผ๋‹ˆ ์ฐธ๊ณ ํ•œ๋‹ค. https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/ ํ…Œ๋งˆ ์„ค์ • papermod ์˜ ํ…Œ๋งˆ๋Š” light/dark/auto ๊ฐ€ ์žˆ๋‹ค. ํ™ˆํ™”๋ฉด ์ขŒ์ธก ์ƒ๋‹จ์— ํ•ด/๋‹ฌ ์•„์ด์ฝ˜ ํด๋ฆญ baseURL: "https://your_idname.github.io/" # ์ž์‹ ์˜ ๊นƒํŽ˜์ด์ง€ URL title: My Blog and wiki # ๋ธ”๋กœ๊ทธํ™ˆ ์ œ๋ชฉ paginate: 5 # ํ™ˆ์—์„œ ๋ณด์—ฌ์ค„ ๋ธ”๋กœ๊ทธ ํ‘œ์‹œ ๊ฐฏ์ˆ˜ theme: "PaperMod" # ํ…Œ๋งˆ PaperMod๋กœ ์ง€์ • params: # defaultTheme: light # defaultTheme: light defaultTheme: auto # auto๋กœ ์„ค์ •ํ•˜๋ฉด ์‚ฌ์šฉ์ž๊ฐ€ ๋ฐ”๊ฟ€ ์ˆ˜ ์žˆ๋‹ค. # disableThemeToggle: true # ํ•ด/๋‹ฌ ์•„์ด์ฝ˜์„ ๋ณด์ด์ง€ ์•Š๊ฒŒ ํ•˜๊ธฐ ๋ฉ”๋‰ด์„ค์ • ํ™ˆ ์šฐ์ธก ์ƒ๋‹จ ๋ฉ”๋‰ด๋ฅผ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ถ”๊ฐ€ํ•œ๋‹ค. menu: main: - identifier: categories # ๋ธ”๋กœ๊ทธ ์นดํ…Œ๊ณ ๋ฆฌ ๋ฉ”๋‰ด name: categories url: /categories/ weight: 10 - identifier: search # ๋ธ”๋กœ๊ทธ ๊ฒ€์ƒ‰ ๋ฉ”๋‰ด name: Search url: /search weight: 30 - identifier: tags # ๋ธ”๋กœ๊ทธ ํƒœ๊ทธ ๋ฉ”๋‰ด name: tags url: /tags/ weight: 20 - identifier: archives # ๋ธ”๋กœ๊ทธ ํƒœ๊ทธ ๋ฉ”๋‰ด name: tags url: /tags/ weight: 20 Archive Page - ์•„์นด์ด๋ธŒ ํŽ˜์ด์ง€, ๋‚ ์งœ๋ณ„๋กœ ์˜ฌ๋ฆฐ ํฌ์ŠคํŠธ๋ฌธ์„œ๊ฐ€ ์ •๋ฆฌ๋จ $ cat << EOF > ~/www/content/archives.md --- title: "Archive" layout: "archives" # url: "/archives" summary: "archives" --- EOF Search Page - ๊ฒ€์ƒ‰ํŽ˜์ด์ง€, ํผ์ง€ ์Šคํƒ€์ผ์˜ ๋น ๋ฅธ ๊ฒ€์ƒ‰ $ cat << EOF > ~/www/content/search.md --- title: "Search" # in any language you want layout: "search" # is necessary # url: "/archive" # description: "Description for Search" summary: "search" placeholder: "๊ฒ€์ƒ‰์–ด๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”" --- EOF tags์™€ categories๋Š” ์˜ฌ๋ฆด ํฌ์ŠคํŠธ๋ฌธ์„œ post.md ๋“ฑ์˜ frontmatter์— ๊ธฐ๋กํ•˜๋ฉด ์ž๋™์œผ๋กœ ๋ถ„๋ฅ˜๋˜๊ณ  ํ™ˆ ์ƒ๋‹จ ๋ฉ”๋‰ด์—์„œ ๋ณผ ์ˆ˜ ์žˆ๋‹ค. Post Cover Image ~/www/config.yml์— ์„ค์ •ํ•ด์ฃผ๊ณ  ์•„๋ž˜ ์„ค๋ช…๋Œ€๋กœ ํฌ์ŠคํŠธ๋ฌธ์„œ์— ๋งํฌ๋ฅผ ๊ฑธ์–ด์ฃผ๋ฉด ๋œ๋‹ค. cover: image: "<image path/url>" # can also paste direct link from external site # ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png alt: "<alt text>" caption: "<text>" relative: false # To use relative path for cover image, used in hugo Page-bundles ์ด๋ฏธ์ง€ ์‚ฌ์ด์ฆˆ๋ฅผ ์ค„์ด๊ณ  ์ฒ˜๋ฆฌ์†๋„๋ฅผ ๋†’์ด๋ ค๋ฉด ์•„๋ž˜ ์„ค์ • ์ถ”๊ฐ€ params: cover: responsiveImages: false ๊ทธ๋Ÿฌ๋‚˜ ์‹ค์ œ๋กœ ์ ์šฉํ•ด๋„ ํŽ˜์ด์ง€๋Š” ๋ณ€ํ™”ํ•˜์ง€ ์•Š๋Š”๋‹ค. ...

2022-08-24 ยท (updated 2025-06-15) ยท 701 words

PaperMod - Hugo Theme

History 2025-06-27 - tip ์ถ”๊ฐ€: tags, categories list์— cover image ํ‘œ์‹œํ•˜๊ธฐ 2022-09-08 - ๋‚ด์šฉ ์ˆ˜์ •, ๊ทธ๋ฆผํŒŒ์ผ ๋งํฌ ๊ด€๋ จ ์ถ”๊ฐ€ PaperMod screen shot Intro hugo์˜ ํ…Œ๋งˆ ์ค‘์— ๊ฐ€์žฅ ๊ฐ„๊ฒฐํ•˜๊ณ  ์•ˆ์ •์ ์ด๋ฉฐ ๋งŽ์€ ์‚ฌ๋žŒ๋“ค์ด ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋‹ค. hugo ํ”„๋กœ์ ํŠธ๋Š” ~/www๋กœ ๊ฐ€์ •ํ•œ๋‹ค. ์ฃผ์˜ํ•  ๊ฒƒ์€ hugo์˜ ๊ตฌ์กฐ๊ฐ€ ~/www/contents/์ดํ•˜์— markdown ํŒŒ์ผ์„ ๋„ฃ์–ด์ฃผ์–ด์•ผ ํ•˜๊ณ , ์ดํ•˜ ํด๋”๋Š” ์ ์ ˆํžˆ ๋งŒ๋“ค๋˜ index.mdํŒŒ์ผ์€ ๋งŒ๋“ค๋ฉด ์›นํŽ˜์ด์ง€ ๋ฉ”์ธ ํ™”๋ฉด์— ๋‚ด์šฉ์ด ๋œจ์งˆ ์•Š๋Š”๋‹ค๋Š” ์ ์ด๋‹ค. ์„ค์ •์€ ~/www/config.yml์ด๋‹ค. ์„ค์ •์„ ๋ณ€๊ฒฝํ•˜๋ฉด hugo -D server ๋™์ž‘์‹œ ์ž๋™์œผ๋กœ ๋ฐ˜์˜๋œ๋‹ค. ๋งŒ์•ฝ ์„ค์ • ๋ณ€๊ฒฝ ์‚ฌํ•ญ์ด ๋ธŒ๋ผ์šฐ์ €์—์„œ ๋ณด์ด์ง€ ์•Š์œผ๋ฉด ์„œ๋ฒ„๋ฅผ ์žฌ์‹คํ–‰ ํ•œ๋‹ค. Install and Update Install $ cd ~/www $ git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1 Update $ cd themes/PaperMod $ git pull Setup ๊ด€๋ จ ๋งํฌ ์•„๋ž˜ ์‚ฌ์ดํŠธ์— config.yml ๋ฐ post.md ์ƒ˜ํ”Œ์ด ์žˆ์œผ๋‹ˆ ์ฐธ๊ณ ํ•œ๋‹ค. https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/ ํ…Œ๋งˆ ์„ค์ • papermod ์˜ ํ…Œ๋งˆ๋Š” light/dark/auto ๊ฐ€ ์žˆ๋‹ค. ํ™ˆํ™”๋ฉด ์ขŒ์ธก ์ƒ๋‹จ์— ํ•ด/๋‹ฌ ์•„์ด์ฝ˜ ํด๋ฆญ baseURL: "https://your_idname.github.io/" # ์ž์‹ ์˜ ๊นƒํŽ˜์ด์ง€ URL title: My Blog and wiki # ๋ธ”๋กœ๊ทธํ™ˆ ์ œ๋ชฉ paginate: 5 # ํ™ˆ์—์„œ ๋ณด์—ฌ์ค„ ๋ธ”๋กœ๊ทธ ํ‘œ์‹œ ๊ฐฏ์ˆ˜ theme: "PaperMod" # ํ…Œ๋งˆ PaperMod๋กœ ์ง€์ • params: # defaultTheme: light # defaultTheme: light defaultTheme: auto # auto๋กœ ์„ค์ •ํ•˜๋ฉด ์‚ฌ์šฉ์ž๊ฐ€ ๋ฐ”๊ฟ€ ์ˆ˜ ์žˆ๋‹ค. # disableThemeToggle: true # ํ•ด/๋‹ฌ ์•„์ด์ฝ˜์„ ๋ณด์ด์ง€ ์•Š๊ฒŒ ํ•˜๊ธฐ ๋ฉ”๋‰ด์„ค์ • ํ™ˆ ์šฐ์ธก ์ƒ๋‹จ ๋ฉ”๋‰ด๋ฅผ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ถ”๊ฐ€ํ•œ๋‹ค. menu: main: - identifier: categories # ๋ธ”๋กœ๊ทธ ์นดํ…Œ๊ณ ๋ฆฌ ๋ฉ”๋‰ด name: categories url: /categories/ weight: 10 - identifier: search # ๋ธ”๋กœ๊ทธ ๊ฒ€์ƒ‰ ๋ฉ”๋‰ด name: Search url: /search weight: 30 - identifier: tags # ๋ธ”๋กœ๊ทธ ํƒœ๊ทธ ๋ฉ”๋‰ด name: tags url: /tags/ weight: 20 - identifier: archives # ๋ธ”๋กœ๊ทธ ํƒœ๊ทธ ๋ฉ”๋‰ด name: tags url: /tags/ weight: 20 Archive Page - ์•„์นด์ด๋ธŒ ํŽ˜์ด์ง€, ๋‚ ์งœ๋ณ„๋กœ ์˜ฌ๋ฆฐ ํฌ์ŠคํŠธ๋ฌธ์„œ๊ฐ€ ์ •๋ฆฌ๋จ $ cat << EOF > ~/www/content/archives.md --- title: "Archive" layout: "archives" # url: "/archives" summary: "archives" --- EOF Search Page - ๊ฒ€์ƒ‰ํŽ˜์ด์ง€, ํผ์ง€ ์Šคํƒ€์ผ์˜ ๋น ๋ฅธ ๊ฒ€์ƒ‰ $ cat << EOF > ~/www/content/search.md --- title: "Search" # in any language you want layout: "search" # is necessary # url: "/archive" # description: "Description for Search" summary: "search" placeholder: "๊ฒ€์ƒ‰์–ด๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”" --- EOF tags์™€ categories๋Š” ์˜ฌ๋ฆด ํฌ์ŠคํŠธ๋ฌธ์„œ post.md ๋“ฑ์˜ frontmatter์— ๊ธฐ๋กํ•˜๋ฉด ์ž๋™์œผ๋กœ ๋ถ„๋ฅ˜๋˜๊ณ  ํ™ˆ ์ƒ๋‹จ ๋ฉ”๋‰ด์—์„œ ๋ณผ ์ˆ˜ ์žˆ๋‹ค. Post Cover Image ~/www/config.yml์— ์„ค์ •ํ•ด์ฃผ๊ณ  ์•„๋ž˜ ์„ค๋ช…๋Œ€๋กœ ํฌ์ŠคํŠธ๋ฌธ์„œ์— ๋งํฌ๋ฅผ ๊ฑธ์–ด์ฃผ๋ฉด ๋œ๋‹ค. cover: image: "<image path/url>" # can also paste direct link from external site # ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png alt: "<alt text>" caption: "<text>" relative: false # To use relative path for cover image, used in hugo Page-bundles ์ด๋ฏธ์ง€ ์‚ฌ์ด์ฆˆ๋ฅผ ์ค„์ด๊ณ  ์ฒ˜๋ฆฌ์†๋„๋ฅผ ๋†’์ด๋ ค๋ฉด ์•„๋ž˜ ์„ค์ • ์ถ”๊ฐ€ params: cover: responsiveImages: false ๊ทธ๋Ÿฌ๋‚˜ ์‹ค์ œ๋กœ ์ ์šฉํ•ด๋„ ํŽ˜์ด์ง€๋Š” ๋ณ€ํ™”ํ•˜์ง€ ์•Š๋Š”๋‹ค. ...

2022-08-24 ยท (updated 2025-06-27) ยท 864 words

Hugo - Fast and flexible Static Site Generator written in Go

2022.09.08 - ๋งํฌ ์ˆ˜์ •, ์˜คํƒ€ ์ˆ˜์ • Install ubuntu ์—์„œ ํŒจํ‚ค์ง€๋กœ ์„ค์น˜ $ sudo apt install hugo $ hugo version Create a New SIte $ hugo new site my_site -f yml Add a Theme ์„ค์น˜์™€ ์„ค์ •์— ๋Œ€ํ•œ ์ž์„ธํ•œ ์‚ฌํ•ญ์€ hugo papermod๋ฅผ ์ฐธ๊ณ . PaperMod ํ…Œ๋งˆ ์„ค์น˜ $ cd my_site $ git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1 Update $ cd themes/PaperMod $ git pull Add theme set in config.yml $ echo 'theme: "PaperMod"' >> config.yml ๋˜๋Š” PaperMod ํ™ˆ์— ๊ฐ€์„œ config.yml์„ ๋ณต์‚ฌํ•œ๋‹ค. Sample Page ๋งŒ๋“ค๊ธฐ --- title: "My 1st post" date: 2020-09-15T11:30:03+00:00 # weight: 1 # aliases: ["/first"] tags: ["first"] author: "Me" # author: ["Me", "You"] # multiple authors showToc: true TocOpen: false draft: false hidemeta: false comments: false description: "Desc Text." canonicalURL: "https://canonical.url/to/page" disableHLJS: true # to disable highlightjs disableShare: false disableHLJS: false hideSummary: false searchHidden: true ShowReadingTime: true ShowBreadCrumbs: true ShowPostNavLinks: true ShowWordCount: true ShowRssButtonInSectionTermList: true UseHugoToc: true cover: image: "<image path/url>" # image path/url alt: "<alt text>" # alt text caption: "<text>" # display caption under cover relative: false # when using page bundles set this to true hidden: true # only hide on current single page editPost: URL: "https://github.com/<path_to_repo>/content" Text: "Suggest Changes" # edit text appendFilePath: true # to append file path to Edit link --- ## This is sample Page Hello World! ํŽ˜์ด์ง€ ์ƒ์„ฑ1: my_site/contents/sample.md๊ฐ€ ๋“ค์–ด๊ฐ„๋‹ค. $ hugo new --kind post sample.md ํŽ˜์ด์ง€ ์ƒ์„ฑ2: my_site/contents/posts/my-first-post.md๊ฐ€ ์ƒ์„ฑ๋œ๋‹ค. $ hugo new posts/my-first-post.md LANGUAGE CODE ์„ค์ • my_site/langcode.yaml ์„ ์ถ”๊ฐ€ํ•˜๊ณ  ์„ค์ •ํ•œ๋‹ค. - id: prev_page translation: "Prev" - id: next_page translation: "Next" - id: read_time translation: one: "1 min" other: "{{ .Count }} min" - id: words translation: one: "word" other: "{{ .Count }} words" - id: toc translation: "Table of Contents" - id: translations translation: "Translations" - id: home translation: "Home" - id: edit_post translation: "Edit" - id: code_copy translation: "copy" - id: code_copied translation: "copied!" Start the Hugo Server ์•„๋ž˜์™€ ๊ฐ™์ด ์„œ๋ฒ„๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ๋ธŒ๋ผ์šฐ์ €์—์„œ http://localhost:1313 ์œผ๋กœ ํ™•์ธ ์‹คํ–‰ ์œ„์น˜๋Š” my_site/ ๋‚ด์—์„œ ํ•ด์•ผํ•œ๋‹ค. $ hugo server -D Links https://cristianpb.github.io/blog/vimwiki-hugo https://gohugo.io/getting-started/quick-start/ https://themes.gohugo.io/themes/hugo-papermod/

2022-08-23 ยท (updated 2022-09-08) ยท 327 words