You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Custom HTML, JavaScript, and CSS](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/#custom-head-and-footer-html)
34
34
-[Configurable Table of Contents](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/#table-of-contents)
35
-
- Español (Spanish/Catalan), Deutsch (German), Français (French), Polski (Polish), Português Brasileiro (Brazilian Portugese), and Русский (Russian) [translations](https://github.com/gokarna-theme/gokarna-hugo/tree/main/i18n)
35
+
- Español (Spanish/Catalan), Deutsch (German), Français (French), Polski (Polish), Português Brasileiro (Brazilian Portuguese), and Русский (Russian) [translations](https://github.com/gokarna-theme/gokarna-hugo/tree/main/i18n)
Copy file name to clipboardExpand all lines: exampleSite/content/posts/theme-documentation-advanced.md
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This is my blog.
34
34
35
35
### Page
36
36
37
-
We introduced this type to distinguish between blog posts and normal markdown pages. The reason to create this was to give the user complete freedom in creating their website. You can use this to create a portfolio of your projects or showcase your designs. The possibilites are endless and the choice is yours.
37
+
We introduced this type to distinguish between blog posts and normal markdown pages. The reason to create this was to give the user complete freedom in creating their website. You can use this to create a portfolio of your projects or showcase your designs. The possibilities are endless and the choice is yours.
38
38
39
39
```markdown
40
40
---
@@ -73,7 +73,7 @@ Detailed configuration can be found on [Hugo's official documentation](https://g
73
73
74
74
## Weights
75
75
76
-
The `weight` attribute can be added in the markdown metadata for `post` types. We have an option in our config.toml: `params.showPostsOnHomePage` which allows you to:
76
+
The `weight` attribute can be added in the markdown metadata for `post` types. We have an option in our hugo.toml: `params.showPostsOnHomePage` which allows you to:
77
77
78
78
1. Show popular posts on home page if the value is set to `popular`. It sorts the all the posts by it's weight attribute in ascending order.
79
79
2. Show recent posts on home page if the value is set to `recent`
@@ -210,7 +210,7 @@ Integration with any analytics tool: This was a personal pet peeve. User privacy
210
210
211
211
We preferred privacy friendly tools like [Umami](https://umami.is/) & [Fathom Analytics](https://usefathom.com/), but the downside was that no theme supported them out of the box which led to either changing the theme source code or contributing supporting code to the original theme (both of which are good ways to extend the theme, but not our ideal choice)
212
212
213
-
Giving users the freedom to add anything in the HTML via config.toml seemed like an elegant way to solve the problem.
213
+
Giving users the freedom to add anything in the HTML via hugo.toml seemed like an elegant way to solve the problem.
214
214
215
215
```toml
216
216
[params]
@@ -219,16 +219,17 @@ Giving users the freedom to add anything in the HTML via config.toml seemed like
219
219
'''
220
220
```
221
221
222
-
### Katex
222
+
### KaTeX
223
223
224
-
Katex is a math typesetting library for the web which lets you write beautiful equations. To use it, add the javascript as mentioned in [their documentation](https://katex.org/docs/browser.html) in our `params.customHeadHTML`.
224
+
KaTeX is a math typesetting library for the web which lets you write beautiful equations. To use it, add the javascript as mentioned in [their documentation](https://katex.org/docs/browser.html) in our `params.customHeadHTML`.
@@ -246,13 +247,12 @@ Katex is a math typesetting library for the web which lets you write beautiful e
246
247
'''
247
248
```
248
249
249
-
> Note: Make sure you use the latest version of katex and use the correct script tags as described in [their documentation](https://katex.org/docs/browser.html)
250
+
> Note: Make sure you use the latest version of KaTeX and use the correct script tags as described in [their documentation](https://katex.org/docs/browser.html)
250
251
251
-
Then the equation `$$y_t = \beta_0 + \beta_1 x_t + \epsilon_t$$` wrapped by double `$$`would be displayed as:
252
+
Then the equation `$$y_t = \beta_0 + \beta_1 x_t + \epsilon_t$$` wrapped by double `$$`is displayed as:
252
253
253
254
$$y_t = \beta_0 + \beta_1 x_t + \epsilon_t$$
254
-
255
-
The equation `$y_t = \beta_0 + \beta_1 x_t + \epsilon_t$` wrapped by single `$` would be displayed inline as $y_t = \beta_0 + \beta_1 x_t + \epsilon_t$.
255
+
ihl equation `$y_t = \beta_0 + \beta_1 x_t + \epsilon_t$` wrapped by single `$` is displayed inline as $y_t = \beta_0 + \beta_1 x_t + \epsilon_t$.
256
256
257
257
### Comments
258
258
@@ -274,7 +274,7 @@ An example with commento:
274
274
275
275
Hugo lets you choose the color scheme for the codeblocks. You can choose from the options here: https://xyproto.github.io/splash/docs/all.html
276
276
277
-
After choosing your theme, just update the `pygmentsStyle` attribute in config.toml.
277
+
After choosing your theme, just update the `pygmentsStyle` attribute in hugo.toml.
278
278
279
279
```toml
280
280
pygmentsStyle = "monokai"
@@ -312,7 +312,7 @@ tags: ["hello", "world"]
312
312
---
313
313
```
314
314
315
-
and the `metaKeywords` specified in the config.toml:
315
+
and the `metaKeywords` specified in the hugo.toml:
316
316
317
317
```markdown
318
318
[params]
@@ -369,7 +369,7 @@ A post's date and description can be hidden if it has at least one tag listed in
369
369
370
370
Define the [copyright notice for your site](https://gohugo.io/methods/site/copyright/). The notice will only be displayed on [page Kinds](#content-types).
371
371
372
-
For example, the following configuration in `config.toml` and front matter respectively...
372
+
For example, the following configuration in `hugo.toml` and front matter respectively...
373
373
374
374
```toml
375
375
copyright = "Verbatim copying and distribution of this entire article are permitted worldwide, without royalty, in any medium, provided this notice is preserved."
Copy file name to clipboardExpand all lines: exampleSite/content/posts/theme-documentation-basics.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ The website can be automatically published and hosted with [Netlify](https://www
144
144
145
145
In addition to [Hugo global configuration](https://gohugo.io/overview/configuration/) and [menu configuration](#basic-configuration), Gokarna lets you define the following [parameters](https://gohugo.io/methods/site/params/) in your site configuration.
146
146
147
-
See this sample `config.toml`, which uses Gokarna's default values, and [exampleSite's `config.toml`](https://github.com/gokarna-theme/gokarna-hugo/blob/main/exampleSite/config.toml):
147
+
See this sample `hugo.toml`, which uses Gokarna's default values, and [exampleSite's `hugo.toml`](https://github.com/gokarna-theme/gokarna-hugo/blob/main/exampleSite/hugo.toml):
0 commit comments