-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.toml
More file actions
179 lines (151 loc) · 6.48 KB
/
config.toml
File metadata and controls
179 lines (151 loc) · 6.48 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# =============================================================================
# CORE SITE IDENTITY
# =============================================================================
# Canonical base URL (no trailing slash).
base_url = "https://dhanur.me"
title = "dhanur.me"
description = "My cozy corner of the internet."
author = "Dhanur"
default_language = "en"
# =============================================================================
# BUILD & OUTPUT
# =============================================================================
compile_sass = true # Required by Zola theme
minify_html = true # Always enable in production
build_search_index = true # Required for site search
generate_feeds = true
feed_filenames = ["rss.xml"]
feed_limit = 20
generate_sitemap = true
generate_robots_txt = true
preserve_dotfiles_in_output = true # Needed for .well-known / security files
# =============================================================================
# CONTENT MODEL (TAXONOMIES)
# =============================================================================
taxonomies = [
{ name = "tags", feed = true, paginate_by = 10 },
{ name = "categories", feed = true, paginate_by = 10 },
]
# =============================================================================
# URL & SLUG BEHAVIOR
# =============================================================================
[slugify]
paths = "on"
taxonomies = "on"
anchors = "on"
# =============================================================================
# MARKDOWN RENDERING
# =============================================================================
[markdown]
smart_punctuation = true
render_emoji = true
external_links_target_blank = true
external_links_no_referrer = true # Security best practice
[markdown.highlighting]
style = "inline" # Latest Zola-compatible highlighting without generated giallo source files
light_theme = "github-light"
dark_theme = "github-dark"
# =============================================================================
# LINK CHECKING (BUILD-TIME)
# =============================================================================
[link_checker]
skip_prefixes = [
"http://127.0.0.1",
"http://localhost",
]
internal_level = "warn"
external_level = "warn"
# =============================================================================
# SEARCH INDEX
# =============================================================================
[search]
include_title = true
include_description = true
include_content = true
# =============================================================================
# THEME CONFIGURATION
# =============================================================================
[extra]
default_thumbnail = "images/thumbs/default_thumbnail.jpg"
# Analytics (leave empty to disable cleanly)
gtag = "G-BY8SPYYYYR"
# GitHub edit link (used by theme templates)
edit_url = "https://github.com/kascit/kascit.github.io/edit/main"
footer_html = """Dhanur Relhan"""
# =============================================================================
# NAVIGATION
# =============================================================================
# Each nav item requires an icon (FontAwesome class).
nav = [
{ name = "About", url = "/about/", type = "url", icon = "fa-solid fa-user" },
{ name = "Projects", url = "/projects/", type = "url", icon = "fa-solid fa-code" },
{ name = "Links", url = "/links/", type = "url", icon = "fa-solid fa-link" },
{ name = "Blog", url = "/blog/", type = "url", icon = "fa-solid fa-pen-nib" },
# Example dropdown (kept commented by default)
# { name = "Socials", type = "dropdown", icon = "fa-solid fa-share-nodes", members = [
# { name = "GitHub", url = "https://github.com/kascit", type = "url", icon = "fa-brands fa-github" },
# { name = "X", url = "https://x.com/", type = "url", icon = "fa-brands fa-x-twitter" },
# { name = "LinkedIn", url = "https://linkedin.com/in/", type = "url", icon = "fa-brands fa-linkedin" },
# { name = "Email", url = "mailto:contact@dhanur.me", type = "url", icon = "fa-solid fa-envelope" }
# ]}
]
# =============================================================================
# LOGO
# =============================================================================
[extra.logo]
text = "~/dhanur"
image_path = "images/branding/favi-dark.png"
image_padding = "15px"
dark_image_path = "images/branding/logo-light.png"
light_image_path = "images/branding/logo-dark.png"
# =============================================================================
# THEME COLORS & TOGGLE
# =============================================================================
[extra.theme]
colorset = "auto"
disable_toggle = false
# =============================================================================
# SIDEBAR
# =============================================================================
[extra.sidebar]
expand_depth = 1
disable_root_hide = false
# =============================================================================
# COMMENTS (GISCUS)
# =============================================================================
[extra.comments]
enabled = true
system = "giscus"
repo = "kascit/kascit.github.io"
repo_id = "R_kgDOQP4ZUQ"
category = "Blog Comments"
category_id = "DIC_kwDOQP4ZUc4C0UPe"
theme = "preferred_color_scheme"
# =============================================================================
# SHARING
# =============================================================================
[extra.share]
copy_url = true
x = true
# =============================================================================
# SOCIAL META
# =============================================================================
[extra.twitter]
creator = "@nkascit"
# =============================================================================
# FONTS (OPTIONAL)
# =============================================================================
[extra.font]
# enabled = true
# name = "Roboto"
# path = "https://fonts.googleapis.com/css2?family=Roboto&display=swap"
# =============================================================================
# FAVICONS & PWA
# =============================================================================
[extra.favicon]
base_path = "/icons/"
favicon_96x96 = "/icons/favicon-96x96-transparent.png"
favicon_svg = "/icons/favicon.svg"
favicon_ico = "/icons/favicon-transparent.ico"
apple_touch_icon = "/icons/apple-touch-icon-180x180-transparent.png"
site_webmanifest = "/icons/site.webmanifest"