-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.toml
executable file
·131 lines (95 loc) · 3.4 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
baseurl = "https://hugo-octopress-test.vercel.app/"
disablePathToLower = false
languageCode = "en-us"
title = "Hugo-Octopress Demo on Vercel"
theme = "Hugo-Octopress"
# number of blog posts displayed in each page
paginate = 6
# frontmatter will be generated in yaml format
metadataformat = "yaml"
# Highlight shortcode and code fences (```) will be treated similarly
pygmentscodefences = true
pygmentsStyle = "solarized-dark"
# disable RSS on everything but home
[outputs]
section = ["HTML"]
taxonomy = ["HTML"]
taxonomyTerm = ["HTML"]
[permalinks]
post = "/:year-:month-:day-:title/" # change the post URL to look like the old ones
# menu
# links will open in a new window except links to "/" - links are added to navigation in hugo-octopress/layouts/partials/navigation.html
[[menu.main]]
Name = "License Page"
URL = "/license/"
weight = 2
[[menu.main]]
Name = "Individual page 1"
URL = "/page1"
weight = 3
[[menu.main]]
Name = "This theme on Github"
URL = "https://github.com/parsiya/hugo-octopress"
weight = 10
[[menu.main]]
Name = "These Hugo Shortcodes on Github"
URL = "https://github.com/parsiya/Hugo-Shortcodes"
weight = 11
# sidebar menus
# enable with "sidebar_menu_enabled = true" in [params]
# header text is "sidebar_menu_header" in [params]
[[menu.sidebar]]
Name = "Categories"
URL = "/categories/"
weight = 1
[[menu.sidebar]]
Name = "Tags"
URL = "/tags/"
weight = 5
[[menu.sidebar]]
Name = "External link to example.com"
URL = "https://example.com"
weight = 10
[params]
navigationNewWindow = true
sidebarRecentLimit = 5
sidebarHeader = "Sidebar Header"
sidebarText = """Sidebar text. You can use markdown here. Including links like [example.com](https://example.com).
</br></br>
Add new lines with `</br>` or add two spaces to the end of the line like regular markdown.
New line after two spaces.
"""
sidebarMenuEnabled = true
sidebarMenuHeader = "Sidebar links!"
notfoundHeader = "404 Header"
notfoundText = """404 page. Supports markdown.
[example.com](https://example.com)."""
# if false, all of the post will appear on front page (and in pagination)
truncate = true
# author's name (this will appear in metadata and under posts)
author = "Author Name"
# appears in the site header under website title
subtitle = "Hugo-Octopress demo site - subtitle."
# used in the search engine
searchEngineURL = "https://www.google.com/search"
# Text of the Continue Reading label. → == right arrow, but it gets messed up in the string so we will add it to index.html manually
continueReadingText = "continueReadingText text"
# Google analytics code
# googleAnalytics = ""
bitbucket = "https://bitbucket.org/parsiya/"
twitter = "https://twitter.com/cryptogangsta/"
github = "https://github.com/parsiya/Hugo-Octopress/"
linkedin = "https://www.linkedin.com/in/parsiya"
rss = true # switch to true to enable RSS icon link
defaultDescription = ""
# does this even work in action?
# defaultKeywords = ["Hugo" , "Hugo-Octopress" , "demo"]
tableOfContents = false
# generate taxonomy list
generateTaxonomyList = true
mainSections = ["post"]
compactIndex = false
# blackfriday is Hugo's markdown engine. Options are at: https://gohugo.io/overview/configuration/ (scroll down to "Configure Blackfriday rendering")
[blackfriday]
hrefTargetBlank = true # open the external links in a new window
fractions = false