-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
141 lines (116 loc) · 4.65 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
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
theme = "tabi"
base_url = "https://mikufan.page"
title = "~/mikufan.page"
description = "hey! this is just nyadiia's personal blog, feel free to look around!"
generate_feed = true
compile_sass = true
minify_html = true
taxonomies = [{ name = "tags", feed = true }]
[markdown]
external_links_target_blank = true
highlight_code = true
highlight_theme = "css"
default_language = "en"
[extra]
# Enable JavaScript theme toggler for dark/light mode (and automatic switching).
# The default setting is the light theme.
theme_switcher = true
default_theme = "dark"
browser_theme_color = ["#ff5599", "#ff0066"]
skin = "nyadiia"
# Date format used when listing posts (main page, /blog section, tag posts list…)
# Default is "6th July 2049" in English and "%d %B %Y" in other languages.
long_date_format = "%Y-%m-%d"
# Date format used for blog posts.
# Default is "31st Dec 2011".
short_date_format = ""
# Custom separator used in title tag and posts metadata (between date, time to read, and tags).
separator = "•"
# Full path after the base URL required. So if you were to place it in "static" it would be "/favicon.ico"
favicon = "/strawby.gif"
# Add an emoji here to use it as favicon.
# Compatibility: https://caniuse.com/link-icon-svg
favicon_emoji = ""
# This header image is used for SEO. For example if you were to share an image via Messenger/Instagram/Twitter a preview picture is also presented
social_media_card = "img/banner.jpg"
menu = [
{ name = "blog", url = "blog/" },
{ name = "archive", url = "archive/" },
{ name = "tags", url = "tags/" },
{ name = "links", url = "links/" },
]
# The RSS icon will be shown if (1) it's enabled and (2) the following variable is set to true.
feed_icon = true
# The icons available can be found in "social_icons" in the "static" folder.
socials = [
{ name = "github", url = "https://github.com/nyadiia/", icon = "github" }
]
email = "bnlhZGlpYUBwbS5tZQ=="
encode_plaintext_email = true
remote_repository_url = "https://github.com/nyadiia/mikufan.page"
remote_repository_git_platform = "auto" # Defaults to "auto".
remote_repository_branch = "main" # Defaults to "main".
show_remote_changes = true # Defaults to true.
show_remote_source = true # Defaults to true.
# Add a "copy" button to codeblocks (loads ~700 bytes of JavaScript).
# Can be set at page or section levels, following the hierarchy: page > section > config. See: https://welpo.github.io/tabi/blog/mastering-tabi-settings/#settings-hierarchy
copy_button = true
show_reading_time = true
88x31 = [
{ name = "miku_approved", img = "miku.gif" },
{ name = "itty", img = "nekojiru2.gif" },
{ name = "debain_powered", img = "powered-by-debian.gif" },
{ name = "rainbow_flag", img = "rainbow_bev.gif" },
{ name = "trans_flag", img = "trans.png" },
{ name = "sinewave", img = "sinewave.gif" },
{ name = "trans_rights_now", img = "transnow2.gif" },
{ name = "seed_your_torrents!", img = "seedyourtorrents.gif" },
{ name = "no_web3", img = "web3.gif" },
]
stylesheets = ["buttons.css"]
# Custom security headers. What urls should your website be able to connect to?
# You need to specify the CSP and the URLs associated with the directive.
# Useful if you want to load remote content safely (embed YouTube videos, which needs frame-src, for example).
# Default directive is self.
# Default config, allows for https remote images and embedding YouTube and Vimeo content.
# This configuration (along with the right webserver settings) gets an A+ in Mozilla's Observatory: https://observatory.mozilla.org
allowed_domains = [
{ directive = "font-src", domains = [
"'self'",
"data:",
] },
{ directive = "img-src", domains = [
"'self'",
"https://*",
"data:",
] },
{ directive = "script-src", domains = [
"'self'",
] }, # finally made csp work for this
{ directive = "style-src", domains = [
"'self'",
] },
{ directive = "frame-src", domains = [
"https://www.youtube-nocookie.com",
] },
]
[extra.analytics]
service = "goatcounter"
id = "miku"
[extra.isso]
enabled_for_all_posts = true
automatic_loading = true
endpoint_url = "https://isso.mikufan.page/" # URL to Isso host.
page_id_is_slug = true
lang = "english"
max_comments_top = "inf"
max_comments_nested = "5"
avatar = true
voting = true
page_author_hashes = ""
lazy_loading = true
# Custom subset of characters for the header.
# If set to true, the `static/custom_subset.css` file will be loaded first.
# This avoids a flashing text issue in Firefox.
# Please see https://welpo.github.io/tabi/blog/custom-font-subset/ to learn how to create this file.
custom_subset = true