forked from ebkalderon/terminus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
96 lines (87 loc) · 3.52 KB
/
config.toml
File metadata and controls
96 lines (87 loc) · 3.52 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
base_url = "https://ericregina.com"
title = "Gruv Terminus"
description = "Demo website for the Gruv Terminus theme for Zola"
compile_sass = true
generate_feeds = true
author = "Eric Regina"
taxonomies = [
{ name = "tags", feed = true },
{ name = "categories", feed = true, paginate_by = 5 },
]
build_search_index = true
[markdown]
highlight_code = true
highlight_theme = "gruvbox-dark"
render_emoji = true
bottom_footnotes = true
github_alerts = true
[extra]
# Close the responsive nav menu when the viewport is resized to desktop width.
close_responsive_menu_on_resize = true
# Show a copy-to-clipboard button on code blocks.
copy_button = true
# Emoji used as the site favicon. Set favicon = "path/to/image.png" to use an image instead.
favicon_emoji = "👨💻"
# Enable KaTeX math rendering. Can also be set per-page in [extra].
katex = true
# Page layout: "left", "center", or "full-width".
layout = "center"
# Show the default site author on every post. Set to true or override per-page with authors = [].
show_default_author = false
# Navigation links shown in the header. Use new_tab = true for external links.
main_menu = [
{ name = "blog", url = "blog", trailing_slash = true },
{ name = "archive", url = "archive", trailing_slash = true },
{ name = "tags", url = "tags", trailing_slash = true },
{ name = "projects", url = "projects", trailing_slash = true },
{ name = "github", url = "https://github.com/ericreg/gruv-terminus", new_tab = true },
]
# Social icons shown in the footer. Supported names: see static/images/social_icons/.
socials = [
{ name = "email", url = "mailto:hello@example.com" },
{ name = "github", url = "https://github.com/ericreg" },
{ name = "linkedin", url = "https://www.linkedin.com/in/ericregina" },
]
# Giscus comments (https://giscus.app)
# Requires GitHub Discussions enabled on the repo and the giscus app installed.
# Generate your values at https://giscus.app.
# Disable comments on a specific page with [extra] comments = false in frontmatter.
[extra.giscus]
enabled = true
# GitHub repo in "owner/name" format.
repo = "ericreg/gruv-terminus"
# Repo ID from giscus.app.
repo_id = "R_kgDOQn1CsQ"
# Discussion category name.
category = "General"
# Category ID from giscus.app.
category_id = "DIC_kwDOQn1Csc4C3j5v"
# How posts map to discussions: "pathname", "url", "title", "og:title".
mapping = "pathname"
# Use strict title matching: "0" or "1".
strict = "0"
# Show reactions on the discussion: "0" or "1".
reactions_enabled = "0"
# Emit discussion metadata to the parent page: "0" or "1".
emit_metadata = "0"
# Comment box position: "top" or "bottom".
input_position = "top"
# A built-in giscus theme name (e.g. "gruvbox_dark") or a path to a hosted CSS file
# relative to the static/ directory (e.g. "css/giscus-theme.css").
theme = "css/giscus-theme.css"
lang = "en"
# Content Security Policy
# Add extra CSP directives here. The template automatically handles
# 'self', syntax highlighting, emoji favicons, and zola serve requirements.
[extra.content_security_policy]
enable = true
allowed_domains = [
{ directive = "connect-src", domains = ["'self'", "cloudflareinsights.com"] },
{ directive = "script-src", domains = ["'self'", "static.cloudflareinsights.com", "giscus.app"] },
{ directive = "style-src-elem", domains = ["'self'", "giscus.app"] },
{ directive = "frame-src", domains = ["giscus.app"] },
]
# Widths (px) used to generate responsive image srcsets via the responsive_image shortcode.
[extra.responsive_images]
widths = [640, 784, 1280, 1920, 2560]
fallback_width = 1280