Welcome to mirror list, hosted at ThFree Co, Russian Federation.

config.toml « exampleSite - github.com/heyeshuang/hugo-theme-tokiwa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7882c07d9c128cd4d393b60147b03574606ad2ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
baseURL = "https://example.com/"
title = "Hugo Themes"
author = "He Yeshuang"
copyright = "Copyright © 2008–2019"
languageCode = "en"
DefaultContentLanguage = "en"
hasCJKLanguage=true
enableInlineShortcodes = true
footnoteReturnLinkContents = "^"
disqusShortname = "YOURSHORTNAME"
googleAnalytics = "UA-FAKE"
theme = "hugo-theme-tokiwa"

[markup.goldmark.renderer]
unsafe= true

[params]
description = """
Tokiwa-iro is the theme color of this site.
"""
favicon = "img/favicon-32x32.png"
math = true # for introducing $KaTEX$
fuse = true # for searchbox. "JSON" must added to output contents. See [outputs].
env = "production" # for Google Analytics and DISQUS.
useChineseFonts = true
bannerFont = "fonts/exampleFont"

[menu]
# Shown in the side menu.
  [[menu.main]]
    name = "Posts"
    weight = 1
    identifier = "post"
    url = "/post/"
  [[menu.main]]
    name = "Tags"
    url = "/tags/"
    weight = 2

  [[menu.main]]
    name = "Categories"
    url = "/categories/"  
    weight = 2

  [[menu.main]]
    name = "About"
    weight = 3
    identifier = "about"
    url = "/about/"


[taxonomies]
category = "categories"
tag = "tags"
series = "series"
[social]
instagram="http://example.com/"
bilibili="http://example.com/"
weibo="http://example.com/"
zhihu="http://example.com/"
twitter="http://twitter.com/"
gitlab="http://gitlab.com/"
mail="mailto:anon@example.com"
youtube="http://youtube.com/"
github="http://github.com/"
# any icon in layouts/partials/svg can be used by the name without the "-line.svg"

[outputs]
  home = ["HTML", "RSS", "JSON"]