summaryrefslogtreecommitdiff
path: root/themes/hugo-coder/exampleSite/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-coder/exampleSite/config.toml')
m---------themes/hugo-coder0
-rw-r--r--themes/hugo-coder/exampleSite/config.toml192
2 files changed, 192 insertions, 0 deletions
diff --git a/themes/hugo-coder b/themes/hugo-coder
deleted file mode 160000
Subproject 55b2a150f990bc56364dba347bc9acc6aab07be
diff --git a/themes/hugo-coder/exampleSite/config.toml b/themes/hugo-coder/exampleSite/config.toml
new file mode 100644
index 0000000..dc8eb44
--- /dev/null
+++ b/themes/hugo-coder/exampleSite/config.toml
@@ -0,0 +1,192 @@
1baseURL = "http://www.example.com"
2title = "johndoe"
3theme = "hugo-coder"
4languageCode = "en"
5defaultContentLanguage = "en"
6paginate = 20
7pygmentsStyle = "bw"
8pygmentsCodeFences = true
9pygmentsCodeFencesGuessSyntax = true
10enableEmoji = true
11# Enable Disqus comments
12# disqusShortname = "yourdiscussshortname"
13
14[params]
15author = "John Doe"
16description = "John Doe's personal website"
17keywords = "blog,developer,personal"
18info = ["Full Stack DevOps", "Magician"]
19avatarURL = "images/avatar.jpg"
20#gravatar = "john.doe@example.com"
21footerContent = "Enter a text here."
22dateFormat = "January 2, 2006"
23hideFooter = false
24hideCredits = false
25hideCopyright = false
26since = 2019
27# Git Commit in Footer, uncomment the line below to enable it
28commit = "https://github.com/luizdepra/hugo-coder/tree/"
29# Right To Left, shift content direction for languagues such as Arabic
30rtl = false
31# Specify light/dark colorscheme
32# Supported values:
33# "auto" (use preference set by browser)
34# "dark" (dark background, light foreground)
35# "light" (light background, dark foreground) (default)
36colorScheme = "auto"
37# Hide the toggle button, along with the associated vertical divider
38hideColorSchemeToggle = false
39# Series see also post count
40maxSeeAlsoItems = 5
41# Enable Twemoji
42enableTwemoji = false
43# Custom CSS
44customCSS = []
45# Custom SCSS
46customSCSS = []
47# Custom JS
48customJS = []
49
50# If you want to use fathom(https://usefathom.com) for analytics, add this section
51# [params.fathomAnalytics]
52# siteID = "ABCDE"
53# serverURL = "analytics.example.com" # Default value is cdn.usefathom.com, overwrite this if you are self-hosting
54
55# If you want to use plausible(https://plausible.io) for analytics, add this section
56# [params.plausibleAnalytics]
57# domain = "example.com"
58# serverURL = "analytics.example.com" # Default value is plausible.io, overwrite this if you are self-hosting or using a custom domain
59
60# If you want to use goatcounter(https://goatcounter.com) for analytics, add this section
61# [params.goatCounter]
62# code = "code"
63
64# If you want to use Cloudflare Web Analytics(https://cloudflare.com) for analytics, add this section
65# [params.cloudflare]
66# token = "token"
67
68# If you want to use Matomo(https://matomo.org) for analytics, add this section
69# [params.matomo]
70# siteID = "ABCDE" # Default value is "1", overwrite this if you are cloud-hosting
71# serverURL = "analytics.example.com" # For cloud-hosting, use provided URL, e.g. example.matomo.cloud
72
73# If you want to use Google Tag Manager(https://analytics.google.com/) for analytics, add this section
74# [params.googleTagManager]
75# id = "gid"
76
77# If you want to implement a Content-Security-Policy, add this section
78[params.csp]
79childsrc = ["'self'"]
80fontsrc = ["'self'", "https://fonts.gstatic.com", "https://cdn.jsdelivr.net/"]
81formaction = ["'self'"]
82framesrc = ["'self'"]
83imgsrc = ["'self'"]
84objectsrc = ["'none'"]
85stylesrc = [
86 "'self'",
87 "'unsafe-inline'",
88 "https://fonts.googleapis.com/",
89 "https://cdn.jsdelivr.net/"
90]
91scriptsrc = ["'self'", "'unsafe-inline'", "https://www.google-analytics.com"]
92prefetchsrc = ["'self'"]
93# connect-src directive – defines valid targets for to XMLHttpRequest (AJAX), WebSockets or EventSource
94connectsrc = ["'self'", "https://www.google-analytics.com"]
95
96[taxonomies]
97category = "categories"
98series = "series"
99tag = "tags"
100author = "authors"
101
102[[params.social]]
103name = "Github"
104icon = "fa fa-github"
105weight = 1
106url = "https://github.com/johndoe/"
107
108[[params.social]]
109name = "Gitlab"
110icon = "fa fa-gitlab"
111weight = 2
112url = "https://gitlab.com/johndoe/"
113
114[[params.social]]
115name = "Twitter"
116icon = "fa fa-twitter"
117weight = 3
118url = "https://twitter.com/johndoe/"
119
120[[params.social]]
121name = "LinkedIn"
122icon = "fa fa-linkedin"
123weight = 4
124url = "https://www.linkedin.com/in/johndoe/"
125
126[[params.social]]
127name = "Medium"
128icon = "fa fa-medium"
129weight = 5
130url = "https://medium.com/@johndoe"
131
132[[params.social]]
133name = "RSS"
134icon = "fa fa-rss"
135weight = 6
136url = "https://myhugosite.com/index.xml"
137rel = "alternate"
138type = "application/rss+xml"
139
140[languages.en]
141languageName = ":uk:"
142
143[[languages.en.menu.main]]
144name = "About"
145weight = 1
146url = "about/"
147
148[[languages.en.menu.main]]
149name = "Blog"
150weight = 2
151url = "posts/"
152
153[[languages.en.menu.main]]
154name = "Projects"
155weight = 3
156url = "projects/"
157
158[[languages.en.menu.main]]
159name = "Contact me"
160weight = 5
161url = "contact/"
162
163[languages.pt-br]
164languageName = ":brazil:"
165title = "João Ninguém"
166
167[languages.pt-br.params]
168author = "João Ninguém"
169info = "Full Stack DevOps e Mágico"
170description = "Sítio pessoal de João Ninguém"
171keywords = "blog,desenvolvedor,pessoal"
172footerContent = "Coloque algum texto aqui."
173
174[[languages.pt-br.menu.main]]
175name = "Sobre"
176weight = 1
177url = "about/"
178
179[[languages.pt-br.menu.main]]
180name = "Blog"
181weight = 2
182url = "posts/"
183
184[[languages.pt-br.menu.main]]
185name = "Projetos"
186weight = 3
187url = "projects/"
188
189[[languages.pt-br.menu.main]]
190name = "Contato"
191weight = 5
192url = "contact/"