hugo-theme-minima/exampleSite/config.toml

148 lines
4.7 KiB
TOML
Raw Normal View History

2021-07-18 12:54:56 +02:00
baseURL = "http://h.xjj.pub"
2021-07-18 10:34:01 +02:00
languageCode = "en-us"
title = "Hi Folks"
2022-01-26 15:45:45 +01:00
copyright = "© XJJ 2022"
2021-07-18 10:34:01 +02:00
googleAnalytics = ""
2021-11-28 19:32:27 +01:00
# 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,
2021-08-23 16:20:39 +02:00
# `hugo-theme-minima` is put here only for debuging,
2021-11-28 19:32:27 +01:00
# just name it what's under your theme directory.
2021-08-23 16:20:39 +02:00
theme = "hugo-theme-minima"
2021-07-19 08:36:50 +02:00
2021-11-28 19:32:27 +01:00
# Author has some of your information to be shown on the home page.
2021-07-18 10:34:01 +02:00
[author]
name = "XJJ"
2021-12-02 07:06:51 +01:00
slogon = "A tech lover from Earth 🌍"
2022-01-26 15:45:45 +01:00
description = "This is Minima, a clean and minimal Hugo theme porting from the [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima). Except for everything from Hexo Minima like dark/light mode, Hugo Minima supports KaTeX, Mermaid, comments and some taxonomies like categories, series and tags. I created this using SASS, VanillaJS and the most importantly, Hugo. 😁"
2021-07-18 10:34:01 +02:00
2021-07-19 08:36:50 +02:00
2021-07-18 10:34:01 +02:00
[params]
2021-07-20 09:22:52 +02:00
# iam is the beginning words of your self-introduction.
iam = "I am"
2021-11-08 17:31:53 +01:00
# The subtitle will be shown after the title of your blog site.
# e.g. "title - subtitle".
2021-07-18 10:34:01 +02:00
subtitle = ""
2021-11-06 08:43:48 +01:00
# Comment decides the comment plugin to be used on your blog site,
2021-11-12 08:47:28 +01:00
# e.g. disqus, utterances, ovo.
comment = "utterances"
2021-11-28 18:04:53 +01:00
# Timeformat, no matter what format to use, make it the second day of Jan. 2006
2021-11-08 17:46:22 +01:00
timeformat = "Jan 02, 2006"
# switch for turning on/off lights.
switch = ["🌚", "🌝"]
# default theme. e.g. light, dark, system
defaultTheme = "system"
2021-11-28 19:32:27 +01:00
# If set true, date of posts will be shown in the homepage.
2021-11-08 17:31:53 +01:00
displayDate = true
2021-11-28 18:04:53 +01:00
# If set true, users can select text from your post.
2021-11-06 08:28:56 +01:00
selectable = true
2021-11-28 18:04:53 +01:00
# Custom global font. notice: `globalFontFamily` won't be working
2021-11-12 08:47:28 +01:00
# on texts in some special positions like on titles
2022-01-26 16:20:50 +01:00
globalFontFamily = ""
2021-11-28 18:04:53 +01:00
# If set true, all your posts will use the chosen comment plugin
# except those with a `comment: false` in their front-matter
2021-12-02 07:06:51 +01:00
commentOnAllPosts = true
# toc decides the shape of the toc button. e.g. default, lines, bar
toc = "lines"
2021-07-19 08:36:50 +02:00
2021-11-12 08:47:28 +01:00
# Disqus configuration
[params.disqus]
shortname = "hugo-minima"
2021-07-18 10:34:01 +02:00
2021-11-28 19:32:27 +01:00
# Utterances configuration
2021-11-12 08:47:28 +01:00
# Full doc's at https://utteranc.es
2021-11-12 08:58:35 +01:00
# **notice**: if you're going to use utterances, you must change the
# `repo` to your own repo address that stores comments on your site
2021-11-12 08:47:28 +01:00
[params.utterances]
2021-11-12 08:58:35 +01:00
repo = "mivinci/hugo-theme-minima"
2021-11-12 08:47:28 +01:00
issueTerm = "pathname"
2021-11-12 08:58:35 +01:00
# **deprecated**
2021-11-12 08:47:28 +01:00
# OvO is a comment plugin written by the author of Minima.
2021-07-19 08:36:50 +02:00
# It is enabled when params.comment is set "ovo". You can
2022-01-26 15:45:45 +01:00
# have a live view on https://ovo.js.org. If you are using
# disqus or utterance, just ignore this.
2021-07-19 08:36:50 +02:00
[params.ovo]
server = ""
placeholder = ""
# Params.social is an array containing your social network accounts,
# 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
# page of your blog.
2021-11-08 17:31:53 +01:00
# 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,
2021-11-28 19:32:27 +01:00
# 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 = '<svg>'`
# where `<svg>` is the svg code.
2021-07-18 10:34:01 +02:00
[[params.social]]
name = "github"
2021-11-24 16:08:55 +01:00
url = "https://github.com/mivinci/hugo-theme-minima"
2021-07-19 08:36:50 +02:00
svg = ""
2021-07-18 10:34:01 +02:00
[[params.social]]
name = "linkedin"
2021-07-18 12:54:56 +02:00
url = "https://linkedin/in/leonard-mivinci-63895317a"
2021-07-19 08:36:50 +02:00
svg = ""
2021-07-18 10:34:01 +02:00
[[params.social]]
name = "twitter"
2021-07-18 12:54:56 +02:00
url = "https://twitter.com/Leonard14733745"
2021-07-19 08:36:50 +02:00
svg = ""
2021-07-18 10:34:01 +02:00
[[params.social]]
name = "rss"
url = "/index.xml"
2021-07-19 08:36:50 +02:00
svg = ""
2021-07-18 10:34:01 +02:00
2022-02-17 11:18:35 +01:00
# If set, titles and links of the topk newest posts extracted from
# the feeds will be displayed in the home page. Note that the feeds
# providers have to make their 'Access-Control-Allow-Origin' contain
# your domain, otherwise the feeds cannot be fetched.
[params.friends]
2022-02-17 11:20:43 +01:00
feeds = ["https://xjj.pub/index.xml"]
2022-02-17 11:18:35 +01:00
topk = 3
title = "Friends' Posts"
2022-02-17 12:55:29 +01:00
proxy = "" # reserved
2022-02-17 11:18:35 +01:00
2021-07-18 10:34:01 +02:00
2021-07-19 08:36:50 +02:00
# Menu.main is an array that's used to decide what entries can be shown
# on the navigator of yur blog. You can use a weight to make them ordered.
2021-07-18 10:34:01 +02:00
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[[menu.main]]
name = "Categories"
url = "/categories"
weight = 2
[[menu.main]]
name = "Series"
url = "/series"
weight = 3
[[menu.main]]
name = "About"
url = "/about"
2021-07-18 15:40:40 +02:00
weight = 4
2021-07-18 10:34:01 +02:00
2021-07-19 08:36:50 +02:00
2021-11-08 17:31:53 +01:00
# You can classify your posts by setting taxanomies in the front matter
# e.g.
# categories = ["dev"]
# series = ["Building an RPC server"]
# tags = ["hugo", "golang"]
# A little suggestion: one post belongs to one series or one category or multiple tags.
2021-07-18 10:34:01 +02:00
[taxonomies]
category = "categories"
tag = "tags"
series = "series"
2021-07-18 12:54:56 +02:00
2022-01-26 15:45:45 +01:00
# Fields below make sure all the codes in a post are
2021-11-28 19:32:27 +01:00
# highlighted correctly, so better not edit them.
2021-07-18 10:34:01 +02:00
[markup.highlight]
lineNos = true
noClasses = false