Compare commits

...

10 Commits

6 changed files with 33 additions and 7 deletions

View File

@@ -3,6 +3,11 @@ languageCode = 'en'
defaultContentLanguage = 'en'
theme = "nightfall"
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[menu]
[[menu.header]]
name = "posts"
@@ -27,20 +32,34 @@ theme = "nightfall"
languageName = 'English'
weight = 2
[pagination]
pagerSize = 3
[params]
user = "hello"
hostname = "gohugo.io"
sitedescription = "Minimal dark theme for Hugo"
openLinksInNewTab = true
showMetadata = true # Master switch for all metadata display
showPublishedDate = true # Show published date on post page
published = true
showReadingTime = true # Show reading time on post page
readingTime = true
showTags = true # Show tags on post page
showAuthors = true # Show authors on post page
showCategories = true # Show categories on post page
[params.author]
name = "Hugo Nightfall"
avatar = "/avatar.png"
avatarSize = "size-m"
avatarFirst = true
[params.styles]
color = "blue"
readingTime = true
published = true
color = "orange"
# footerHtml = 'CC BY-SA 4.0, Built with <a href="https://gohugo.io" class="footerLink">Hugo</a> and <a href="https://github.com/LordMathis/hugo-theme-nightfall" class="footerLink">Nightfall</a> theme'

View File

@@ -1 +1 @@
config-nix.toml
config-nightfall.toml

View File

@@ -14,6 +14,13 @@ categories = [
]
series = ["Themes Guide"]
aliases = ["migrate-from-jekyl"]
showMetadata = true # Master switch
showPublishedDate = false # Hide published date for this post
showReadingTime = false # Hide reading time for this post
showTags = false # Show tags
showAuthors = true # Hide authors
showCategories = false # Show categories
+++
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.

BIN
static/avatar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB