-
Notifications
You must be signed in to change notification settings - Fork 11
/
config.toml
70 lines (63 loc) · 2.48 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
author = "cydave"
title = "PaperMod"
base_url = "https://cydave.github.io/zola-theme-papermod"
compile_sass = true
build_search_index = true
generate_feeds = true
feed_filenames = [ "atom.xml",]
minify_html = true
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 = "PaperMod"
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 = false
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 = "Archive" },
{ url = "$BASE_URL/tags", title = "Tags" },
{ url = "$BASE_URL/search", title = "Search" },
{ url = "https://getzola.org/", title = "Zola", is_external = true }
]
home_title = "PaperMod"
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."
social_icons = [
{ 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" },
]