-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
88 lines (70 loc) · 3.06 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
# The URL the site will be built for
base_url = "https://jmbhughes.com/"
generate_feeds = true
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
theme = "tabi"
title = "jmbhughes"
taxonomies = [{name = "tags", feed = true}]
# Whether to build a search index to be used later on by a JavaScript library
default_language = "en"
build_search_index = true
[search]
index_format = "elasticlunr_json" # Or the less efficient "elasticlunr_javascript".
include_title = true
include_description = true
include_path = true
include_content = true
[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
highlight_theme = "css"
[extra]
remote_repository_url = "https://github.com/jmbhughes/jmbhughes.github.io"
remote_repository_git_platform = "auto"
remote_repository_branch = "main"
show_remote_changes = true
show_remote_source = true
skin = "mint"
menu = [
{ name = "blog", url = "archive", trailing_slash = true },
{ name = "tags", url = "tags", trailing_slash = true },
{ name = "about", url = "about", trailing_slash = true },
{ name = "news", url = "news", trailing_slash = true},
]
quick_navigation_buttons = true
copy_button = true
socials = [
{ name = "github", url = "https://github.com/jmbhughes", icon = "github" },
{ name = "google-scholar", url = "https://scholar.google.com/citations?user=YjcQEIkAAAAJ&hl=en", icon = "google-scholar"},
{ name = "email", url = "mailto:[email protected]", icon = "email"}
]
feed_icon = true
copyright = "© $CURRENT_YEAR J. Marcus Hughes $SEPARATOR Unless otherwise noted, the content in this website is available under the [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) license."
favicon = "icons/favicon.ico"
allowed_domains = [
{ directive = "font-src", domains = ["'self'", "data:"] },
{ directive = "img-src", domains = ["'self'", "https://*", "data:"] },
{ directive = "script-src", domains = ["'self'"] },
{ directive = "style-src", domains = ["'self'"] },
{ directive = "frame-src", domains = ["https://www.youtube-nocookie.com", "'self'"] },
]
[extra.giscus]
enabled_for_all_posts = true
automatic_loading = true # If set to false, a "Load comments" button will be shown.
repo = "welpo/tabi-comments"
repo_id = "R_kgDOG3bviQ" # Find this value in https://giscus.app/
category = "Announcements"
category_id = "DIC_kwDOG3bvic4CjCSq" # Find this value in https://giscus.app/
mapping = "slug" # Available: pathname; url; title; slug. "slug" will use the post's filename (slug); this is the only way to share comments between languages.
strict_title_matching = 1 # 1 to enable, 0 to disable. https://github.com/giscus/giscus/blob/main/ADVANCED-USAGE.md#data-strict
enable_reactions = 1 # 1 to enable, 0 to disable.
comment_box_above_comments = false
light_theme = "noborder_light"
dark_theme = "noborder_dark"
lang = "" # Leave blank to match the page's language.
lazy_loading = true
[extra.analytics]
service = "goatcounter"
id = "jmbhughes-stats"