diff --git a/content/posts b/content/posts index 8bdfd2d..a996695 160000 --- a/content/posts +++ b/content/posts @@ -1 +1 @@ -Subproject commit 8bdfd2d5528053238051244b803a148ca3ded84d +Subproject commit a996695bfc985024eb42b4c076dfe545f3c1b419 diff --git a/hugo.toml b/hugo.toml index d0e2dbc..456edd2 100644 --- a/hugo.toml +++ b/hugo.toml @@ -7,99 +7,105 @@ theme = "terminal" pagination.pagerSize = 5 # Required for Chroma and the custom syntax highlighting. [markup.highlight] - noClasses = false +noClasses = false [params] - # dir name of your main content (default is `content/posts`). - # the list of set content will show up on your index page (baseurl). - contentTypeName = "posts" +# dir name of your main content (default is `content/posts`). +# the list of set content will show up on your index page (baseurl). +contentTypeName = "posts" - # if you set this to 0, only submenu trigger will be visible - showMenuItems = 2 +# if you set this to 0, only submenu trigger will be visible +showMenuItems = 2 - # show selector to switch language - showLanguageSelector = false +# show selector to switch language +showLanguageSelector = false - # set theme to full screen width - fullWidthTheme = false +# set theme to full screen width +fullWidthTheme = false - # center theme with default width - centerTheme = false +# center theme with default width +centerTheme = false - # if your resource directory contains an image called `cover.(jpg|png|webp)`, - # then the file will be used as a cover automatically. - # With this option you don't have to put the `cover` param in a front-matter. - autoCover = true +# if your resource directory contains an image called `cover.(jpg|png|webp)`, +# then the file will be used as a cover automatically. +# With this option you don't have to put the `cover` param in a front-matter. +autoCover = true - # set post to show the last updated - # If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated - showLastUpdated = false +# set post to show the last updated +# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated +showLastUpdated = false - # Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author - # updatedDatePrefix = "Updated" +# Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author +# updatedDatePrefix = "Updated" - # whether to show a page's estimated reading time - # readingTime = false # default +# whether to show a page's estimated reading time +# readingTime = false # default - # whether to show a table of contents - # can be overridden in a page's front-matter - # Toc = false # default +# whether to show a table of contents +# can be overridden in a page's front-matter +# Toc = false # default - # set title for the table of contents - # can be overridden in a page's front-matter - # TocTitle = "Table of Contents" # default +# set title for the table of contents +# can be overridden in a page's front-matter +# TocTitle = "Table of Contents" # default - # Set date/time format for posts - # This will impact the date/time displayed on - # index.html, the posts list page, and on posts themselves - # This value can also be configured per-post on front matter - # If you have any issues with the timezone rendering differently - # than you expected, please ensure your timezone is correctly set - # on your server. - # This value can be customized according to Hugo documentation: - # https://gohugo.io/functions/time/format/ - # Default value (no changes needed): - # dateFormat = "2006-01-02" - # Example format, with date, time, and timezone abbreviation: - # dateFormat = "2006-01-02 3:04:06 PM MST" +# Set date/time format for posts +# This will impact the date/time displayed on +# index.html, the posts list page, and on posts themselves +# This value can also be configured per-post on front matter +# If you have any issues with the timezone rendering differently +# than you expected, please ensure your timezone is correctly set +# on your server. +# This value can be customized according to Hugo documentation: +# https://gohugo.io/functions/time/format/ +# Default value (no changes needed): +# dateFormat = "2006-01-02" +# Example format, with date, time, and timezone abbreviation: +# dateFormat = "2006-01-02 3:04:06 PM MST" [languages] - [languages.en] - languageName = "English" - title = "Richard Blog" +[languages.en] +languageName = "English" +title = "Richard Blog" - [languages.en.params] - #subtitle = "" - owner = "" - keywords = "" - copyright = "" - menuMore = "Show more" - readMore = "Read more" - readOtherPosts = "Read other posts" - newerPosts = "Newer posts" - olderPosts = "Older posts" - missingContentMessage = "Page not found..." - missingBackButtonLabel = "Back to home page" - minuteReadingTime = "min read" - words = "words" +[languages.en.params] +#subtitle = "" +owner = "" +keywords = "" +copyright = "" +menuMore = "Show more" +readMore = "Read more" +readOtherPosts = "Read other posts" +newerPosts = "Newer posts" +olderPosts = "Older posts" +missingContentMessage = "Page not found..." +missingBackButtonLabel = "Back to home page" +minuteReadingTime = "min read" +words = "words" - [languages.en.params.logo] - logoText = "Richard Blog" - logoHomeLink = "/" +[languages.en.params.logo] +logoText = "Richard Blog" +logoHomeLink = "/" - [languages.en.menu] - [[languages.en.menu.main]] - identifier = "about" - name = "About" - url = "/about" - [[languages.en.menu.main]] - identifier = "showcase" - name = "Showcase" - url = "/showcase" +[languages.en.menu] +[[languages.en.menu.main]] +identifier = "about" +name = "About" +url = "/about" +[[languages.en.menu.main]] +identifier = "showcase" +name = "Showcase" +url = "/showcase" [markup] - [markup.goldmark] - [markup.goldmark.renderHooks] - [markup.goldmark.renderHooks.image] - enableDefault = true - [markup.goldmark.renderHooks.link] - enableDefault = true \ No newline at end of file +[markup.goldmark] +[markup.goldmark.renderHooks] +[markup.goldmark.renderHooks.image] +enableDefault = true +[markup.goldmark.renderHooks.link] +enableDefault = true + + +[module] +[[module.mounts]] +source = 'attachments' +target = 'content/posts/attachments'