This commit is contained in:
Mivinci 2021-11-09 00:31:53 +08:00
parent 1e8d1ff994
commit 1c80672a89

View file

@ -15,15 +15,15 @@ theme = "hugo-theme-minima"
# page of your blog. # page of your blog.
[author] [author]
name = "XJJ" name = "XJJ"
slogon = "A student and web developer from Earth 🌍" slogon = "A student and tech lover from Earth 🌍"
description = "This is Minima, a clean and minimal Hugo theme porting from Minima on Hexo. Except for everything from Hexo Minima like dark/light mode, it supports KaTeX and some taxonomies like categories, series and tags. I created this using SCSS, Vanilla JS and most importantly, Hugo. 😁" description = "This is Minima, a clean and minimal Hugo theme porting from Minima on Hexo. Except for everything from Hexo Minima like dark/light mode, it supports KaTeX and some taxonomies like categories, series and tags. I created this using SCSS, Vanilla JS and most importantly, Hugo. 😁"
[params] [params]
# iam is the beginning words of your self-introduction. # iam is the beginning words of your self-introduction.
iam = "I am" iam = "I am"
# The subtitle will be shown after the title of your blog site # The subtitle will be shown after the title of your blog site.
# in a format like "title - subtitle". # e.g. "title - subtitle".
subtitle = "" subtitle = ""
# Comment decides the comment plugin used on your blog site, # Comment decides the comment plugin used on your blog site,
# available plugins: disqus, ovo. # available plugins: disqus, ovo.
@ -33,7 +33,7 @@ timeformat = "Jan 2, 2006"
# switch for turning on/off lights. # switch for turning on/off lights.
switch = ["🌚", "🌝"] switch = ["🌚", "🌝"]
# if true, date of posts will be displayed in the homepage. # if true, date of posts will be displayed in the homepage.
displayDate = false displayDate = true
# if true, users can select text from your post. # if true, users can select text from your post.
selectable = false selectable = false
@ -51,10 +51,10 @@ placeholder = ""
# Each has a lowercase name, a svg formatted icon and a url to the # Each has a lowercase name, a svg formatted icon and a url to the
# webpage of your account. They will be shown at the bottom of every # webpage of your account. They will be shown at the bottom of every
# page of your blog. # page of your blog.
# Be sure the svgs you select to use must have both the width and the # Be sure the svgs you use must have both its width and its height
# height set 18. If you don't wanna put the svg code in this config # set 18. If you don't wanna put the svg code in this config file,
# file, you can instead save them to the `data/svg.toml` file under # you can instead save them to the `data/svg.toml` file under the
# the root directory of your blog using a format like `name = '<svg>'` # root directory of your blog. e.g. `name = '<svg>'`
[[params.social]] [[params.social]]
name = "github" name = "github"
url = "https://github.com/mivinci" url = "https://github.com/mivinci"
@ -93,11 +93,12 @@ url = "/about"
weight = 4 weight = 4
# You can classify your posts by setting taxanomies in the front matter like # You can classify your posts by setting taxanomies in the front matter
# categories = ["apple", "banana"] # e.g.
# series = ["s1", "s2"] # categories = ["dev"]
# tags = ["t1", "t2"] # series = ["Building an RPC server"]
# A little suggestion: one post belongs to one series, one category and multiple tags. # tags = ["hugo", "golang"]
# A little suggestion: one post belongs to one series or one category or multiple tags.
[taxonomies] [taxonomies]
category = "categories" category = "categories"
tag = "tags" tag = "tags"