diff --git a/hugo.yaml b/hugo.yaml index 1c769c2..664662a 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -10,8 +10,8 @@ subtitle: "My recipes, blogposts, musings, and more." author: Chad Michael Greenwood email: me@hyperling.com -#paginate = 25 -paginate: 99999 +pagination: + pagerSize: 999999 markup: goldmark: @@ -35,23 +35,94 @@ markup: ### End My Params ### +### Menu ### -### Theme ### +taxonomies: + categories : "categories" + tags : "tags" + series : "series" + +menu: + main: + - identifier : "01-search" + name : "Search" + url : "/search" + weight : 00 # 0 goes to the end, 1 goes to the front. + + - identifier : "10-all" + name : "All" + url : "/posts" + weight : 10 + + - identifier : "11-tags" + parent : "10-all" + name : "Tags" + url : "/tags" + weight : 11 + + - identifier : "12-cats" + parent : "10-all" + name : "Categories" + url : "/categories" + weight : 12 + + - identifier : "20-blog" + name : "Articles" + url : "/categories/articles" + weight : 20 + + - identifier : "40-recipes" + name : "Recipes" + url : "/categories/recipes" + weight : 40 + + - identifier : "60-poetry" + name : "Poetry" + url : "/categories/musings" + weight : 60 + + #- identifier : "70-guides" + # name : "Guides" + # url : "/categories/guides" + # weight : 70 + + - identifier : "80-books" + name : "Books" + url : "/categories/books" #"https://hyperling.com/books" + weight : 80 + + - identifier : "90-videos" + name : "Videos" + url : "/categories/videos" + weight : 90 + +### End Menu ### + +### PaperMod ### # Seems pretty good, just need to add more config params so it acts better. theme: ["PaperMod"] -# Main Documentation -# https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/docs/config.md +## Search - Needed ## +outputs: + home: + - HTML + - RSS + - JSON -# Favicon documentation for this theme. -# https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/docs/favicons.md -# Generator -# https://realfavicongenerator.net/your-favicon-is-ready +### Params ### -## Theme Suggested Params ## -# The parameters below were copied, modified, or inspired from: -# https://github.com/rhazdon/hugo-theme-hello-friend-ng?tab=readme-ov-file#how-to-configure params: + + ## Search - Optional ## + fuseOpts: + isCaseSensitive: false + shouldSort: true + location: 0 + distance: 1000 + threshold: 0.4 + minMatchCharLength: 0 + keys: ["title", "permalink", "summary", "content"] + dateform : "January 2, 2006" dateformShort : "Jan 2" dateformNum : "2006-01-02" @@ -87,11 +158,6 @@ params: odyseeVideoWidthPercentage: 80 # End My Custom Params # -taxonomies: - categories : "categories" - tags : "tags" - series : "series" - languages: en: title: "Hyperling's Written Works" @@ -118,61 +184,144 @@ languages: # copyright = 'CC BY-NC 4.0' # readOtherPosts = "Read other posts" -# And you can even create generic menu -menu: - main: - - identifier : "00-all" - name : "All" - url : "/posts" - weight : 1 +### End PaperMod ### - - identifier : "01-tags" - parent : "00-all" - name : "Tags" - url : "/tags" - weight : 1 - - - identifier : "02-cats" - parent : "00-all" - name : "Categories" - url : "/categories" - weight : 2 - - - identifier : "20-blog" - name : "Articles" - url : "/categories/articles" - weight : 2 - - - identifier : "40-recipes" - name : "Recipes" - url : "/categories/recipes" - weight : 4 - - - identifier : "60-poetry" - name : "Poetry" - url : "/categories/musings" - weight : 6 - - #- identifier : "70-guides" - # name : "Guides" - # url : "/categories/guides" - # weight : 7 - - - identifier : "80-books" - name : "Books" - url : "/categories/books" #"https://hyperling.com/books" - weight : 8 - - - identifier : "90-videos" - name : "Videos" - url : "/categories/videos" - weight : 9 - -# End parameters related to: -# https://github.com/rhazdon/hugo-theme-hello-friend-ng?tab=readme-ov-file#how-to-configure -## - -### End Theme ### +# ### hello-friend-ng ### +# theme: [hello-friend-ng" +# +# # Main Documentation +# # https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/docs/config.md +# +# # Favicon documentation for this theme. +# # https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/docs/favicons.md +# # Generator +# # https://realfavicongenerator.net/your-favicon-is-ready +# +# ## Theme Suggested Params ## +# # The parameters below were copied, modified, or inspired from: +# # https://github.com/rhazdon/hugo-theme-hello-friend-ng?tab=readme-ov-file#how-to-configure +# params: +# dateform : "January 2, 2006" +# dateformShort : "Jan 2" +# dateformNum : "2006-01-02" +# dateformNumTime : "2006-01-02 15:04" +# +# # Subtitle for home +# homeSubtitle: "Blogposts, recipes, musings, and more." +# +# # Set disableReadOtherPosts to true in order to hide the links to other posts. +# disableReadOtherPosts: false +# +# # Enable sharing buttons, if you like +# enableSharingButtons: false +# +# # Show a global language switcher in the navigation bar +# enableGlobalLanguageMenu: false +# +# # Metadata mostly used in document's head +# description: "Written works by Hyperling." +# keywords: "homepage, blog, recipes, crafts, food, seasonings, woodworking, poetry, poems" +# images: [""] +# author: Chad Michael Greenwood +# +# # Unsure if actually being used. +# email: me@hyperling.com +# +# # My Custom Params # +# authorBug: "Chad Michael \"Bug\" Greenwood" +# authorHyperling: "Chad Michael \"Hyperling\" Greenwood" +# authorHyperVegan: "Chad Michael \"HyperVegan\" Greenwood" +# authorDefault: "Chad Michael Greenwood" +# +# odyseeVideoWidthPercentage: 80 +# # End My Custom Params # +# +# taxonomies: +# categories : "categories" +# tags : "tags" +# series : "series" +# +# languages: +# en: +# title: "Hyperling's Written Works" +# copyright: 'CC BY-NC 4.0' +# +# params: +# #subtitle = "Blogposts, recipes, musings, and more." +# readOtherPosts: "Read other posts" +# keywords: "" +# +# logo: +# logoText: "Back to Main Site" +# logoCursorColor: "#663399" +# logoHomeLink: "https://hyperling.com" +# logoNewTab: true +# # or +# # +# # path = "/img/your-example-logo.svg" +# # alt = "Your example logo alt text" +# +# # [languages.es] +# # title = "Hola Amigo!" +# # keywords = "" +# # copyright = 'CC BY-NC 4.0' +# # readOtherPosts = "Read other posts" +# +# # And you can even create generic menu +# menu: +# main: +# - identifier : "00-all" +# name : "All" +# url : "/posts" +# weight : 1 +# +# - identifier : "01-tags" +# parent : "00-all" +# name : "Tags" +# url : "/tags" +# weight : 1 +# +# - identifier : "02-cats" +# parent : "00-all" +# name : "Categories" +# url : "/categories" +# weight : 2 +# +# - identifier : "20-blog" +# name : "Articles" +# url : "/categories/articles" +# weight : 2 +# +# - identifier : "40-recipes" +# name : "Recipes" +# url : "/categories/recipes" +# weight : 4 +# +# - identifier : "60-poetry" +# name : "Poetry" +# url : "/categories/musings" +# weight : 6 +# +# #- identifier : "70-guides" +# # name : "Guides" +# # url : "/categories/guides" +# # weight : 7 +# +# - identifier : "80-books" +# name : "Books" +# url : "/categories/books" #"https://hyperling.com/books" +# weight : 8 +# +# - identifier : "90-videos" +# name : "Videos" +# url : "/categories/videos" +# weight : 9 +# +# # End parameters related to: +# # https://github.com/rhazdon/hugo-theme-hello-friend-ng?tab=readme-ov-file#how-to-configure +# ## +# +# ### End hello-friend-ng ### ### Failed Themes ### diff --git a/layouts/_default/baseof.html b/layouts/_default/disabled-baseof.html similarity index 93% rename from layouts/_default/baseof.html rename to layouts/_default/disabled-baseof.html index 65fa290..353e314 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/disabled-baseof.html @@ -24,6 +24,6 @@ {{ end }} - {{ partial "javascript.html" . }} + {{/* partial "javascript.html" . */}} diff --git a/layouts/_default/list.html b/layouts/_default/disabled-list.html similarity index 99% rename from layouts/_default/list.html rename to layouts/_default/disabled-list.html index f80d729..0a862bb 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/disabled-list.html @@ -134,6 +134,6 @@ {{ end }} - {{ partial "pagination-list.html" . }} + {{/* partial "pagination-list.html" . */}} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/disabled-single.html similarity index 100% rename from layouts/_default/single.html rename to layouts/_default/disabled-single.html diff --git a/layouts/posts/single.html b/layouts/posts/single.html index e0efb90..fb56a86 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -162,7 +162,7 @@ {{- end }} - {{ partial "pagination-single.html" . }} + {{/* partial "pagination-single.html" . */}} {{ if .Site.Config.Services.Disqus.Shortname }} {{ if not (eq .Params.Comments "false") }}