Merge branch 'main' of github.com:Mivinci/hugo-theme-minima

This commit is contained in:
Mivinci 2021-12-02 14:03:25 +08:00
commit f9b21244be

View file

@ -2,16 +2,18 @@ baseURL = "http://h.xjj.pub"
languageCode = "en-us" languageCode = "en-us"
title = "Hi Folks" title = "Hi Folks"
copyright = "© XJJ 2021" copyright = "© XJJ 2021"
paginate = 6
googleAnalytics = "" googleAnalytics = ""
# theme is the name of the hugo theme you choose, # paginate decides the number of the newest posts
# that'll be shown on the home page.
paginate = 6
# theme is the name of the hugo theme you're gonna use,
# `hugo-theme-minima` is put here only for debuging, # `hugo-theme-minima` is put here only for debuging,
# just name it whatever you're gonna handle the theme. # just name it what's under your theme directory.
theme = "hugo-theme-minima" theme = "hugo-theme-minima"
# Author has some of your information to be shown on the home # Author has some of your information to be shown on the home page.
# page of your blog.
[author] [author]
name = "XJJ" name = "XJJ"
slogon = "A student and tech lover from Earth 🌍" slogon = "A student and tech lover from Earth 🌍"
@ -31,7 +33,7 @@ comment = "utterances"
timeformat = "Jan 02, 2006" timeformat = "Jan 02, 2006"
# switch for turning on/off lights. # switch for turning on/off lights.
switch = ["🌚", "🌝"] switch = ["🌚", "🌝"]
# If set true, date of posts will be displayed in the homepage. # If set true, date of posts will be shown in the homepage.
displayDate = true displayDate = true
# If set true, users can select text from your post. # If set true, users can select text from your post.
selectable = true selectable = true
@ -48,7 +50,7 @@ toc = "lines"
[params.disqus] [params.disqus]
shortname = "hugo-minima" shortname = "hugo-minima"
# Utterance configuration # Utterances configuration
# Full doc's at https://utteranc.es # Full doc's at https://utteranc.es
# **notice**: if you're going to use utterances, you must change the # **notice**: if you're going to use utterances, you must change the
# `repo` to your own repo address that stores comments on your site # `repo` to your own repo address that stores comments on your site
@ -72,8 +74,10 @@ placeholder = ""
# page of your blog. # page of your blog.
# Be sure the svgs you use must have both its width and its height # Be sure the svgs you use must have both its width and its height
# set 18. If you don't wanna put the svg code in this config file, # set 18. If you don't wanna put the svg code in this config file,
# you can instead save them to the `data/svg.toml` file under the # since they are too long, you can instead save them to the
# root directory of your blog. e.g. `name = '<svg>'` # `data/svg.toml` file under the root directory of your blog.
# in that file, each line must be formatted as `name = '<svg>'`
# where `<svg>` is the svg code.
[[params.social]] [[params.social]]
name = "github" name = "github"
url = "https://github.com/mivinci/hugo-theme-minima" url = "https://github.com/mivinci/hugo-theme-minima"
@ -124,8 +128,8 @@ tag = "tags"
series = "series" series = "series"
# Make sure all the codes in a post are highlighted correctly # Fields below makes sure all the codes in a post are
# so better not edit this. # highlighted correctly, so better not edit them.
[markup.highlight] [markup.highlight]
lineNos = true lineNos = true
noClasses = false noClasses = false