mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
Hardening examplesite against misconfiguration
This commit is contained in:
parent
bb6baddde4
commit
bd9983978b
3 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
baseURL = "/"
|
||||
baseURL = "https://example.com"
|
||||
languageCode = "en-US"
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ Hugo provides a `new` command to create a new website.
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue