aboutsummaryrefslogtreecommitdiff
path: root/config.toml
blob: e174ada361cdf643f921bb711062bd98e78df08e (plain) (blame)
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
# The base URL of the site; the only required configuration variable.
base_url = "https://popov.link"

# The site title and description; used in feeds by default.
title = "Valentin Popov's Technology Blog"
description = "Tech insights and coding best practices from an OpenSource enthusiast and ethical hacker."

# The default language; used in feeds.
default_language = "ru"

# For overriding the default output directory `public`, set it to another value (e.g.: "docs")
output_dir = "public"

# When set to "true", the Sass files in the `sass` directory in the site root are compiled.
# Sass files in theme directories are always compiled.
compile_sass = true

# When set to "true", the generated HTML files are minified.
minify_html = true

# When set to "true", a feed is automatically generated.
generate_feed = true

# The filename to use for the feed. Used as the template filename, too.
# Defaults to "atom.xml", which has a built-in template that renders an Atom 1.0 feed.
# There is also a built-in template "rss.xml" that renders an RSS 2.0 feed.
feed_filename = "atom.xml"

# The number of articles to include in the feed. All items are included if
# this limit is not set (the default).
feed_limit = 20

# When set to "true", files in the `static` directory are hard-linked. Useful for large
# static files. Note that for this to work, both `static` and the
# output directory need to be on the same filesystem. Note that the theme's `static`
# files are always copied, regardless of this setting.
hard_link_static = false

# When set to "true", a search index is built from the pages and section
# content for `default_language`.
build_search_index = false

[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

# The theme to use for code highlighting.
# See below for list of allowed values.
highlight_theme = "nord"

# When set to "true", emoji aliases translated to their corresponding
# Unicode emoji equivalent in the rendered Markdown files. (e.g.: :smile: => 😄)
render_emoji = true

# 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 = false

# Whether to set rel="noreferrer" for all external links
external_links_no_referrer = false

# Whether smart punctuation is enabled (changing quotes, dashes, dots in their typographic form)
# For example, `...` into `…`, `"quote"` into `“curly”` etc
smart_punctuation = true

# Various slugification strategies, see below for details
# Defaults to everything being a slug
[slugify]
paths = "on"
taxonomies = "on"
anchors = "on"

# Configuration of the link checker.
[link_checker]
# Skip link checking for external URLs that start with these prefixes
skip_prefixes = [
  "https://adeptus-mechanicus.blogspot.com/",
  "https://adrianhenke.wordpress.com/",
]

# Treat internal link problems as either "error" or "warn", default is "error"
internal_level = "warn"

# Treat external link problems as either "error" or "warn", default is "error"
external_level = "warn"

[extra]
# Put all your custom variables here

author = { email = "valentin@popov.link" }

contacts = [
  { title = "GitHub", name = "@valentineus", url = "https://github.com/valentineus" },
  { title = "LinkedIn", name = "valentineus", url = "https://www.linkedin.com/in/valentineus/" },
  { title = "Mastodon", name = "valentineus", url = "https://mastodon.social/@valentineus" },
  { title = "Telegram", name = "@valentineus", url = "https://t.me/valentineus" },
  { title = "E-Mail", name = "valentin@popov.link", url = "mailto:valentin@popov.link" },
  { title = "PGP", name = "AE3CE523DAAA8401", url = "/public.asc" },
]

navbar = [
  { title = "Home", path = "/" },
  { title = "Blog", path = "/blog/" },
]