Hardening examplesite against misconfiguration

This commit is contained in:
Sören Weber 2021-07-01 21:47:17 +02:00
parent bb6baddde4
commit bd9983978b
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
baseURL = "/"
baseURL = "https://example.com"
languageCode = "en-US"
defaultContentLanguage = "en"

View file

@ -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:

View file

@ -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