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