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