Enable & Configure PaperMod

This commit is contained in:
me committed 2026-10-26 12:04:48 -07:00
1 parent 08b105e0a3
commit c731262901
5 files changed
+223 -74

No files matched your search

+220 -71
View File
@@ -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 = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
# 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: '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
#
# 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 = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
# # 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 ###
@@ -24,6 +24,6 @@
{{ end }}
</div>
{{ partial "javascript.html" . }}
{{/* partial "javascript.html" . */}}
</body>
</html>
@@ -134,6 +134,6 @@
{{ end }}
</ul>
</div>
{{ partial "pagination-list.html" . }}
{{/* partial "pagination-list.html" . */}}
</main>
{{ end }}
File renamed without changes.
+1 -1
View File
@@ -162,7 +162,7 @@
</div>
{{- end }}
{{ partial "pagination-single.html" . }}
{{/* partial "pagination-single.html" . */}}
{{ if .Site.Config.Services.Disqus.Shortname }}
{{ if not (eq .Params.Comments "false") }}