-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathzola.toml
More file actions
111 lines (88 loc) · 7.18 KB
/
zola.toml
File metadata and controls
111 lines (88 loc) · 7.18 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# The URL the site will be built for
base_url = "https://example.org"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = false
# The default language ("de" also included in i18n directory)
default_language = "en"
# The site theme to use
# theme = "zolarwind"
# When set to "true", a search index is built from the pages and section content for `default_language`
build_search_index = true
# When set to "true", a feed is automatically generated
generate_feeds = true
# The taxonomies to use for the site
taxonomies = [
{ name = "tags", paginate_by = 6, feed = true},
{ name = "series", paginate_by = 6, feed = false},
]
[markdown.highlighting]
light_theme = "github-light-default"
dark_theme = "ayu-dark"
error_on_missing_language = true
style = "class"
# If the language you want to highlight is not supported, add additional syntax in this directory
extra_grammars = [
"syntaxes/verilog.tmLanguage.json",
"syntaxes/vhdl.tmLanguage.json",
]
[extra]
# Put all your custom variables here
# The title of the blog
title = "Zolarwind"
# Path to the language resource files
path_language_resources = "i18n/"
# The variables after this line are optional
# The generator used for generating the static website
generator = "Zola v0.22.1"
# Favicon as SVG graphics
favicon_svg = "/img/yin-yang.svg"
# The copyright notice
copyright = "Copyright {year} by Thomas Weitzel"
# The description shown on banner
site_description = "My findings while exploring various aspects of programming"
# The quote shown on the banner
quote = { text = "Do, or not do. There is no try.", author = "Yoda" }
# The main navigation menu
menu_pages = [
{ title = "Imprint", url = "/pages/imprint/" },
{ title = "About", url = "/pages/about/" },
]
# The pages that appear in the footer
footer_pages = [
{ title = "Privacy Policy", url = "/pages/privacy/" },
{ title = "Terms", url = "/pages/terms/" },
]
# Social links
social_links = [
{ name = "Atom feed", enabled = true, link = "/atom.xml", svg = '<svg class="h-6 w-6" fill="currentColor" viewBox="0 0 32 32"><path d="M5 5v4c9.93 0 18 8.07 18 18h4C27 14.85 17.15 5 5 5zm0 7v4c6.07 0 11 4.93 11 11h4c0-8.28-6.72-15-15-15zm3 9a3 3 0 0 0 0 6 3 3 0 0 0 0-6z"/></svg>' },
{ name = "github", enabled = true, link = "https://github.com/thomasweitzel", svg = '<svg class="h-6 w-6" fill="currentColor" viewBox="0 0 1024 1024"><path d="M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z" transform="scale(64)"/></svg>' },
{ name = "mastodon", enabled = true, link = "https://fosstodon.org/@tweitzel", rel = 'me', svg = '<svg class="h-6 w-6" fill="currentColor" viewBox="0 0 18.656 20"><path d="M18.656 6.566c0-4.339-2.843-5.61-2.843-5.61C14.38.298 11.919.021 9.362 0h-.063c-2.557.021-5.016.298-6.45.956 0 0-2.843 1.272-2.843 5.61 0 .993-.02 2.181.012 3.441.103 4.243.778 8.425 4.7 9.463 1.81.479 3.363.579 4.613.51 2.268-.126 3.54-.809 3.54-.809l-.074-1.646s-1.621.511-3.441.449c-1.804-.062-3.707-.194-4-2.409a4.523 4.523 0 0 1-.04-.621s1.77.433 4.015.536c1.372.063 2.658-.08 3.965-.236 2.506-.299 4.688-1.843 4.962-3.254.434-2.223.398-5.424.398-5.424zm-3.353 5.59h-2.081V7.057c0-1.075-.452-1.62-1.357-1.62-1 0-1.501.647-1.501 1.927v2.791h-2.07V7.364c0-1.28-.5-1.927-1.501-1.927-.905 0-1.357.546-1.357 1.62v5.099H3.355V6.903c0-1.074.273-1.927.823-2.558.566-.631 1.307-.955 2.228-.955 1.065 0 1.872.409 2.405 1.228l.518.869.519-.869c.533-.819 1.34-1.228 2.405-1.228.92 0 1.662.324 2.228.955.549.631.822 1.484.822 2.558z"/></svg>' },
]
# Dark/light mode toggle icons (inline SVG). Define both to enable the toggle.
[extra.displaymode.sun]
svg = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"><path stroke-linecap="round" stroke-linejoin="round" d="M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"></path></svg>'
[extra.displaymode.moon]
svg = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"><path stroke-linecap="round" stroke-linejoin="round" d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"></path></svg>'
[extra.comments]
enabled = false # Enable/disable comments globally.
provider = "artalk" # Comment provider name (currently "artalk").
# Artalk example configuration
#[extra.comments.artalk]
#server = "https://example.org/comments" # Artalk server base URL (scheme + host + optional port).
#site = "example" # Artalk site name (must exist in Artalk admin).
#list_sort = true # Show the "sort by" dropdown (Latest/Best/Oldest/Author).
#flat_mode = "auto" # Comment list layout: "auto", true, or false.
#preview = true # Enable editor live preview.
#emoticons = false # Enable emoticons panel (must also be enabled in Artalk server config).
#vote = true # Enable upvote.
#vote_down = false # Enable downvote (only if server allows it).
#page_size = 20 # Comments per page (pagination size).
#read_more = true # Use "load more" mode (true) or pagination bar (false).
#auto_load = true # Auto-load next page when scrolling (ignored when read_more is false).
#placeholder = "" # Editor placeholder text (empty uses Artalk default).
#send_btn = "" # Send button label (empty uses Artalk default).
#no_comment = "" # Text when there are no comments (empty uses Artalk default).
#show_copyright = false # Show "Powered by Artalk" footer.
#show_sidebar_button = false # Show the sidebar button for non-admin users ("Messages").
#consent_required = false # Require a consent checkbox before loading comments (uses localStorage).
#avatar_url = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><circle cx='32' cy='32' r='26' fill='none' stroke='%239ca3af' stroke-width='5'/></svg>" # Override avatar URL (data URI avoids Gravatar).