Finish the initial setup
This commit is contained in:
parent
29ea6d6564
commit
6f0767465e
5
content/_index.md
Normal file
5
content/_index.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
+++
|
||||||
|
title = ''
|
||||||
|
date = 2024-10-01T13:44:21+02:00
|
||||||
|
draft = true
|
||||||
|
+++
|
7
content/about.md
Normal file
7
content/about.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
+++
|
||||||
|
title = 'About'
|
||||||
|
date = 2024-10-01T17:00:04+02:00
|
||||||
|
draft = true
|
||||||
|
+++
|
||||||
|
|
||||||
|
We should have some description here, I guess
|
6
content/archives.md
Normal file
6
content/archives.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "Archive"
|
||||||
|
layout: "archives"
|
||||||
|
url: "/archives/"
|
||||||
|
summary: archives
|
||||||
|
---
|
5
content/search.md
Normal file
5
content/search.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "Search"
|
||||||
|
placeholder: Search ...
|
||||||
|
layout: "search"
|
||||||
|
---
|
67
hugo.toml
67
hugo.toml
@ -4,6 +4,61 @@ title = 'Bad Houseplants'
|
|||||||
theme = 'papermod'
|
theme = 'papermod'
|
||||||
enableGitInfo = true
|
enableGitInfo = true
|
||||||
|
|
||||||
|
enableInlineShortcodes = true
|
||||||
|
enableRobotsTXT = true
|
||||||
|
buildDrafts = false
|
||||||
|
buildFuture = false
|
||||||
|
buildExpired = false
|
||||||
|
enableEmoji = true
|
||||||
|
pygmentsUseClasses = true
|
||||||
|
mainsections = ["posts", "papermod"]
|
||||||
|
|
||||||
|
[minify]
|
||||||
|
disableXML = true
|
||||||
|
|
||||||
|
[params]
|
||||||
|
env = "production"
|
||||||
|
description = "Theme PaperMod - https://github.com/adityatelange/hugo-PaperMod"
|
||||||
|
author = "Theme PaperMod"
|
||||||
|
defaultTheme = "auto"
|
||||||
|
ShowShareButtons = true
|
||||||
|
ShowReadingTime = true
|
||||||
|
displayFullLangName = true
|
||||||
|
ShowPostNavLinks = true
|
||||||
|
ShowBreadCrumbs = true
|
||||||
|
ShowCodeCopyButtons = true
|
||||||
|
ShowRssButtonInSectionTermList = true
|
||||||
|
ShowAllPagesInArchive = true
|
||||||
|
ShowPageNums = true
|
||||||
|
ShowToc = true
|
||||||
|
[params.homeInfoParams]
|
||||||
|
Title = "Bad Houseplants"
|
||||||
|
Content = """
|
||||||
|
Well, hello there.
|
||||||
|
Here you're supposed to find some music reviews
|
||||||
|
"""
|
||||||
|
[params.editPost]
|
||||||
|
URL = "https://gitea.badhouseplants.net/badhouseplants/badhouseplants-net/content"
|
||||||
|
Text = "Suggest a change"
|
||||||
|
appendFilePath = true
|
||||||
|
|
||||||
|
[params.assets]
|
||||||
|
disableHLJS = true
|
||||||
|
|
||||||
|
[markup.goldmark.renderer]
|
||||||
|
unsafe = true
|
||||||
|
|
||||||
|
[markup.highlight]
|
||||||
|
noClasses = false
|
||||||
|
|
||||||
|
[services.instagram]
|
||||||
|
disableInlineCSS = true
|
||||||
|
|
||||||
|
[services.twitter]
|
||||||
|
disableInlineCSS = true
|
||||||
|
# minifyOutput: true= true
|
||||||
|
|
||||||
|
# minifyOutput: true
|
||||||
[languages.en]
|
[languages.en]
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
weight = 1
|
weight = 1
|
||||||
@ -16,18 +71,24 @@ weight = 1
|
|||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
name = "Archive"
|
name = "Archive"
|
||||||
url = "archives"
|
url = "archives"
|
||||||
weight = 5
|
weight = 4
|
||||||
|
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
name = "Search"
|
name = "Search"
|
||||||
url = "search/"
|
url = "search/"
|
||||||
weight = 10
|
weight = 1
|
||||||
|
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
name = "Tags"
|
name = "Tags"
|
||||||
url = "tags/"
|
url = "tags/"
|
||||||
weight = 10
|
weight = 2
|
||||||
|
|
||||||
|
[[languages.en.menu.main]]
|
||||||
|
name = "About"
|
||||||
|
url = "about"
|
||||||
|
weight = 3
|
||||||
|
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
name = "Source"
|
name = "Source"
|
||||||
url = "https://gitea.badhouseplants.net/badhouseplants/badhouseplants-net"
|
url = "https://gitea.badhouseplants.net/badhouseplants/badhouseplants-net"
|
||||||
|
weight = 5
|
||||||
|
4
layouts/shortcodes/test.md
Normal file
4
layouts/shortcodes/test.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{{ if not (eq .Page.GitInfo.Body "")}}
|
||||||
|
## Author's comment
|
||||||
|
{{ .Page.GitInfo.Body }}
|
||||||
|
{{ end }}
|
Loading…
Reference in New Issue
Block a user