-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
88 lines (75 loc) · 3.2 KB
/
config.toml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
author = "yingzou"
# The URL the site will be built for
base_url = "https://www.sakkan.org"
title = "yingzou's Blog"
description = "A simple blog with nothing else."
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false
generate_feeds = true
feed_filenames = [ "atom.xml",]
minify_html = true
theme = "zola-theme-papermod"
taxonomies = [
{ name = "tags", feed = true},
]
#[search]
# Whether to include the title of the page/section in the index
#include_title = true
# Whether to include the description of the page/section in the index
#include_description = false
# Whether to include the path of the page/section in the index
#include_path = false
# Whether to include the rendered content of the page/section in the index
#include_content = true
# At which character to truncate the content to. Useful if you have a lot of pages and the index would
# become too big to load on the site. Defaults to not being set.
# truncate_content_length = 100
# Wether to produce the search index as a javascript file or as a JSON file
# Accepted value "elasticlunr_javascript" or "elasticlunr_json"
#index_format = "elasticlunr_json"
[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
highlight_theme = "monokai"
[extra]
# Put all your custom variables here
[extra.papermod]
title = "yingzou"
default_theme = "auto"
theme = "light"
language_direction = "auto"
keywords = ["keyword1", "keyword2", "keyword3"]
show_theme_toggle = true
show_scroll_to_top = true
show_code_copy_buttons = true
show_reading_time = true
show_word_count = true
show_post_nav_links = true
show_post_meta = true
default_toc_open = false
show_post_edit_button = false
#edit_post_url = "https://github.com/cydave/zola-theme-papermod/tree/master"
#copyright = "This work is licensed under CC BY-SA 4.0"
#!!! change foot when theme updated
date_format = "%Y-%m-%d"
navigation = [
{ url = "$BASE_URL/archive", title = "Archive" },
{ url = "$BASE_URL/tags", title = "Tags" },
#{ url = "$BASE_URL/search", title = "Search" },
# { url = "https://getzola.com/", title = "Zola", is_external = true }
]
home_title = "Nothing"
#home_content = "Welcome to a demo of the PaperMod theme!<br><b>PaperMod</b> is a simple but fast and responsive theme with a useful feature-set that enhances UX.<br>Do give a 🌟 on Github !<br>PaperMod is based on the hugo-PaperMod theme."
home_content = "以病态自居,与弱者为伴。"
social_icons = [
{ url = "mailto:yingzou@tutanota.com", title = "E-mail", icon = "email" },
{ url = "https://mastodon.ktachibana.party/@yingzou", title = "Mastodon", icon = "mastodon" },
# { url = "https://matrix.to/#/@yingzou:sakkan.org", title = "Matrix", icon = "matrix" },
# { url = "https://github.com/cydave", title = "GitHub", icon = "github" },
# { url = "https://infosec.exchange/@cydave", title = "Mastodon", icon = "mastodon" },
# { url = "https://twitter.com/_cydave", title = "Twitter", icon = "twitter" },
{ url = "$BASE_URL/atom.xml", title = "RSS", icon = "rss" },
]