henry hugo
Release 2 2022.08.14

Henry는 화려한 독서 경험을 가진 Hugo 테마입니다. 모든 기능에 대한 자세한 내용은이 블로그 게시물을 확인하십시오.

이것들은 Henry 테마가있는 Hugo 블로그를 설정하기위한 지침입니다.
# 1. Install Hugo
# https://gohugo.io/getting-started/installing/
brew install hugo
hugo new site blog-henry
cd blog-henry
# 2. clone Henry
git clone https://github.com/kaushikgopal/henry-hugo.git themes/henry
touch assets/css/{output,override,override-fonts}.css
# brew install node # if you don't have npm installed
cp themes/henry/tailwind.config.henry.js ./tailwind.config.js
npm install -D tailwindcss
npx tailwindcss -i themes/henry/assets/css/input.css -o ./assets/css/output.css
# 3. configure blog
# # add these lines to your hugo.toml config file
theme = " henry "
# 4. run Hugo!
# Option: use a single dev script
# See my blog post on this https://kau.sh/blog/tailwind-hugo#bonus-tip
./bin/dev
# open http://0.0.0.0:1313/
# sample posts are in henry's content folder : themes/henry/content
# if you want to see some samples, just mark them from draft true → false당신은 갈 수 있습니다. 행복한 블로깅!
이제 Hugo 블로그를 시작하고 다시 실행해야 할 때마다 ./bin/dev 실행하십시오.
다음은 위에서 언급 한 내용 외에 hugo.toml 구성 파일에서 작성하는 권장 사용자 정의입니다.
# # hugo.toml
# enable .json RSS feeds
[ outputFormats ]
# output formats
# https://gohugo.io/templates/output-formats/#output-format-definitions
[ outputFormats . rss ]
mediatype = " application/rss "
# change RSS path for default XML feed to /feed.xml (default index.xml)
baseName = " feed "
[ outputFormats . json ]
# change RSS path for JSON feed to /feed.json
baseName = " feed "
# configure RSS feeds for specific pages
[ outputs ]
# output format for pages
# https://gohugo.io/templates/output-formats/#output-formats-for-pages
page = [ " html " ]
home = [ " html " , " rss " , " json " ]
# sections = directories e.g. blog, letters, ppt
section = [ " html " , " rss " , " json " ]
# taxonomies = virtual tags/directories e.g. categories, tags (built-in)
# no rss for these as they're mostly "list" pages
taxonomy = [ " html " ]
# terms = values of taxonomies e.g. categories/programming
term = [ " html " , " rss " , " json " ] # # hugo.toml
[ related ]
includeNewer = true
threshold = 80
toLower = true
# weight index distribution tags > categories > title
[[ related . indices ]]
name = " tags "
weight = 80
[[ related . indices ]]
name = " categories "
weight = 20
[[ related . indices ]]
name = " title "
weight = 10다음은 Henry를 사용하는 몇 가지 블로그입니다.
테마는 MIT 라이센스의 조건에 따라 오픈 소스로 제공됩니다.
Github에서 버그 보고서 및 풀 요청을 환영합니다. 이 프로젝트는 협력을위한 안전하고 환영하는 공간이되기위한 것이며, 기고자들은 기고자 계약 규범을 준수 할 것으로 예상됩니다.