Yuanji's Blog

Status

This page was generated at 2022-06-18T21:45:45+09:00

hugo

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