Skip to content

Commit

Permalink
Hardening examplesite against misconfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Jul 1, 2021
1 parent bb6badd commit bd99839
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
baseURL = "/"
baseURL = "https://example.com"
languageCode = "en-US"
defaultContentLanguage = "en"

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/cont/markdown.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/cont/pages/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bd99839

Please sign in to comment.