-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
119 lines (95 loc) · 3.78 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
# The URL the site will be built for
# config.toml
base_url = "https://lifeisacanvas24.github.io"
title = "Life is a Canvas - Paint it the way you like it!"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
taxonomies = [
{name = "tags", feed = true},
{name = "category", feed=true},
]
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = true
[search]
# Whether to include the title of the page/section in the index
include_title = true
# Whether to include the description of the page/section in the index
include_description = true
# Whether to include the RFC3339 datetime of the page in the search index
include_date = true
# Whether to include the path of the page/section in the index (the permalink is always included)
include_path = false
# Whether to include the rendered content of the page/section in the index
include_content = true
# At which code point to truncate the content to. Useful if you have a lot of pages and the index would
# become too big to load on the site. Defaults to not being set.
# truncate_content_length = 100
# Wether to produce the search index as a javascript file or as a JSON file
# Accepted values:
# - "elasticlunr_javascript", "elasticlunr_json"
# - "fuse_javascript", "fuse_json"
index_format = "elasticlunr_json"
[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
# Put all your custom variables here
# Various slugification strategies, see below for details
# Defaults to everything being a slug
# Other configuration options...
[extra]
paginate_by = 10 # Number of posts per page
blog_sections_path = [
"blog/_index.md",
"blog/reviews/_index.md",
"blog/technology/_index.md",
"blog/random-thoughts/_index.md",
"blog/stock-market/_index.md",
"blog/lifestyle/_index.md",
"blog/lifestyle/parenting/_index.md",
"blog/lifestyle/yoga/_index.md",
"blog/lifestyle/minimalism/_index.md",
"blog/lifestyle/travel/_index.md",
"blog/lifestyle/food/_index.md",
"blog/lifestyle/fashion/_index.md",
"blog/lifestyle/health-and-wellness/_index.md"
]
# Add this to your config.toml
get_page_number = """
function get_page_number() {
var params = new URLSearchParams(window.location.search);
return parseInt(params.get('page')) || 1;
}
"""
social_facebook = "https://www.facebook.com/profile.php?id=61557380600645"
social_twitter = "https://twitter.com/lifeisacanvas20"
social_instagram = "https://instagram.com/lifeisacanvas24"
social_youtube = "https://www.youtube.com/@Lifeisacanvas24"
logo_url = "media/logo.png"
intro_video_url = "media/life-is-a-canvas-intro-video.mp4"
# This tells Zola to generate individual tag pages
# but not a tags index page
taxonomies = [
{name = "tags", paginate_by = 5},
]
generate_tags_pages = true
generate_tags_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 = false
# Whether smart punctuation is enabled (changing quotes, dashes, dots in their typographic form)
# For example, `...` into `…`, `"quote"` into `“curly”` etc
smart_punctuation = false
# Rest of your configuration...
[slugify]
paths = "on"
taxonomies = "on"
anchors = "on"
# Whether to remove date prefixes for page path slugs.
# For example, content/posts/2016-10-08_a-post-with-dates.md => posts/a-post-with-dates
# When true, content/posts/2016-10-08_a-post-with-dates.md => posts/2016-10-08-a-post-with-dates
paths_keep_dates = false