/
config.toml
69 lines (52 loc) · 2.2 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
# The URL the site will be built for
base_url = "https://blog.razzle.cloud"
title = "Razzle's Blog"
# blog theme, my fork
theme = "terminimal"
taxonomies = [{ name = "tags" }]
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false
# Whether external links are to be opened in a new tab
# If this is true, a `rel="noopener"` will always automatically be added for security reasons
external_links_target_blank = true
# Whether to set rel="nofollow" for all external links
external_links_no_follow = true
# Whether to set rel="noreferrer" for all external links
external_links_no_referrer = 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 = "boron"
[extra]
author = "Harry Randazzo"
favicon = "/favicon.ico"
favicon_mimetype = "image/png"
accent_color = "orange"
background_color = "orange"
logo_text = "blog.razzle.cloud"
menu_items = [
# each of these is optional, name and url are required
# $BASE_URL is going to be substituted by base_url from configuration
{ name = "blog", url = "$BASE_URL" },
# tags should only be enabled if you have "tags" taxonomy
# see documentation below for more details
{ name = "tags", url = "$BASE_URL/tags" },
{ name = "about me", url = "https://razzle.cloud", newtab = true },
# set newtab to true to make the link open in new tab
{ name = "github", url = "https://github.com/Noxsios", newtab = true },
]
enable_post_view_navigation = true
post_view_navigation_prompt = "Read more"
# Optional: Set how <title> elements are rendered.
# Values:
# - "main_only" -- only the main title (`config.title`) is rendered.
# - "page_only" -- only the page title (if defined) is rendered,
# falling back to `config.title` if not defined or empty.
# - "combined" -- combine like so: "page_title | main_title",
# or if page_title is not defined or empty, fall back to `main_title`
#
# Note that the main (index) page only has the main title.
page_titles = "page_only"