mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 20:12:03 +08:00
Hardening examplesite against misconfiguration
This commit is contained in:
parent
bb6baddde4
commit
bd9983978b
@ -1,4 +1,4 @@
|
|||||||
baseURL = "/"
|
baseURL = "https://example.com"
|
||||||
languageCode = "en-US"
|
languageCode = "en-US"
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
|
|
||||||
|
@ -429,7 +429,7 @@ HTML:
|
|||||||
|
|
||||||
GFM, or "GitHub Flavored Markdown" also supports syntax highlighting. To activate it, simply add the file extension of the language you want to use directly after the first code "fence", ` ```js `, and syntax highlighting will automatically be applied in the rendered HTML.
|
GFM, or "GitHub Flavored Markdown" also supports syntax highlighting. To activate it, simply add the file extension of the language you want to use directly after the first code "fence", ` ```js `, and syntax highlighting will automatically be applied in the rendered HTML.
|
||||||
|
|
||||||
See [Code Highlighting]({{< ref "syntaxhighlight.md" >}}) for additional documentation.
|
See [Code Highlighting]({{% relref "syntaxhighlight.md" %}}) for additional documentation.
|
||||||
|
|
||||||
For example, to apply syntax highlighting to JavaScript code:
|
For example, to apply syntax highlighting to JavaScript code:
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ Hugo provides a `new` command to create a new website.
|
|||||||
hugo new site <new_project>
|
hugo new site <new_project>
|
||||||
```
|
```
|
||||||
|
|
||||||
**Hugo-theme-relearn** provides [archetypes]({{< relref "cont/archetypes.en.md" >}}) to help you create this kind of pages.
|
**Hugo-theme-relearn** provides [archetypes]({{%relref "cont/archetypes.en.md" %}}) to help you create this kind of pages.
|
||||||
|
|
||||||
## Front Matter configuration
|
## Front Matter configuration
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user