-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
71 lines (65 loc) · 2.44 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
author = "bakajzon"
title = "Bakajzon's Blog"
base_url = "https://bakajzon.github.io/"
compile_sass = true
build_search_index = false
generate_feeds = true
feed_filenames = [ "atom.xml",]
minify_html = true
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
[extra]
[extra.papermod]
title = "Bakajzon's Blog"
default_theme = "auto"
theme = "light"
language_direction = "auto"
keywords = ["tech", "daily"]
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 = ""
date_format = "%Y-%m-%d"
navigation = [
{ url = "$BASE_URL/archive", title = "归档 📦" },
{ url = "$BASE_URL/tags", title = "标签 🏷" },
# { url = "$BASE_URL/search", title = "Search" },
{ url = "https://github.com/BakaJzon/bakajzon.github.io", title = "博客源码 ⭐", is_external = true },
{ url = "https://getzola.org/", title = "Zola", is_external = true }
]
home_title = "Bakajzon"
home_content = "Keep It Simple, Stupid."
social_icons = [
{ url = "https://github.com/bakajzon", 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" },
]