diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..f2f38eb --- /dev/null +++ b/content/_index.md @@ -0,0 +1,5 @@ ++++ +title = '' +date = 2024-10-01T13:44:21+02:00 +draft = true ++++ diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..1d45b48 --- /dev/null +++ b/content/about.md @@ -0,0 +1,7 @@ ++++ +title = 'About' +date = 2024-10-01T17:00:04+02:00 +draft = true ++++ + +We should have some description here, I guess diff --git a/content/archives.md b/content/archives.md new file mode 100644 index 0000000..5628e34 --- /dev/null +++ b/content/archives.md @@ -0,0 +1,6 @@ +--- +title: "Archive" +layout: "archives" +url: "/archives/" +summary: archives +--- diff --git a/content/search.md b/content/search.md new file mode 100644 index 0000000..06cebc3 --- /dev/null +++ b/content/search.md @@ -0,0 +1,5 @@ +--- +title: "Search" +placeholder: Search ... +layout: "search" +--- diff --git a/hugo.toml b/hugo.toml index f9d9522..286781a 100644 --- a/hugo.toml +++ b/hugo.toml @@ -4,6 +4,61 @@ title = 'Bad Houseplants' theme = 'papermod' 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] languageName = "English" weight = 1 @@ -16,18 +71,24 @@ weight = 1 [[languages.en.menu.main]] name = "Archive" url = "archives" -weight = 5 +weight = 4 [[languages.en.menu.main]] name = "Search" url = "search/" -weight = 10 +weight = 1 [[languages.en.menu.main]] name = "Tags" url = "tags/" -weight = 10 +weight = 2 + +[[languages.en.menu.main]] +name = "About" +url = "about" +weight = 3 [[languages.en.menu.main]] name = "Source" url = "https://gitea.badhouseplants.net/badhouseplants/badhouseplants-net" +weight = 5 diff --git a/layouts/shortcodes/test.md b/layouts/shortcodes/test.md new file mode 100644 index 0000000..24186c1 --- /dev/null +++ b/layouts/shortcodes/test.md @@ -0,0 +1,4 @@ +{{ if not (eq .Page.GitInfo.Body "")}} +## Author's comment +{{ .Page.GitInfo.Body }} +{{ end }}