themes/hugo-coder/exampleSite/config.toml

0089bb3ea91494f3c0351c83d6049297fe088afd · 4.8 KB · 192 lines raw

1 baseURL = "http://www.example.com"
2 title = "johndoe"
3 theme = "hugo-coder"
4 languageCode = "en"
5 defaultContentLanguage = "en"
6 paginate = 20
7 pygmentsStyle = "bw"
8 pygmentsCodeFences = true
9 pygmentsCodeFencesGuessSyntax = true
10 enableEmoji = true
11 # Enable Disqus comments
12 # disqusShortname = "yourdiscussshortname"
13
14 [params]
15 author = "John Doe"
16 description = "John Doe's personal website"
17 keywords = "blog,developer,personal"
18 info = ["Full Stack DevOps", "Magician"]
19 avatarURL = "images/avatar.jpg"
20 #gravatar = "john.doe@example.com"
21 footerContent = "Enter a text here."
22 dateFormat = "January 2, 2006"
23 hideFooter = false
24 hideCredits = false
25 hideCopyright = false
26 since = 2019
27 # Git Commit in Footer, uncomment the line below to enable it
28 commit = "https://github.com/luizdepra/hugo-coder/tree/"
29 # Right To Left, shift content direction for languagues such as Arabic
30 rtl = 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)
36 colorScheme = "auto"
37 # Hide the toggle button, along with the associated vertical divider
38 hideColorSchemeToggle = false
39 # Series see also post count
40 maxSeeAlsoItems = 5
41 # Enable Twemoji
42 enableTwemoji = false
43 # Custom CSS
44 customCSS = []
45 # Custom SCSS
46 customSCSS = []
47 # Custom JS
48 customJS = []
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]
79 childsrc = ["'self'"]
80 fontsrc = ["'self'", "https://fonts.gstatic.com", "https://cdn.jsdelivr.net/"]
81 formaction = ["'self'"]
82 framesrc = ["'self'"]
83 imgsrc = ["'self'"]
84 objectsrc = ["'none'"]
85 stylesrc = [
86 "'self'",
87 "'unsafe-inline'",
88 "https://fonts.googleapis.com/",
89 "https://cdn.jsdelivr.net/"
90 ]
91 scriptsrc = ["'self'", "'unsafe-inline'", "https://www.google-analytics.com"]
92 prefetchsrc = ["'self'"]
93 # connect-src directive – defines valid targets for to XMLHttpRequest (AJAX), WebSockets or EventSource
94 connectsrc = ["'self'", "https://www.google-analytics.com"]
95
96 [taxonomies]
97 category = "categories"
98 series = "series"
99 tag = "tags"
100 author = "authors"
101
102 [[params.social]]
103 name = "Github"
104 icon = "fa fa-github"
105 weight = 1
106 url = "https://github.com/johndoe/"
107
108 [[params.social]]
109 name = "Gitlab"
110 icon = "fa fa-gitlab"
111 weight = 2
112 url = "https://gitlab.com/johndoe/"
113
114 [[params.social]]
115 name = "Twitter"
116 icon = "fa fa-twitter"
117 weight = 3
118 url = "https://twitter.com/johndoe/"
119
120 [[params.social]]
121 name = "LinkedIn"
122 icon = "fa fa-linkedin"
123 weight = 4
124 url = "https://www.linkedin.com/in/johndoe/"
125
126 [[params.social]]
127 name = "Medium"
128 icon = "fa fa-medium"
129 weight = 5
130 url = "https://medium.com/@johndoe"
131
132 [[params.social]]
133 name = "RSS"
134 icon = "fa fa-rss"
135 weight = 6
136 url = "https://myhugosite.com/index.xml"
137 rel = "alternate"
138 type = "application/rss+xml"
139
140 [languages.en]
141 languageName = ":uk:"
142
143 [[languages.en.menu.main]]
144 name = "About"
145 weight = 1
146 url = "about/"
147
148 [[languages.en.menu.main]]
149 name = "Blog"
150 weight = 2
151 url = "posts/"
152
153 [[languages.en.menu.main]]
154 name = "Projects"
155 weight = 3
156 url = "projects/"
157
158 [[languages.en.menu.main]]
159 name = "Contact me"
160 weight = 5
161 url = "contact/"
162
163 [languages.pt-br]
164 languageName = ":brazil:"
165 title = "João Ninguém"
166
167 [languages.pt-br.params]
168 author = "João Ninguém"
169 info = "Full Stack DevOps e Mágico"
170 description = "Sítio pessoal de João Ninguém"
171 keywords = "blog,desenvolvedor,pessoal"
172 footerContent = "Coloque algum texto aqui."
173
174 [[languages.pt-br.menu.main]]
175 name = "Sobre"
176 weight = 1
177 url = "about/"
178
179 [[languages.pt-br.menu.main]]
180 name = "Blog"
181 weight = 2
182 url = "posts/"
183
184 [[languages.pt-br.menu.main]]
185 name = "Projetos"
186 weight = 3
187 url = "projects/"
188
189 [[languages.pt-br.menu.main]]
190 name = "Contato"
191 weight = 5
192 url = "contact/"