diff --git a/.drone.yml b/.drone.yml
index 8084344..a0ce9ad 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -23,9 +23,9 @@ steps:
- git submodule update --init --recursive
- name: hugo
- image: cibuilds/hugo:0.115.4
+ image: cibuilds/hugo:0.148.1
commands:
- - sudo hugo -e production --minify -v -s .
+ - sudo hugo -e production --minify -s .
- name: Compress-the-Assets
image: alpine:3.9
@@ -81,9 +81,9 @@ steps:
- git submodule update --init --recursive
- name: hugo
- image: cibuilds/hugo:0.115.4
+ image: cibuilds/hugo:0.148.1
commands:
- - sudo hugo -e staging --minify -v -s .
+ - sudo hugo -e staging --minify -s .
- name: Compress-the-Assets
image: alpine:3.9
diff --git a/assets/data/social.yml b/assets/data/social.yml
new file mode 100644
index 0000000..a9ccccf
--- /dev/null
+++ b/assets/data/social.yml
@@ -0,0 +1,131 @@
+# 001: Github
+github:
+ Weight: 5
+ Prefix: https://github.com/
+ Title: GitHub
+ Icon:
+ Simpleicons: github
+
+# 002: LinkedIn
+linkedin:
+ Weight: 4
+ Prefix: https://linkedin.com/in/
+ Title: LinkedIn
+ Icon:
+ Fontawesome:
+ Style: brands
+ Icon: linkedin
+
+# 003: Twitter
+twitter:
+ Weight: 1
+ Prefix: https://twitter.com/
+ Title: Twitter
+ Icon:
+ Fontawesome:
+ Style: brands
+ Icon: twitter
+
+# 005: facebook
+facebook:
+ Weight: 3
+ Prefix: https://facebook.com/
+ Title: facebook
+ Icon:
+ Fontawesome:
+ Style: brands
+ Icon: facebook
+
+# 011: YouTube Channel
+youtubechannel:
+ Weight: 10
+ Prefix: https://www.youtube.com/channel/
+ Title: YouTube
+ Icon:
+ Fontawesome:
+ Style: brands
+ Icon: youtube
+
+# 024: Flickr
+flickr:
+ Weight: 9
+ Prefix: https://www.flickr.com/photos/
+ Title: Flickr
+ Icon:
+ Fontawesome:
+ Style: brands
+ Icon: flickr
+
+# 035: Foursquare
+foursquare:
+ Weight: 7
+ Prefix: https://foursquare.com/
+ Title: Foursquare
+ Icon:
+ Fontawesome:
+ Style: brands
+ Icon: foursquare
+
+# 041: Strava
+strava:
+ Weight: 8
+ Prefix: https://www.strava.com/athletes/
+ Title: Strava
+ Icon:
+ Fontawesome:
+ Style: brands
+ Icon: strava
+
+# 056: Mastodon
+mastodon:
+ Weight: 2
+ Prefix: https://mstdn.guru/
+ Title: Mastodon
+ Icon:
+ Fontawesome:
+ Style: brands
+ Icon: mastodon
+
+# 059: Gitea
+gitea:
+ Weight: 6
+ Title: Gitea
+ Icon:
+ Simpleicons: gitea
+
+# 074: X
+x:
+ Weight: 74
+ Prefix: https://x.com/
+ Title: X
+ Icon:
+ Simpleicons: x
+
+# 075: Bluesky
+bluesky:
+ Weight: 75
+ Prefix: https://bsky.app/profile/
+ Title: Bluesky
+ Icon:
+ Simpleicons: bluesky
+
+# 076: Email
+email:
+ Weight: 76
+ Template: mailto:%v
+ Title: Email
+ Icon:
+ Fontawesome:
+ Style: regular
+ Icon: envelope
+
+# 077: RSS
+rss:
+ Weight: 77
+ Url: /index.xml
+ Title: RSS
+ Newtab: true
+ Icon:
+ Fontawesome:
+ Style: solid
+ Icon: rss
diff --git a/config/_default/config.toml b/config/_default/config.toml
index c6bcc6d..8315d64 100644
--- a/config/_default/config.toml
+++ b/config/_default/config.toml
@@ -11,11 +11,11 @@ theme = "DoIt"
[params]
# DoIt theme version
- version = "0.2.X"
+ version = "0.4.X"
# website title
title = "His greatness lies in his sense of responsibilities"
# site description
- description = "@kazu634のブログです"
+ description = "kazu634のブログです"
# site keywords
keywords = ["Tech", "Hugo"]
# site default theme ("light", "dark", "black", "auto")
@@ -31,9 +31,24 @@ theme = "DoIt"
images = ["/images/profile.png"]
# enable PWA support
enablePWA = false
- # App icon config
+ # [Experimental] cache remote images in markdown, more info: https://github.com/HEIGE-PCloud/DoIt/pull/860#issue-1574342372
+ cacheRemoteImages = true
+ # [Experimental] generate image srcset attribute with hugo image processing feature.
+ optimizeImages = true
+ # [Experimental] resize method for srcset attribute in optimizeImages, more info: https://gohugo.io/content-management/image-processing/#image-processing-options
+ srcsetSmallResizeMethod = "700x webp Lanczos q75"
+ srcsetDefaultResizeMethod = "1200x webp Lanczos q75"
+ srcsetLargeResizeMethod = "2000x webp Lanczos q75"
# License information
- license = 'CC BY-NC 4.0'
+ license = 'CC BY-NC 4.0'
+ # Author config
+ [params.author]
+ name = "kazu634"
+ email = "kazu634@kazu634.com"
+ link = ""
+ avatar = ""
+ gravatarEmail = ""
+ # App icon config
[params.app]
# optional site title override for the app when added to an iOS home screen or Android launcher
title = "@kazu634 Blog"
@@ -49,7 +64,7 @@ theme = "DoIt"
# Search config
[params.search]
enable = true
- # type of search engine ("lunr", "algolia", "fuse")
+ # type of search engine ("algolia", "fuse")
type = "fuse"
# max index length of the chunked content
contentLength = 4000
@@ -63,6 +78,10 @@ theme = "DoIt"
highlightTag = "em"
# whether to use the absolute URL based on the baseURL in search index
absoluteURL = false
+ [params.search.algolia]
+ index = ""
+ appID = ""
+ searchKey = ""
[params.search.fuse]
# https://fusejs.io/api/options.html
isCaseSensitive = false
@@ -74,12 +93,14 @@ theme = "DoIt"
ignoreLocation = false
useExtendedSearch = false
ignoreFieldNorm = false
+
+ [params.image]
+ # cache remote images for better optimisations
+ cacheRemote = true
+ # Image resizing and optimisation
+ optimise = true
# Header config
[params.header]
- # desktop header mode ("fixed", "normal", "auto")
- desktopMode = "fixed"
- # mobile header mode ("fixed", "normal", "auto")
- mobileMode = "auto"
# Theme change mode
# theme change mode ("switch", "select")
themeChangeMode = "select"
@@ -104,7 +125,7 @@ theme = "DoIt"
# whether to show Hugo and theme info
hugo = true
# Hosted on (HTML format is supported)
- # GitHub Pages
+ # GitHub Pages
hostedOn = ''
# whether to show copyright info
copyright = true
@@ -115,7 +136,7 @@ theme = "DoIt"
# ICP info only in China (HTML format is supported)
icp = ""
# license info (HTML format is supported)
- license = 'CC BY-NC 4.0'
+ license = 'CC BY-NC 4.0'
# Section (all posts) page config
[params.section]
@@ -154,6 +175,8 @@ theme = "DoIt"
# Place your avatar file under static or assets directory
# The filepath is relative to the static or assets directory
avatarURL = "/images/profile.png"
+ # URL the avatar links to
+ avatarLinkURL = ""
# title shown in home page (HTML format is supported)
title = "Kazuhiro Musashi"
# subtitle shown in home page
@@ -175,59 +198,78 @@ theme = "DoIt"
# Social config about the author
[params.social]
+ Twitter = "MusashiKazuhiro"
+ GitHub = "kazu634"
+ Linkedin = "一弘-武蔵-b90bba54"
+ Instagram = ""
+ Facebook = "kazu634"
+ Telegram = ""
+ Medium = ""
+ Gitlab = ""
+ Youtubelegacy = ""
+ Youtubecustom = ""
+ Youtubechannel = "UC1acPRvMPda9eL1JqlO-_rA"
+ Tumblr = ""
+ Quora = ""
+ Keybase = ""
+ Pinterest = ""
+ Reddit = ""
+ Codepen = ""
+ FreeCodeCamp = ""
+ Bitbucket = ""
+ Stackoverflow = ""
+ Weibo = ""
+ Odnoklassniki = ""
+ VK = ""
+ Flickr = "42332031@N02"
+ Xing = ""
+ Snapchat = ""
+ Soundcloud = ""
+ Spotify = ""
+ Bandcamp = ""
+ Paypal = ""
+ Fivehundredpx = ""
+ Mix = ""
+ Goodreads = ""
+ Lastfm = ""
+ Foursquare = "musashikazuhiro"
+ Hackernews = ""
+ Kickstarter = ""
+ Patreon = ""
+ Steam = ""
+ Twitch = ""
+ Strava = "89291248"
+ Skype = ""
+ Whatsapp = ""
+ Zhihu = ""
+ Douban = ""
+ Angellist = ""
+ Slidershare = ""
+ Jsfiddle = ""
+ Deviantart = ""
+ Behance = ""
+ Dribbble = ""
+ Wordpress = ""
+ Vine = ""
+ Googlescholar = ""
+ Researchgate = ""
+ Mastodon = "@kazu634"
+ Thingiverse = ""
+ Devto = ""
+ Gitea = "https://gitea.kazu634.com/kazu634"
+ XMPP = ""
+ Matrix = ""
+ Bilibili = ""
+ ORCID = ""
+ Liberapay = ""
+ Ko-Fi = ""
+ BuyMeACoffee = ""
+ Linktree = ""
+ QQ = ""
+ QQGroup = ""
+ Email = "misc+blog@kazu634.com"
RSS = true #
- [params.social.Twitter]
- weight = 1
- id = "MusashiKazuhiro"
- [params.social.Mastodon]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 2
- # your social ID
- id = "@kazu634"
- # prefix of your social link
- prefix = "https://mstdn.guru/"
- # content hovering on the icon
- title = "Mastodon"
- [params.social.Facebook]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 3
- # your social ID
- id = "kazu634"
- [params.social.Linkedin]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 4
- # your social ID
- id = "一弘-武蔵-b90bba54"
- [params.social.Github]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 5
- # your social ID
- id = "kazu634"
- [params.social.Gitea]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 6
- # your social ID
- id = "https://gitea.kazu634.com/kazu634"
- [params.social.Foursquare]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 7
- # your social ID
- id = "musashikazuhiro"
- [params.social.Strava]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 8
- # your social ID
- id = "89291248"
- [params.social.Flickr]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 9
- # your social ID
- id = "42332031@N02"
- [params.social.Youtubechannel]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 10
- # your social ID
- id = "UC1acPRvMPda9eL1JqlO-_rA"
+
# Page config
[params.page]
# whether to hide a page from home page
@@ -242,8 +284,6 @@ theme = "DoIt"
ruby = true
# whether to enable the fraction extended syntax
fraction = true
- # whether to enable the fontawesome extended syntax
- fontawesome = true
# whether to show link to Raw Markdown content of the content
linkToMarkdown = false
# configure the link to the source file of the post
@@ -259,10 +299,14 @@ theme = "DoIt"
# "https://github.com/user/repo/issues/new?title=[bug]%20{title}&body=|Field|Value|%0A|-|-|%0A|Title|{title}|%0A|Url|{url}|%0A|Filename|https://github.com/user/repo/blob/main/{path}|"
# whether to show the full text content in RSS
rssFullText = false
- # page layout style ("normal", "wide")
- pageStyle = "wide"
# whether to enable series navigation
seriesNavigation = true
+ # whether to enable last modified time
+ enableLastMod = true
+ # whether to enable word count
+ enableWordCount = false
+ # whether to enable reading time estimation
+ enableReadingTime = false
# outdated article reminder config
[params.page.outdatedArticleReminder]
enable = false
@@ -291,12 +335,18 @@ theme = "DoIt"
copyTex = true
# KaTeX extension mhchem
mhchem = true
+ # Use MathJax instead of KaTeX
+ mathjax = false
# Code config
[params.page.code]
- # whether to show the copy button of the code block
- copy = true
# the maximum number of lines of displayed code by default
maxShownLines = 10
+ # whether to enable line numbers in the code block
+ lineNos = true
+ # whether to enable line wrapping in the code block
+ wrap = true
+ # whether to display the header in the code block
+ header = true
# Table config
[params.page.table]
# whether to enable sorting in the tables
@@ -322,10 +372,40 @@ theme = "DoIt"
enable = true
Twitter = true
Facebook = true
- Whatsapp = true
+ Linkedin = false
+ Whatsapp = false
+ Pinterest = false
+ Tumblr = false
+ HackerNews = false
+ Reddit = false
+ VK = false
+ Buffer = false
+ Xing = false
Line = true
- Pocket = true
- Trello = true
+ Instapaper = false
+ Pocket = false
+ Digg = false
+ Stumbleupon = false
+ Flipboard = false
+ Weibo = true
+ Renren = false
+ Myspace = false
+ Blogger = false
+ Baidu = false
+ Odnoklassniki = false
+ Evernote = false
+ Skype = false
+ Trello = false
+ Mix = false
+ Mastodon = false
+ # server for PlantUML online rendering
+ [params.page.plantuml]
+ server = "https://www.plantuml.com/plantuml"
+
+ # instant.page config
+ [params.page.instantpage]
+ enable = false
+
# Comment config
[params.page.comment]
enable = false
@@ -334,7 +414,133 @@ theme = "DoIt"
#
enable = false
# Disqus shortname to use Disqus in posts
- shortname = "blog-kazu634"
+ shortname = ""
+ # Gitalk comment config
+ [params.page.comment.gitalk]
+ #
+ enable = false
+ owner = ""
+ repo = ""
+ clientId = ""
+ clientSecret = ""
+ # Valine comment config
+ [params.page.comment.valine]
+ enable = false
+ appId = ""
+ appKey = ""
+ placeholder = ""
+ avatar = "mp"
+ meta= ""
+ pageSize = 10
+ lang = ""
+ visitor = true
+ recordIP = true
+ highlight = true
+ enableQQ = false
+ serverURLs = ""
+ # emoji data file name, default is "google.yml"
+ # ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
+ # located in "themes/DoIt/assets/data/emoji/" directory
+ # you can store your own data files in the same path under your project:
+ # "assets/data/emoji/"
+ emoji = ""
+ # Waline comment config
+ [params.page.comment.waline]
+ #
+ enable = false
+ serverURL = ""
+ pageview = true
+ comment = true
+ # emoji = ['https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo']
+ # meta = ['nick', 'mail', 'link']
+ # requiredMeta = []
+ # login = 'enable'
+ # wordLimit = 0
+ # pageSize = 10
+ # imageUploader = false
+ # highlighter = false
+ # texRenderer = false
+ # Facebook comment config
+ [params.page.comment.facebook]
+ enable = false
+ width = "100%"
+ numPosts = 10
+ appId = ""
+ languageCode = ""
+ # Telegram comments config
+ [params.page.comment.telegram]
+ enable = false
+ siteID = ""
+ limit = 5
+ height = ""
+ color = ""
+ colorful = true
+ dislikes = false
+ outlined = false
+ dark = false
+ # Commento comment config
+ [params.page.comment.commento]
+ enable = false
+ # Utterances comment config
+ [params.page.comment.utterances]
+ enable = false
+ # owner/repo
+ repo = ""
+ issueTerm = "pathname"
+ label = ""
+ lightTheme = "github-light"
+ darkTheme = "github-dark"
+ # Twikoo comment config
+ [params.page.comment.twikoo]
+ enable = false
+ envId = ""
+ region = ""
+ path = ""
+ cloudbase = true # boolean : true / false. #If you deploy your Twikoo on CloudBase, set it to true.
+ visitor = true
+ commentCount = true
+ # Vssue comment config
+ [params.page.comment.vssue]
+ enable = false
+ platform = "" # ("bitbucket", "gitea", "gitee", "github", "gitlab")
+ owner = ""
+ repo = ""
+ clientId = ""
+ clientSecret = ""
+ # Remark42 comment config
+ [params.page.comment.remark42]
+ enable = false
+ host = ""
+ site_id = ""
+ max_shown_comments = 15
+ show_email_subscription = true
+ simple_view = false
+ # giscus comment config
+ [params.page.comment.giscus]
+ enable = false
+ # owner/repo
+ dataRepo = ""
+ dataRepoId = ""
+ dataCategory = ""
+ dataCategoryId = ""
+ dataMapping = "pathname"
+ dataReactionsEnabled = "1"
+ dataEmitMetadata = "0"
+ dataInputPosition = "bottom"
+ lightTheme = "light"
+ darkTheme = "dark"
+ dataLang = "en"
+ dataLoading = "lazy"
+ # artalk comment config
+ [params.page.comment.artalk]
+ enable = false
+ server = ""
+ site = ""
+ lite = false
+ katex = false
+ lightbox = false
+ pageview = true
+ commentCount = true
# Third-party library config
[params.page.library]
[params.page.library.css]
@@ -371,6 +577,7 @@ theme = "DoIt"
enable = false
count = 5
+
# Sponsor config
[params.sponsor]
enable = false
@@ -405,19 +612,43 @@ theme = "DoIt"
image = ""
# thumbnail URL
thumbnailUrl = ""
+ #
+ # alternate site name in Google search result
+ alternateName = [""]
# Analytics config
[params.analytics]
- enable = true
+ enable = false
# Google Analytics
[params.analytics.google]
- id = "UA-57665492-1"
+ id = ""
# whether to anonymize IP
anonymizeIP = true
+ # Fathom Analytics
+ [params.analytics.fathom]
+ id = ""
+ # server url for your tracker if you're self hosting
+ server = ""
+ # Baidu Analytics
+ [params.analytics.baidu]
+ id = ""
+ # Umami Analytics
+ [params.analytics.umami]
+ data_website_id = ""
+ src = ""
+ data_host_url = ""
+ data_domains = ""
+ # Plausible Analytics
+ [params.analytics.plausible]
+ data_domain = ""
+ src = ""
+ # Cloudflare Analytics
+ [params.analytics.cloudflare]
+ token = ""
# Cookie consent config
[params.cookieconsent]
- enable = false
+ enable = true
# text strings used for Cookie consent banner
[params.cookieconsent.content]
message = ""
@@ -435,10 +666,9 @@ theme = "DoIt"
# Compatibility config
[params.compatibility]
- # whether to use Polyfill.io to be compatible with older browsers
+ # whether to use Polyfill.io on cdnjs to be compatible with older browsers
+ # https://blog.cloudflare.com/polyfill-io-now-available-on-cdnjs-reduce-your-supply-chain-risk
polyfill = false
- # whether to use object-fit-images to be compatible with older browsers
- objectFit = false
# Markup related config in Hugo
[markup]
@@ -469,14 +699,6 @@ theme = "DoIt"
startLevel = 2
endLevel = 6
-# Author config
-[author]
- name = "kazu634"
- email = "simoom634@yahoo.co.jp"
- link = ""
- avatar = ""
- gravatarEmail = ""
-
# Sitemap config
[sitemap]
changefreq = "weekly"
@@ -485,14 +707,16 @@ theme = "DoIt"
# Permalinks config
[Permalinks]
-# posts = ":year/:filename"
+ posts = ":year/:contentbasename"
+ # posts = ":year/:month/:contentbasename"
+ # posts = ":contentbasename"
# Privacy config
[privacy]
# privacy of the Google Analytics (replaced by params.analytics.google)
[privacy.googleAnalytics]
# ...
- [privacy.twitter]
+ [privacy.x]
enableDNT = true
[privacy.youtube]
privacyEnhanced = true
@@ -515,7 +739,6 @@ theme = "DoIt"
page = ["HTML", "MarkDown"]
section = ["HTML", "RSS"]
taxonomy = ["HTML", "RSS"]
- taxonomyTerm = ["HTML"]
# Options for taxonomies
[taxonomies]
@@ -524,7 +747,6 @@ category = "categories"
tag = "tags"
series = "series"
-
[menu]
[[menu.main]]
identifier = "posts"
@@ -537,17 +759,6 @@ series = "series"
# title will be shown when you hover on this menu link
title = ""
weight = 1
- [[menu.main]]
- identifier = "photos"
- # you can add extra information before the name (HTML format is supported), such as icons
- pre = ""
- # you can add extra information after the name (HTML format is supported), such as icons
- post = ""
- name = "Photos"
- url = "/photos/"
- # title will be shown when you hover on this menu link
- title = ""
- weight = 2
[[menu.main]]
identifier = "tags"
pre = ""
@@ -555,7 +766,7 @@ series = "series"
name = "Tags"
url = "/tags/"
title = ""
- weight = 3
+ weight = 2
[[menu.main]]
identifier = "categories"
pre = ""
@@ -563,5 +774,5 @@ series = "series"
name = "Categories"
url = "/categories/"
title = ""
- weight = 4
+ weight = 3
diff --git a/config/staging/config.toml b/config/staging/config.toml
index f309a7a..57b6c18 100644
--- a/config/staging/config.toml
+++ b/config/staging/config.toml
@@ -11,11 +11,11 @@ theme = "DoIt"
[params]
# DoIt theme version
- version = "0.2.X"
+ version = "0.4.X"
# website title
title = "His greatness lies in his sense of responsibilities"
# site description
- description = "@kazu634のブログです"
+ description = "kazu634のブログです"
# site keywords
keywords = ["Tech", "Hugo"]
# site default theme ("light", "dark", "black", "auto")
@@ -31,9 +31,24 @@ theme = "DoIt"
images = ["/images/profile.png"]
# enable PWA support
enablePWA = false
- # App icon config
+ # [Experimental] cache remote images in markdown, more info: https://github.com/HEIGE-PCloud/DoIt/pull/860#issue-1574342372
+ cacheRemoteImages = true
+ # [Experimental] generate image srcset attribute with hugo image processing feature.
+ optimizeImages = true
+ # [Experimental] resize method for srcset attribute in optimizeImages, more info: https://gohugo.io/content-management/image-processing/#image-processing-options
+ srcsetSmallResizeMethod = "700x webp Lanczos q75"
+ srcsetDefaultResizeMethod = "1200x webp Lanczos q75"
+ srcsetLargeResizeMethod = "2000x webp Lanczos q75"
# License information
- license = 'CC BY-NC 4.0'
+ license = 'CC BY-NC 4.0'
+ # Author config
+ [params.author]
+ name = "kazu634"
+ email = "kazu634@kazu634.com"
+ link = ""
+ avatar = ""
+ gravatarEmail = ""
+ # App icon config
[params.app]
# optional site title override for the app when added to an iOS home screen or Android launcher
title = "@kazu634 Blog"
@@ -49,7 +64,7 @@ theme = "DoIt"
# Search config
[params.search]
enable = true
- # type of search engine ("lunr", "algolia", "fuse")
+ # type of search engine ("algolia", "fuse")
type = "fuse"
# max index length of the chunked content
contentLength = 4000
@@ -63,6 +78,10 @@ theme = "DoIt"
highlightTag = "em"
# whether to use the absolute URL based on the baseURL in search index
absoluteURL = false
+ [params.search.algolia]
+ index = ""
+ appID = ""
+ searchKey = ""
[params.search.fuse]
# https://fusejs.io/api/options.html
isCaseSensitive = false
@@ -74,12 +93,14 @@ theme = "DoIt"
ignoreLocation = false
useExtendedSearch = false
ignoreFieldNorm = false
+
+ [params.image]
+ # cache remote images for better optimisations
+ cacheRemote = true
+ # Image resizing and optimisation
+ optimise = true
# Header config
[params.header]
- # desktop header mode ("fixed", "normal", "auto")
- desktopMode = "fixed"
- # mobile header mode ("fixed", "normal", "auto")
- mobileMode = "auto"
# Theme change mode
# theme change mode ("switch", "select")
themeChangeMode = "select"
@@ -104,7 +125,7 @@ theme = "DoIt"
# whether to show Hugo and theme info
hugo = true
# Hosted on (HTML format is supported)
- # GitHub Pages
+ # GitHub Pages
hostedOn = ''
# whether to show copyright info
copyright = true
@@ -115,7 +136,7 @@ theme = "DoIt"
# ICP info only in China (HTML format is supported)
icp = ""
# license info (HTML format is supported)
- license = 'CC BY-NC 4.0'
+ license = 'CC BY-NC 4.0'
# Section (all posts) page config
[params.section]
@@ -154,6 +175,8 @@ theme = "DoIt"
# Place your avatar file under static or assets directory
# The filepath is relative to the static or assets directory
avatarURL = "/images/profile.png"
+ # URL the avatar links to
+ avatarLinkURL = ""
# title shown in home page (HTML format is supported)
title = "Kazuhiro Musashi"
# subtitle shown in home page
@@ -175,59 +198,78 @@ theme = "DoIt"
# Social config about the author
[params.social]
+ Twitter = "MusashiKazuhiro"
+ GitHub = "kazu634"
+ Linkedin = "一弘-武蔵-b90bba54"
+ Instagram = ""
+ Facebook = "kazu634"
+ Telegram = ""
+ Medium = ""
+ Gitlab = ""
+ Youtubelegacy = ""
+ Youtubecustom = ""
+ Youtubechannel = "UC1acPRvMPda9eL1JqlO-_rA"
+ Tumblr = ""
+ Quora = ""
+ Keybase = ""
+ Pinterest = ""
+ Reddit = ""
+ Codepen = ""
+ FreeCodeCamp = ""
+ Bitbucket = ""
+ Stackoverflow = ""
+ Weibo = ""
+ Odnoklassniki = ""
+ VK = ""
+ Flickr = "42332031@N02"
+ Xing = ""
+ Snapchat = ""
+ Soundcloud = ""
+ Spotify = ""
+ Bandcamp = ""
+ Paypal = ""
+ Fivehundredpx = ""
+ Mix = ""
+ Goodreads = ""
+ Lastfm = ""
+ Foursquare = "musashikazuhiro"
+ Hackernews = ""
+ Kickstarter = ""
+ Patreon = ""
+ Steam = ""
+ Twitch = ""
+ Strava = "89291248"
+ Skype = ""
+ Whatsapp = ""
+ Zhihu = ""
+ Douban = ""
+ Angellist = ""
+ Slidershare = ""
+ Jsfiddle = ""
+ Deviantart = ""
+ Behance = ""
+ Dribbble = ""
+ Wordpress = ""
+ Vine = ""
+ Googlescholar = ""
+ Researchgate = ""
+ Mastodon = "@kazu634"
+ Thingiverse = ""
+ Devto = ""
+ Gitea = "https://gitea.kazu634.com/kazu634"
+ XMPP = ""
+ Matrix = ""
+ Bilibili = ""
+ ORCID = ""
+ Liberapay = ""
+ Ko-Fi = ""
+ BuyMeACoffee = ""
+ Linktree = ""
+ QQ = ""
+ QQGroup = ""
+ Email = "misc+blog@kazu634.com"
RSS = true #
- [params.social.Twitter]
- weight = 1
- id = "MusashiKazuhiro"
- [params.social.Mastodon]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 2
- # your social ID
- id = "@kazu634"
- # prefix of your social link
- prefix = "https://mstdn.guru/"
- # content hovering on the icon
- title = "Mastodon"
- [params.social.Facebook]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 3
- # your social ID
- id = "kazu634"
- [params.social.Linkedin]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 4
- # your social ID
- id = "一弘-武蔵-b90bba54"
- [params.social.Github]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 5
- # your social ID
- id = "kazu634"
- [params.social.Gitea]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 6
- # your social ID
- id = "https://gitea.kazu634.com/kazu634"
- [params.social.Foursquare]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 7
- # your social ID
- id = "musashikazuhiro"
- [params.social.Strava]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 8
- # your social ID
- id = "89291248"
- [params.social.Flickr]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 9
- # your social ID
- id = "42332031@N02"
- [params.social.Youtubechannel]
- # weight when arranging icons (the greater the weight, the later the icon is positioned)
- weight = 10
- # your social ID
- id = "UC1acPRvMPda9eL1JqlO-_rA"
+
# Page config
[params.page]
# whether to hide a page from home page
@@ -242,8 +284,6 @@ theme = "DoIt"
ruby = true
# whether to enable the fraction extended syntax
fraction = true
- # whether to enable the fontawesome extended syntax
- fontawesome = true
# whether to show link to Raw Markdown content of the content
linkToMarkdown = false
# configure the link to the source file of the post
@@ -259,10 +299,14 @@ theme = "DoIt"
# "https://github.com/user/repo/issues/new?title=[bug]%20{title}&body=|Field|Value|%0A|-|-|%0A|Title|{title}|%0A|Url|{url}|%0A|Filename|https://github.com/user/repo/blob/main/{path}|"
# whether to show the full text content in RSS
rssFullText = false
- # page layout style ("normal", "wide")
- pageStyle = "wide"
# whether to enable series navigation
seriesNavigation = true
+ # whether to enable last modified time
+ enableLastMod = true
+ # whether to enable word count
+ enableWordCount = false
+ # whether to enable reading time estimation
+ enableReadingTime = false
# outdated article reminder config
[params.page.outdatedArticleReminder]
enable = false
@@ -291,12 +335,18 @@ theme = "DoIt"
copyTex = true
# KaTeX extension mhchem
mhchem = true
+ # Use MathJax instead of KaTeX
+ mathjax = false
# Code config
[params.page.code]
- # whether to show the copy button of the code block
- copy = true
# the maximum number of lines of displayed code by default
maxShownLines = 10
+ # whether to enable line numbers in the code block
+ lineNos = true
+ # whether to enable line wrapping in the code block
+ wrap = true
+ # whether to display the header in the code block
+ header = true
# Table config
[params.page.table]
# whether to enable sorting in the tables
@@ -322,10 +372,40 @@ theme = "DoIt"
enable = true
Twitter = true
Facebook = true
- Whatsapp = true
+ Linkedin = false
+ Whatsapp = false
+ Pinterest = false
+ Tumblr = false
+ HackerNews = false
+ Reddit = false
+ VK = false
+ Buffer = false
+ Xing = false
Line = true
- Pocket = true
- Trello = true
+ Instapaper = false
+ Pocket = false
+ Digg = false
+ Stumbleupon = false
+ Flipboard = false
+ Weibo = true
+ Renren = false
+ Myspace = false
+ Blogger = false
+ Baidu = false
+ Odnoklassniki = false
+ Evernote = false
+ Skype = false
+ Trello = false
+ Mix = false
+ Mastodon = false
+ # server for PlantUML online rendering
+ [params.page.plantuml]
+ server = "https://www.plantuml.com/plantuml"
+
+ # instant.page config
+ [params.page.instantpage]
+ enable = false
+
# Comment config
[params.page.comment]
enable = false
@@ -334,7 +414,133 @@ theme = "DoIt"
#
enable = false
# Disqus shortname to use Disqus in posts
- shortname = "blog-kazu634"
+ shortname = ""
+ # Gitalk comment config
+ [params.page.comment.gitalk]
+ #
+ enable = false
+ owner = ""
+ repo = ""
+ clientId = ""
+ clientSecret = ""
+ # Valine comment config
+ [params.page.comment.valine]
+ enable = false
+ appId = ""
+ appKey = ""
+ placeholder = ""
+ avatar = "mp"
+ meta= ""
+ pageSize = 10
+ lang = ""
+ visitor = true
+ recordIP = true
+ highlight = true
+ enableQQ = false
+ serverURLs = ""
+ # emoji data file name, default is "google.yml"
+ # ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
+ # located in "themes/DoIt/assets/data/emoji/" directory
+ # you can store your own data files in the same path under your project:
+ # "assets/data/emoji/"
+ emoji = ""
+ # Waline comment config
+ [params.page.comment.waline]
+ #
+ enable = false
+ serverURL = ""
+ pageview = true
+ comment = true
+ # emoji = ['https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo']
+ # meta = ['nick', 'mail', 'link']
+ # requiredMeta = []
+ # login = 'enable'
+ # wordLimit = 0
+ # pageSize = 10
+ # imageUploader = false
+ # highlighter = false
+ # texRenderer = false
+ # Facebook comment config
+ [params.page.comment.facebook]
+ enable = false
+ width = "100%"
+ numPosts = 10
+ appId = ""
+ languageCode = ""
+ # Telegram comments config
+ [params.page.comment.telegram]
+ enable = false
+ siteID = ""
+ limit = 5
+ height = ""
+ color = ""
+ colorful = true
+ dislikes = false
+ outlined = false
+ dark = false
+ # Commento comment config
+ [params.page.comment.commento]
+ enable = false
+ # Utterances comment config
+ [params.page.comment.utterances]
+ enable = false
+ # owner/repo
+ repo = ""
+ issueTerm = "pathname"
+ label = ""
+ lightTheme = "github-light"
+ darkTheme = "github-dark"
+ # Twikoo comment config
+ [params.page.comment.twikoo]
+ enable = false
+ envId = ""
+ region = ""
+ path = ""
+ cloudbase = true # boolean : true / false. #If you deploy your Twikoo on CloudBase, set it to true.
+ visitor = true
+ commentCount = true
+ # Vssue comment config
+ [params.page.comment.vssue]
+ enable = false
+ platform = "" # ("bitbucket", "gitea", "gitee", "github", "gitlab")
+ owner = ""
+ repo = ""
+ clientId = ""
+ clientSecret = ""
+ # Remark42 comment config
+ [params.page.comment.remark42]
+ enable = false
+ host = ""
+ site_id = ""
+ max_shown_comments = 15
+ show_email_subscription = true
+ simple_view = false
+ # giscus comment config
+ [params.page.comment.giscus]
+ enable = false
+ # owner/repo
+ dataRepo = ""
+ dataRepoId = ""
+ dataCategory = ""
+ dataCategoryId = ""
+ dataMapping = "pathname"
+ dataReactionsEnabled = "1"
+ dataEmitMetadata = "0"
+ dataInputPosition = "bottom"
+ lightTheme = "light"
+ darkTheme = "dark"
+ dataLang = "en"
+ dataLoading = "lazy"
+ # artalk comment config
+ [params.page.comment.artalk]
+ enable = false
+ server = ""
+ site = ""
+ lite = false
+ katex = false
+ lightbox = false
+ pageview = true
+ commentCount = true
# Third-party library config
[params.page.library]
[params.page.library.css]
@@ -371,6 +577,7 @@ theme = "DoIt"
enable = false
count = 5
+
# Sponsor config
[params.sponsor]
enable = false
@@ -405,19 +612,43 @@ theme = "DoIt"
image = ""
# thumbnail URL
thumbnailUrl = ""
+ #
+ # alternate site name in Google search result
+ alternateName = [""]
# Analytics config
[params.analytics]
- enable = true
+ enable = false
# Google Analytics
[params.analytics.google]
- id = "UA-57665492-1"
+ id = ""
# whether to anonymize IP
anonymizeIP = true
+ # Fathom Analytics
+ [params.analytics.fathom]
+ id = ""
+ # server url for your tracker if you're self hosting
+ server = ""
+ # Baidu Analytics
+ [params.analytics.baidu]
+ id = ""
+ # Umami Analytics
+ [params.analytics.umami]
+ data_website_id = ""
+ src = ""
+ data_host_url = ""
+ data_domains = ""
+ # Plausible Analytics
+ [params.analytics.plausible]
+ data_domain = ""
+ src = ""
+ # Cloudflare Analytics
+ [params.analytics.cloudflare]
+ token = ""
# Cookie consent config
[params.cookieconsent]
- enable = false
+ enable = true
# text strings used for Cookie consent banner
[params.cookieconsent.content]
message = ""
@@ -435,10 +666,9 @@ theme = "DoIt"
# Compatibility config
[params.compatibility]
- # whether to use Polyfill.io to be compatible with older browsers
+ # whether to use Polyfill.io on cdnjs to be compatible with older browsers
+ # https://blog.cloudflare.com/polyfill-io-now-available-on-cdnjs-reduce-your-supply-chain-risk
polyfill = false
- # whether to use object-fit-images to be compatible with older browsers
- objectFit = false
# Markup related config in Hugo
[markup]
@@ -469,14 +699,6 @@ theme = "DoIt"
startLevel = 2
endLevel = 6
-# Author config
-[author]
- name = "kazu634"
- email = "simoom634@yahoo.co.jp"
- link = ""
- avatar = ""
- gravatarEmail = ""
-
# Sitemap config
[sitemap]
changefreq = "weekly"
@@ -485,14 +707,16 @@ theme = "DoIt"
# Permalinks config
[Permalinks]
-# posts = ":year/:filename"
+ posts = ":year/:contentbasename"
+ # posts = ":year/:month/:contentbasename"
+ # posts = ":contentbasename"
# Privacy config
[privacy]
# privacy of the Google Analytics (replaced by params.analytics.google)
[privacy.googleAnalytics]
# ...
- [privacy.twitter]
+ [privacy.x]
enableDNT = true
[privacy.youtube]
privacyEnhanced = true
@@ -515,7 +739,6 @@ theme = "DoIt"
page = ["HTML", "MarkDown"]
section = ["HTML", "RSS"]
taxonomy = ["HTML", "RSS"]
- taxonomyTerm = ["HTML"]
# Options for taxonomies
[taxonomies]
@@ -524,7 +747,6 @@ category = "categories"
tag = "tags"
series = "series"
-
[menu]
[[menu.main]]
identifier = "posts"
@@ -537,17 +759,6 @@ series = "series"
# title will be shown when you hover on this menu link
title = ""
weight = 1
- [[menu.main]]
- identifier = "photos"
- # you can add extra information before the name (HTML format is supported), such as icons
- pre = ""
- # you can add extra information after the name (HTML format is supported), such as icons
- post = ""
- name = "Photos"
- url = "/photos/"
- # title will be shown when you hover on this menu link
- title = ""
- weight = 2
[[menu.main]]
identifier = "tags"
pre = ""
@@ -555,7 +766,7 @@ series = "series"
name = "Tags"
url = "/tags/"
title = ""
- weight = 3
+ weight = 2
[[menu.main]]
identifier = "categories"
pre = ""
@@ -563,5 +774,5 @@ series = "series"
name = "Categories"
url = "/categories/"
title = ""
- weight = 4
+ weight = 3
diff --git a/content/photos/2022/2022-11-20-ueno-park.md b/content/photos/2022/2022-11-20-ueno-park.md
deleted file mode 100644
index 9dbd790..0000000
--- a/content/photos/2022/2022-11-20-ueno-park.md
+++ /dev/null
@@ -1,16 +0,0 @@
-+++
-title = "秋の上野公園"
-date = 2022-11-19T17:21:00+09:00
-lastmod = 2022-11-20T18:21:00+09:00
-description = "秋の上野公園を訪ねてきました"
-tags = ["上野"]
-author = "kazu634"
-categories = ["写真"]
-camera = "Sony a6400"
-lens = "E 35mm F1.8 OSS"
-location = "上野公園"
-images = ["https://live.staticflickr.com/65535/52510534640_3ba9395a29_b.jpg"]
-+++
-
-
-
diff --git a/content/photos/2022/2022-11-23-kamata-barbon-road.md b/content/photos/2022/2022-11-23-kamata-barbon-road.md
deleted file mode 100644
index 33c800e..0000000
--- a/content/photos/2022/2022-11-23-kamata-barbon-road.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "ウィスキー"
-date = 2022-11-23T21:21:00+09:00
-lastmod = 2022-11-23T21:21:00+09:00
-description = "竹鶴だよ"
-tags = ["蒲田"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a6400"
-lens = "E 35mm F1.8 OSS"
-location = "蒲田 バーボンロード"
-images = ["ogp/2022-11-23-kamata-barbon-road.webp"]
-+++
-
-
diff --git a/content/photos/2022/2022-11-27-temizuya.md b/content/photos/2022/2022-11-27-temizuya.md
deleted file mode 100644
index 6e9960b..0000000
--- a/content/photos/2022/2022-11-27-temizuya.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "手水舎"
-date = 2022-11-26T21:21:00+09:00
-lastmod = 2022-11-26T21:21:00+09:00
-description = "神社の手を洗うところを「手水舎」と呼びます"
-tags = ["武蔵新田"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a6400"
-lens = "E 35mm F1.8 OSS"
-location = "新田神社"
-images = ["ogp/2022-11-27-temizuya.webp"]
-+++
-
-
diff --git a/content/photos/2022/2022-12-04-totoro.md b/content/photos/2022/2022-12-04-totoro.md
deleted file mode 100644
index 68e4247..0000000
--- a/content/photos/2022/2022-12-04-totoro.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "トトロ"
-date = 2022-12-04T01:21:00+09:00
-lastmod = 2022-12-04T01:21:00+09:00
-description = "トトロだよ"
-tags = ["武蔵新田"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a6400"
-lens = "E 35mm F1.8 OSS"
-location = "お家"
-images = ["ogp/2022-12-04-totoro.webp"]
-+++
-
-
diff --git a/content/photos/2022/2022-12-05-eel.md b/content/photos/2022/2022-12-05-eel.md
deleted file mode 100644
index 242b10c..0000000
--- a/content/photos/2022/2022-12-05-eel.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "うな重"
-date = 2022-12-05T21:21:00+09:00
-lastmod = 2022-12-05T21:21:00+09:00
-description = "うな重を食べました"
-tags = ["蒲田"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Apple iPhone 12 Pro"
-lens = "Back Camera"
-location = "寿々喜"
-images = ["ogp/2022-12-05-eel.webp"]
-+++
-
-
diff --git a/content/photos/2022/2022-12-12-kintai-bridge.md b/content/photos/2022/2022-12-12-kintai-bridge.md
deleted file mode 100644
index 519b94b..0000000
--- a/content/photos/2022/2022-12-12-kintai-bridge.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "山と川と橋と"
-date = 2022-12-12T20:21:00+09:00
-lastmod = 2022-12-12T20:21:00+09:00
-description = "岩国にある有名な橋です"
-tags = ["岩国"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a6400"
-lens = "E 35mm F1.8 OSS"
-location = "錦帯橋"
-images = ["ogp/2022-12-12-kintai-bridge.webp"]
-+++
-
-
diff --git a/content/photos/2022/2022-12-14-reflection-of-river.md b/content/photos/2022/2022-12-14-reflection-of-river.md
deleted file mode 100644
index 7f78be7..0000000
--- a/content/photos/2022/2022-12-14-reflection-of-river.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "川面に映るホテル"
-date = 2022-12-14T20:11:00+09:00
-lastmod = 2022-12-14T20:11:00+09:00
-description = "錦帯橋の近くにあるホテルが川の表面に写っています"
-tags = ["岩国"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a6400"
-lens = "E 35mm F1.8 OSS"
-location = "錦帯橋"
-images = ["ogp/2022-12-14-reflection-of-river.webp"]
-+++
-
-
diff --git a/content/photos/2022/2022-12-21-yayoi-tengu-beppu.md b/content/photos/2022/2022-12-21-yayoi-tengu-beppu.md
deleted file mode 100644
index ec57837..0000000
--- a/content/photos/2022/2022-12-21-yayoi-tengu-beppu.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "天狗"
-date = 2022-12-21T20:11:00+09:00
-lastmod = 2022-12-21T20:11:00+09:00
-description = "別府にいる天狗さんです"
-tags = ["別府"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a6400"
-lens = "E 15mm F1.4 G"
-location = "やよい天狗"
-images = ["ogp/2022-12-21-yayoi-tengu-beppu.webp"]
-+++
-
-
diff --git a/content/photos/2022/2022-12-25-takegawara-onsen.md b/content/photos/2022/2022-12-25-takegawara-onsen.md
deleted file mode 100644
index 495c1ae..0000000
--- a/content/photos/2022/2022-12-25-takegawara-onsen.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "格式の高い湯屋"
-date = 2022-12-25T20:11:00+09:00
-lastmod = 2022-12-25T20:11:00+09:00
-description = "別府にある有名な銭湯です"
-tags = ["別府"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a6400"
-lens = "E 15mm F1.4 G"
-location = "竹瓦温泉"
-images = ["ogp/2022-12-25-takegawara-onsen.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-01-01-shiogama.md b/content/photos/2023/2023-01-01-shiogama.md
deleted file mode 100644
index 515ab08..0000000
--- a/content/photos/2023/2023-01-01-shiogama.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "鹽竈神社"
-date = 2023-01-01T12:11:00+09:00
-lastmod = 2023-01-01T12:11:00+09:00
-description = "鹽竈神社です"
-tags = ["塩竈"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a6400"
-lens = "E 35mm F1.8 G"
-location = "鹽竈神社"
-images = ["ogp/2023-01-01-shiogama.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-01-03-cat-beppu.md b/content/photos/2023/2023-01-03-cat-beppu.md
deleted file mode 100644
index 8ed6dae..0000000
--- a/content/photos/2023/2023-01-03-cat-beppu.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "お猫様"
-date = 2023-01-03T12:11:00+09:00
-lastmod = 2023-01-03T12:11:00+09:00
-description = "別府で見かけた猫ちゃんです"
-tags = ["別府"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a6400"
-lens = "E 15mm F1.4 G"
-location = "別府の居酒屋街"
-images = ["ogp/2023-01-03-cat-beppu.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-01-07-kagoshima-meizan-bori.md b/content/photos/2023/2023-01-07-kagoshima-meizan-bori.md
deleted file mode 100644
index a2f056e..0000000
--- a/content/photos/2023/2023-01-07-kagoshima-meizan-bori.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "有名な路地"
-date = 2023-01-07T12:11:00+09:00
-lastmod = 2023-01-07T12:11:00+09:00
-description = "鹿児島市内にある有名な路地"
-tags = ["鹿児島"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a6400"
-lens = "E 15mm F1.4 G"
-location = "名山堀"
-images = ["ogp/2023-01-07-kagoshima-meizan-bori.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-01-28-kamata-tires.md b/content/photos/2023/2023-01-28-kamata-tires.md
deleted file mode 100644
index adf1f5a..0000000
--- a/content/photos/2023/2023-01-28-kamata-tires.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "タイヤ公園"
-date = 2023-01-28T12:11:00+09:00
-lastmod = 2023-01-28T12:11:00+09:00
-description = "蒲田のタイヤ公園"
-tags = ["蒲田"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Ricoh GR IIIx"
-lens = "26.0 mm"
-location = "西六郷公園"
-images = ["ogp/2023-01-28-kamata-tires.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-03-06-yushima-monkey.md b/content/photos/2023/2023-03-06-yushima-monkey.md
deleted file mode 100644
index 83c3256..0000000
--- a/content/photos/2023/2023-03-06-yushima-monkey.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "お猿さん"
-date = 2023-03-06T12:11:00+09:00
-lastmod = 2023-03-06T12:11:00+09:00
-description = "湯島天神で見かけた猿回し"
-tags = ["湯島"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a6400"
-lens = "E 50mm F1.8 G"
-location = "湯島天神"
-images = ["ogp/2023-03-06-yushima-monkey.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-04-01-katsuoji.md b/content/photos/2023/2023-04-01-katsuoji.md
deleted file mode 100644
index 87e2694..0000000
--- a/content/photos/2023/2023-04-01-katsuoji.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "だるまさんの寺"
-date = 2023-04-01T12:11:00+09:00
-lastmod = 2023-04-01T12:11:00+09:00
-description = "だるまさんがたくさんいるお寺です"
-tags = ["大阪"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Ricoh GR IIIx"
-lens = "26.0 mm"
-location = "勝尾寺"
-images = ["ogp/2023-04-01-katsuoji.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-06-10-okachimachi.md b/content/photos/2023/2023-06-10-okachimachi.md
deleted file mode 100644
index af78099..0000000
--- a/content/photos/2023/2023-06-10-okachimachi.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "パンダ"
-date = 2023-06-10T12:11:00+09:00
-lastmod = 2023-06-10T12:11:00+09:00
-description = "御徒町駅のパンダ"
-tags = ["御徒町"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a7c"
-lens = "FE 55mm F1.8 ZA"
-location = "御徒町駅"
-images = ["ogp/2023-06-10-okachimachi.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-07-01-mishima-shrine.md b/content/photos/2023/2023-07-01-mishima-shrine.md
deleted file mode 100644
index ec1067c..0000000
--- a/content/photos/2023/2023-07-01-mishima-shrine.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "巫女さん"
-date = 2023-07-01T12:11:00+09:00
-lastmod = 2023-07-01T12:11:00+09:00
-description = "三嶋大社で歩いている巫女さん"
-tags = ["三島"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a7c"
-lens = "DG DN Contemporary 022"
-location = "三嶋大社"
-images = ["ogp/2023-07-01-mishima-shrine.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-08-14-onagawa.md b/content/photos/2023/2023-08-14-onagawa.md
deleted file mode 100644
index f1ee1f3..0000000
--- a/content/photos/2023/2023-08-14-onagawa.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "女川のこどもたち"
-date = 2023-08-14T12:11:00+09:00
-lastmod = 2023-08-14T12:11:00+09:00
-description = "女川港のところにあったこどもたちの像"
-tags = ["女川"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Ricoh GR IIIx"
-lens = "26.0 mm"
-location = "女川港"
-images = ["ogp/2023-08-14-onagawa.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-09-03-yamashita-park.md b/content/photos/2023/2023-09-03-yamashita-park.md
deleted file mode 100644
index fdb6bfe..0000000
--- a/content/photos/2023/2023-09-03-yamashita-park.md
+++ /dev/null
@@ -1,14 +0,0 @@
-+++
-title = "海と雲"
-date = 2023-09-03T12:11:00+09:00
-description = "山下公園から見た海と空の様子"
-tags = ["横浜"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a7c"
-lens = "16-28mm F2.8 DG DN | Contemporary"
-location = "山下公園"
-images = ["ogp/2023-09-03-yamashita-park.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-09-18-ishikiri.md b/content/photos/2023/2023-09-18-ishikiri.md
deleted file mode 100644
index 3f49e30..0000000
--- a/content/photos/2023/2023-09-18-ishikiri.md
+++ /dev/null
@@ -1,14 +0,0 @@
-+++
-title = "亀さん"
-date = 2023-09-18T13:49:10+09:00
-description = "石切神社の境内を散策して見つけました"
-tags = ["大阪"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Richo GR IIIx"
-lens = "-"
-location = "石切神社"
-images = ["ogp/2023-09-18-ishikiri.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-11-24-sendai-autumn.md b/content/photos/2023/2023-11-24-sendai-autumn.md
deleted file mode 100644
index 139ddb1..0000000
--- a/content/photos/2023/2023-11-24-sendai-autumn.md
+++ /dev/null
@@ -1,14 +0,0 @@
-+++
-title = "落ち葉と木漏れ日"
-date = 2023-11-24T14:12:00+09:00
-description = "秋の定禅寺通りの一コマです"
-tags = ["仙台"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Richo GR IIIx"
-lens = "-"
-location = "定禅寺通り"
-images = ["ogp/2023-11-24-sendai-autumn.webp"]
-+++
-
-
diff --git a/content/photos/2023/2023-12-26-khao-san-road.md b/content/photos/2023/2023-12-26-khao-san-road.md
deleted file mode 100644
index c9a7029..0000000
--- a/content/photos/2023/2023-12-26-khao-san-road.md
+++ /dev/null
@@ -1,14 +0,0 @@
-+++
-title = "カオサンロード"
-date = 2023-12-26T18:27:07+09:00
-description = "カオサンロードの起点だよ"
-tags = ["バンコク"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a7c"
-lens = "16-28mm F2.8 DG DN | Contemporary"
-location = "カオサンロード"
-images = ["ogp/2023-12-26-khao-san-road.webp"]
-+++
-
-
diff --git a/content/photos/2024/2024-01-26-manila.md b/content/photos/2024/2024-01-26-manila.md
deleted file mode 100644
index 5d5e60a..0000000
--- a/content/photos/2024/2024-01-26-manila.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "フィリピン・マニラ"
-date = 2024-01-26T12:11:00+09:00
-lastmod = 2024-01-26T12:11:00+09:00
-description = "マニラ"
-tags = ["マニラ"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Apple iPhone15"
-lens = "Back Dual Wide Camera"
-location = "マニラ"
-images = ["ogp/2024-01-26-manila.webp"]
-+++
-
-
\ No newline at end of file
diff --git a/content/photos/2024/2024-04-25-fukuoka.md b/content/photos/2024/2024-04-25-fukuoka.md
deleted file mode 100644
index a3954c8..0000000
--- a/content/photos/2024/2024-04-25-fukuoka.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "福岡・中洲にかかる橋"
-date = 2024-04-25T12:11:00+09:00
-lastmod = 2024-04-25T12:11:00+09:00
-description = "中洲にかかる橋の写真です"
-tags = ["中洲"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a7c"
-lens = "FE 35mm F1.4 GM"
-location = "中洲"
-images = ["ogp/2024-04-25-fukuoka.webp"]
-+++
-
-
\ No newline at end of file
diff --git a/content/photos/2024/2024-09-30-tohno.md b/content/photos/2024/2024-09-30-tohno.md
deleted file mode 100644
index eb7470c..0000000
--- a/content/photos/2024/2024-09-30-tohno.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "遠野の風景"
-date = 2024-09-30T12:11:00+09:00
-lastmod = 2024-09-30T12:11:00+09:00
-description = "カッパを探しに遠野に行きました"
-tags = ["遠野"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a7c"
-lens = "16-28mm F2.8 DG DN | Contemporary 022"
-location = "遠野"
-images = ["ogp/2024-09-30-tohno.webp"]
-+++
-
-
\ No newline at end of file
diff --git a/content/photos/2024/2024-11-09-mu2.md b/content/photos/2024/2024-11-09-mu2.md
deleted file mode 100644
index 16ac89a..0000000
--- a/content/photos/2024/2024-11-09-mu2.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "ミュー2"
-date = 2024-11-09T12:11:00+09:00
-lastmod = 2024-11-09T12:11:00+09:00
-description = "ポケモン工芸展を見に行きました"
-tags = ["虎ノ門"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Apple iPhone15"
-lens = "iPhone15 Back Camera"
-location = "虎ノ門ヒルズ"
-images = ["ogp/2024-11-09-mu2.webp"]
-+++
-
-
\ No newline at end of file
diff --git a/content/photos/2024/2024-11-10-kaki.md b/content/photos/2024/2024-11-10-kaki.md
deleted file mode 100644
index 97595b8..0000000
--- a/content/photos/2024/2024-11-10-kaki.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "柿"
-date = 2024-11-10T12:11:00+09:00
-lastmod = 2024-11-10T12:11:00+09:00
-description = "お家の庭の柿を撮りました"
-tags = ["多賀城"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a7c"
-lens = "FE 50mm F1.4 GM"
-location = "お家の庭"
-images = ["ogp/2024-11-10-kaki.webp"]
-+++
-
-
\ No newline at end of file
diff --git a/content/photos/2024/2024-11-12-isaribi-kesennuma.md b/content/photos/2024/2024-11-12-isaribi-kesennuma.md
deleted file mode 100644
index b046420..0000000
--- a/content/photos/2024/2024-11-12-isaribi-kesennuma.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "気仙沼の漁火"
-date = 2024-11-12T12:11:00+09:00
-lastmod = 2024-11-12T12:11:00+09:00
-description = "気仙沼の漁船の漁火"
-tags = ["気仙沼"]
-categories = ["写真"]
-author = "kazu634"
-camera = "Sony a7c"
-lens = "FE 50mm F1.4 GM"
-location = "気仙沼"
-images = ["ogp/2024-11-12-isaribi-kesennuma.webp"]
-+++
-
-
\ No newline at end of file
diff --git a/content/posts/2018/2018-06-25-hanoi-cafe-maison-de-tet-decor.md b/content/posts/2018/2018-06-25-hanoi-cafe-maison-de-tet-decor.md
index 158308f..99e0af5 100644
--- a/content/posts/2018/2018-06-25-hanoi-cafe-maison-de-tet-decor.md
+++ b/content/posts/2018/2018-06-25-hanoi-cafe-maison-de-tet-decor.md
@@ -8,6 +8,7 @@ author = "kazu634"
images = ["ogp/2018-06-25-hanoi-cafe-maison-de-tet-decor.webp"]
+++
+
Hanoiの週末に訪れたカフェ。とてもお洒落で雰囲気のいいお店。また訪れたい。
diff --git a/content/posts/2019/2019-06-17-Yangon-19th-Street.md b/content/posts/2019/2019-06-17-Yangon-19th-Street.md
index a0816ee..f85d8c9 100644
--- a/content/posts/2019/2019-06-17-Yangon-19th-Street.md
+++ b/content/posts/2019/2019-06-17-Yangon-19th-Street.md
@@ -9,6 +9,7 @@ images = ["ogp/2019-06-17-Yangon-19th-Street.webp"]
+++
+
ヤンゴン旅行中に Yangon 19th Street に行きました。有名な酒場通りということです。
diff --git a/content/posts/2020/2020-06-27-favorite-tweets.md b/content/posts/2020/2020-06-27-favorite-tweets.md
index 07bb312..7e1098f 100644
--- a/content/posts/2020/2020-06-27-favorite-tweets.md
+++ b/content/posts/2020/2020-06-27-favorite-tweets.md
@@ -8,28 +8,29 @@ images = ["ogp/2020-06-27-favorite-tweets.webp"]
tags = ["book"]
+++
+
気になるtweetをまとめてみましたよ。
## 必要な前提知識がない対象に、大前提や基礎の理解を無視して、理解させるのなんてのは無理だよ。
これは本当にその通りで、実際にやってみて、体験して、前提知識を身につけてからでないとわからないということを理解して欲しいものです:
-{{< tweet user="RyotaMurohoshi" id="1270566236435308545" >}}
+{{< x user="RyotaMurohoshi" id="1270566236435308545" >}}
-{{< tweet user="RyotaMurohoshi" id="1270567592264994816" >}}
+{{< x user="RyotaMurohoshi" id="1270567592264994816" >}}
-{{< tweet user="RyotaMurohoshi" id="1270566659841908736" >}}
+{{< x user="RyotaMurohoshi" id="1270566659841908736" >}}
## 「静まれ!静まりたまえー!さぞかし名のある教授ともあろうお方が、なぜそのようにあらぶるのか!」
謙遜してくる人が一番怖いというお話です:
-{{< tweet user="EARL_COVID19_tw" id="1272689530068283392" >}}
+{{< x user="EARL_COVID19_tw" id="1272689530068283392" >}}
## 会議に心臓を捧げている人たちは会議のときだけ時が動くので、会議で決まったことが会議外で変わると憤りやすい。
「会議に心臓を捧げる」という表現が秀逸です:
-{{< tweet user="TAKAKING22" id="1274665722027769856" >}}
+{{< x user="TAKAKING22" id="1274665722027769856" >}}
## 物量で劣勢なら次善、三善の策を立てればいいのに、完璧にできそうにないとなると、突然、投げて精神論に突っ走る。
これは、どうしてなんでしょうね。。。
-{{< tweet user="J_kaliy" id="1276329981757362176" >}}
+{{< x user="J_kaliy" id="1276329981757362176" >}}
diff --git a/content/posts/2020/2020-08-01-Bangkok-Restaurants.md b/content/posts/2020/2020-08-01-Bangkok-Restaurants.md
index 146c6c8..e4da66a 100644
--- a/content/posts/2020/2020-08-01-Bangkok-Restaurants.md
+++ b/content/posts/2020/2020-08-01-Bangkok-Restaurants.md
@@ -8,6 +8,7 @@ images = ["ogp/2020-08-01-Bangkok-Restaurants.webp"]
tags = ["bangkok"]
+++
+
緊急事態宣言が緩和されつつあるバンコクで、6/15〜に外でお食事した写真をまとめていますよ。
## マッシリア
diff --git a/content/posts/2021/2021-03-07-using-tgcard-to-generate-OGP-image.md b/content/posts/2021/2021-03-07-using-tgcard-to-generate-OGP-image.md
index 24cc2ed..26ff03f 100644
--- a/content/posts/2021/2021-03-07-using-tgcard-to-generate-OGP-image.md
+++ b/content/posts/2021/2021-03-07-using-tgcard-to-generate-OGP-image.md
@@ -15,7 +15,7 @@ images = ["ogp/2021-03-07-using-tgcard-to-generate-OGP-image.webp"]
## 成果物
Twitterでの表示例はこちらになります。
-{{< tweet user="MusashiKazuhiro" id="1366036262465900544" >}}
+{{< x user="MusashiKazuhiro" id="1366036262465900544" >}}
## やったこと
やったことを書き連ねていきますよ。
diff --git a/content/posts/2021/2021-05-05-Google-Home-Notifier.md b/content/posts/2021/2021-05-05-Google-Home-Notifier.md
index a4100eb..9b2ceea 100644
--- a/content/posts/2021/2021-05-05-Google-Home-Notifier.md
+++ b/content/posts/2021/2021-05-05-Google-Home-Notifier.md
@@ -13,13 +13,13 @@ google-home-notifierでGoogle Nestを喋らせてみました。これまでの
## TL;DR
発端はこのような形でした:
-{{< tweet user="MusashiKazuhiro" id="1389508813200396291" >}}
+{{< x user="MusashiKazuhiro" id="1389508813200396291" >}}
-{{< tweet user="MusashiKazuhiro" id="1389554264310124545" >}}
+{{< x user="MusashiKazuhiro" id="1389554264310124545" >}}
-{{< tweet user="MusashiKazuhiro" id="1389775994584657922" >}}
+{{< x user="MusashiKazuhiro" id="1389775994584657922" >}}
-{{< tweet user="MusashiKazuhiro" id="1389862890853650432" >}}
+{{< x user="MusashiKazuhiro" id="1389862890853650432" >}}
というわけで、以下のようにコマンドを実行すると、
diff --git a/content/posts/2021/2021-08-13-cycling-to-mt-takao.md b/content/posts/2021/2021-08-13-cycling-to-mt-takao.md
index ce0071f..7e71eb5 100644
--- a/content/posts/2021/2021-08-13-cycling-to-mt-takao.md
+++ b/content/posts/2021/2021-08-13-cycling-to-mt-takao.md
@@ -44,7 +44,7 @@ images = ["ogp/2021-08-13-cycling-to-mt-takao.webp"]
モノレールの入り口まで入っていって、到着です!
-{{< tweet user="MusashiKazuhiro" id="1425287561971445762" >}}
+{{< x user="MusashiKazuhiro" id="1425287561971445762" >}}
高尾山口ではTAKAO COFFEEというお店で一休みをして、往路は終了です:
diff --git a/content/posts/2021/2021-09-11-go-pro-on-bicycle.md b/content/posts/2021/2021-09-11-go-pro-on-bicycle.md
index 1cfa9da..b7eb976 100644
--- a/content/posts/2021/2021-09-11-go-pro-on-bicycle.md
+++ b/content/posts/2021/2021-09-11-go-pro-on-bicycle.md
@@ -37,7 +37,7 @@ GoProを自転車に乗せて走ってきました。多摩川沿いのコース
サイクリング途中の馬車道駅でピカチューを見つけたよ:
-{{< tweet user="MusashiKazuhiro" id="1436626594789945344" >}}
+{{< x user="MusashiKazuhiro" id="1436626594789945344" >}}
#### Stravaはこちら
Stravaはこちらになります:
diff --git a/content/posts/2021/2021-10-17-download-csv-from-yahoo-finance.md b/content/posts/2021/2021-10-17-download-csv-from-yahoo-finance.md
index 52952e0..490da11 100644
--- a/content/posts/2021/2021-10-17-download-csv-from-yahoo-finance.md
+++ b/content/posts/2021/2021-10-17-download-csv-from-yahoo-finance.md
@@ -12,7 +12,7 @@ images = ["ogp/2021-10-17-download-csv-from-yahoo-finance.webp"]
最終的には自動で株価データをデータベースに入れて、自動的に毎日グラフを更新できるようにするのが目標だよ。こんな感じね。
-{{< tweet user="MusashiKazuhiro" id="1449329281771868167" >}}
+{{< x user="MusashiKazuhiro" id="1449329281771868167" >}}
## ブラウザから
一番簡単な方法としては、ブラウザからダウンロードします。例えばANAの場合は、[ANA HOLDINGS INC (9202.T) Stock Price, News, Quote & History - Yahoo Finance](https://finance.yahoo.com/quote/9202.T?p=9202.T&.tsrc=fin-srch)にアクセスするとページが表示されます。
diff --git a/content/posts/2021/2021-12-26-negibozu-in-kumamoto.md b/content/posts/2021/2021-12-26-negibozu-in-kumamoto.md
index a61de6a..a060660 100644
--- a/content/posts/2021/2021-12-26-negibozu-in-kumamoto.md
+++ b/content/posts/2021/2021-12-26-negibozu-in-kumamoto.md
@@ -10,9 +10,9 @@ images = ["ogp/2021-12-26-negibozu-in-kumamoto.webp"]
熊本にある居酒屋、ねぎぼうずを訪ねてきました。このお店、3年前にも訪ねた記憶があります。
-{{< tweet user="MusashiKazuhiro" id="1474672362251505669" >}}
+{{< x user="MusashiKazuhiro" id="1474672362251505669" >}}
-{{< tweet user="MusashiKazuhiro" id="1474680386873864196" >}}
+{{< x user="MusashiKazuhiro" id="1474680386873864196" >}}
## 店内の様子
店内はこんな感じです。目の前の茶碗にお金を入れておいて、好きなものを頼む感じです。飲み物や料理が届くと、店員さんが茶碗からお会計を済ませてくれます。
diff --git a/content/posts/2022/2022-12-04-how-to-conduct-hybrid-drink-party.md b/content/posts/2022/2022-12-04-how-to-conduct-hybrid-drink-party.md
index 1ad9685..1c450e9 100644
--- a/content/posts/2022/2022-12-04-how-to-conduct-hybrid-drink-party.md
+++ b/content/posts/2022/2022-12-04-how-to-conduct-hybrid-drink-party.md
@@ -9,6 +9,7 @@ author = "kazu634"
images = ["ogp/2022-12-04-how-to-conduct-hybrid-drink-party.webp"]
+++
+
リアル飲み会とオンライン飲み会を組み合わせた「ハイブリッド飲み会」を開催してみたので、どのようにして実施したかをメモとして残しておきます。
## 会場の準備
@@ -22,7 +23,7 @@ images = ["ogp/2022-12-04-how-to-conduct-hybrid-drink-party.webp"]
このお店は8名程度のキャパシティーで、大きなディスプレイもあります。`HDMI`で接続できます。今回は個々で実施することにしました。
場所はこちらになります:
-{{< mapbox lng=139.69721698465716 lat=35.696386161733265 zoom=15 >}}
+{{< mapbox lng=139.697 lat=35.696 zoom=12 >}}
大事なことなので繰り返します:
diff --git a/content/posts/2025/2025-06-29-kumano-nachi-shrine.md b/content/posts/2025/2025-06-29-kumano-nachi-shrine.md
index b3e04a9..0ff7596 100644
--- a/content/posts/2025/2025-06-29-kumano-nachi-shrine.md
+++ b/content/posts/2025/2025-06-29-kumano-nachi-shrine.md
@@ -9,6 +9,7 @@ author = "kazu634"
images = ["ogp/2025-06-29-kumano-nachi-shrine.webp"]
+++
+
最近自動車を買いました。行動範囲が広がり、色々なところに行っています。今回は仙台市近郊にある熊野那智神社に向かいました。
## 熊野那智神社へのドライブ
@@ -31,3 +32,4 @@ images = ["ogp/2025-06-29-kumano-nachi-shrine.webp"]
猫がいたので、動画を撮りました:
{{< youtube FJxhDYTItu4 >}}
+
diff --git a/layouts/photos/single.html b/layouts/photos/single.html
deleted file mode 100644
index bfa46bb..0000000
--- a/layouts/photos/single.html
+++ /dev/null
@@ -1,78 +0,0 @@
-{{- define "title" }}{{ .Title }} - {{ .Site.Title }}{{ end -}}
-
-{{- define "content" -}}
- {{- $params := .Scratch.Get "params" -}}
-
- {{- $toc := $params.toc -}}
- {{- if eq $toc true -}}
- {{- $toc = .Site.Params.page.toc | default dict -}}
- {{- else if eq $toc false -}}
- {{- $toc = dict "enable" false -}}
- {{- end -}}
-
- {{- /* Auto TOC */ -}}
- {{- if ne $toc.enable false -}}
-