Yuanji's Blog

Status

This page was generated at 2022-09-24T00:00:53+09:00

hugo

{{ hugo.Generator }}<meta name="generator" content="Hugo 0.104.0" />
{{ hugo.Version }}0.104.0
{{ hugo.Environment }}production
{{ hugo.CommitHash }}c744dbd6edeeb27288c9dd67e0eb92951f911397
{{ hugo.BuildDate }}2022-09-23T14:32:56Z
{{ hugo.IsExtended }}true

config.toml

  1# TODO:
  2#  remove admonition & figure
  3
  4baseURL = "https://blog.gimo.me"
  5defaultContentLanguage = "zh-cn"       # https://github.com/gohugoio/hugo/issues/7344
  6defaultContentLanguageInSubdir = false
  7title = "Yuanji's Blog"
  8theme = "futu"
  9enableRobotsTXT = true
 10enableEmoji = true
 11enableGitInfo = true
 12hasCJKLanguage = true            # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文
 13paginate = 10                    # 首页每页显示的文章数
 14disqusShortname = "gimome"       # disqus_shortname
 15# googleAnalytics = "G-YL6RBN684E"
 16
 17[permalinks]
 18  remarks = '/:section/:year-:month-:day/'
 19
 20[imaging]
 21  quality = 75
 22
 23[author]
 24  name = "Yuanji"
 25  url = "https://blog.gimo.me"
 26
 27[sitemap]
 28  changefreq = "weekly"
 29  priority = 0.5
 30  filename = "sitemap.xml"
 31
 32[frontmatter]
 33  lastmod = ['lastmod', ':git', 'date', 'publishDate']
 34
 35[params]
 36  keywords = ["Yuanji", "元吉", "日语", "日本", "VPS", "Linux"]
 37  description = "Yuanji's Blog, 元吉的博客"
 38  ampLogo = "logo-600x60.png"
 39  # Site creation time
 40  since = "2016"
 41  homePaginate = 5
 42  paginate = 10
 43  # The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/
 44  dateFormatToUse = "2006/01/02"
 45  # Whether display TOC or not.
 46  toc = true
 47  googleVerification = "MgUc_ybvVWaRA5z2rsL4hzS5DwH9xdvKQFNthWOoLEg"
 48  cfBeaconToken = "744413db6a4649cd861280314303b5a9"
 49
 50[params.git]
 51  repo = "https://github.com/masakichi/nikki"
 52  branch = "main"
 53
 54# See https://gohugo.io/about/hugo-and-gdpr/
 55[privacy]
 56[privacy.googleAnalytics]
 57  anonymizeIP = true # 12.214.31.144 -> 12.214.31.0
 58[privacy.youtube]
 59  privacyEnhanced = true
 60
 61# Uncomment these options to make hugo output .md files.
 62[mediaTypes]
 63[mediaTypes."text/markdown"]
 64  suffixes = ["md"]
 65
 66[outputFormats.Markdown]
 67  mediaType = "text/markdown"
 68  isPlainText = true
 69  isHTML = false
 70
 71[outputs]
 72  home = ["HTML", "RSS", "Markdown"]
 73  page = ["HTML", "AMP", "Markdown"]
 74  section = ["HTML", "RSS"]
 75  taxonomy = ["HTML", "RSS"]
 76  taxonomyTerm = ["HTML"]
 77
 78[markup]
 79[markup.tableOfContents]
 80  startLevel = 2
 81[markup.goldmark.renderer]
 82  unsafe = true
 83[markup.highlight]
 84  anchorLineNos = true
 85  codeFences = true
 86  guessSyntax = true
 87  hl_Lines = ''
 88  lineAnchors = ''
 89  lineNoStart = 1
 90  lineNos = true
 91  lineNumbersInTable = false
 92  noClasses = false
 93  noHl = false
 94  style = 'monokai'
 95  tabWidth = 4
 96
 97# weird, not mentioned on https://gohugo.io/variables/site/
 98[social]
 99  twitter = "gimo_me"
100
101[languages]
102[languages.zh-CN]
103  title = "Yuanji's Blog"
104  languageCode = 'zh-CN'
105  languageName = '简体中文'
106[languages.zh-CN.params]
107  description = "Yuanji's Blog。分享技术、日语,记录学习、生活。"
108  # https://github.com/gohugoio/hugo/blob/2fc2e9c8718db2fe60f03bcf3661f449851cfe5f/tpl/tplimpl/embedded/templates/twitter_cards.html
109  images = ["cover.png"]
110  mainSections = ["posts", "remarks"]
111# https://gohugo.io/content-management/menus/
112[languages.zh-CN.menu]
113[[languages.zh-CN.menu.main]]
114  name = "首页"
115  weight = 10
116  identifier = "home"
117  url = "/"
118[[languages.zh-CN.menu.main]]
119  name = "归档"
120  weight = 20
121  identifier = "archives"
122  url = "/archives/"
123[[languages.zh-CN.menu.main]]
124  name = "标签"
125  weight = 30
126  identifier = "tags"
127  url = "/tags/"
128[[languages.zh-CN.menu.main]]
129  name = "关于"
130  weight = 40
131  identifier = "about"
132  url = "/about/"
133[[languages.zh-CN.menu.main]]
134  name = "订阅"
135  weight = 50
136  identifier = "rss"
137  url = "/index.xml"
138
139[languages.en]
140  title = "Yuanji's Blog"
141  languageCode = 'en'
142  languageName = 'English'
143[languages.en.params]
144  images = ["cover.en.png"]
145[[languages.en.menu.main]]
146  name = "Home"
147  weight = 10
148  identifier = "home"
149  url = "/"
150[[languages.en.menu.main]]
151  name = "Archives"
152  weight = 20
153  identifier = "archives"
154  url = "/archives/"
155[[languages.en.menu.main]]
156  name = "Tags"
157  weight = 30
158  identifier = "tags"
159  url = "/tags/"
160[[languages.en.menu.main]]
161  name = "About"
162  weight = 40
163  identifier = "about"
164  url = "/about/"
165[[languages.en.menu.main]]
166  name = "RSS"
167  weight = 50
168  identifier = "rss"
169  url = "/index.xml"