Enable & Configure PaperMod
This commit is contained in:
1 parent
08b105e0a3
commit
c731262901
5 files changed
+223
-74
No files matched your search
@@ -10,8 +10,8 @@ subtitle: "My recipes, blogposts, musings, and more."
|
|||||||
author: Chad Michael Greenwood
|
author: Chad Michael Greenwood
|
||||||
email: me@hyperling.com
|
email: me@hyperling.com
|
||||||
|
|
||||||
#paginate = 25
|
pagination:
|
||||||
paginate: 99999
|
pagerSize: 999999
|
||||||
|
|
||||||
markup:
|
markup:
|
||||||
goldmark:
|
goldmark:
|
||||||
@@ -35,23 +35,94 @@ markup:
|
|||||||
|
|
||||||
### End My Params ###
|
### 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.
|
# Seems pretty good, just need to add more config params so it acts better.
|
||||||
theme: ["PaperMod"]
|
theme: ["PaperMod"]
|
||||||
|
|
||||||
# Main Documentation
|
## Search - Needed ##
|
||||||
# https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/docs/config.md
|
outputs:
|
||||||
|
home:
|
||||||
|
- HTML
|
||||||
|
- RSS
|
||||||
|
- JSON
|
||||||
|
|
||||||
# Favicon documentation for this theme.
|
### Params ###
|
||||||
# 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:
|
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"
|
dateform : "January 2, 2006"
|
||||||
dateformShort : "Jan 2"
|
dateformShort : "Jan 2"
|
||||||
dateformNum : "2006-01-02"
|
dateformNum : "2006-01-02"
|
||||||
@@ -87,11 +158,6 @@ params:
|
|||||||
odyseeVideoWidthPercentage: 80
|
odyseeVideoWidthPercentage: 80
|
||||||
# End My Custom Params #
|
# End My Custom Params #
|
||||||
|
|
||||||
taxonomies:
|
|
||||||
categories : "categories"
|
|
||||||
tags : "tags"
|
|
||||||
series : "series"
|
|
||||||
|
|
||||||
languages:
|
languages:
|
||||||
en:
|
en:
|
||||||
title: "Hyperling's Written Works"
|
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>'
|
# 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"
|
# readOtherPosts = "Read other posts"
|
||||||
|
|
||||||
# And you can even create generic menu
|
### End PaperMod ###
|
||||||
menu:
|
|
||||||
main:
|
|
||||||
- identifier : "00-all"
|
|
||||||
name : "All"
|
|
||||||
url : "/posts"
|
|
||||||
weight : 1
|
|
||||||
|
|
||||||
- identifier : "01-tags"
|
# ### hello-friend-ng ###
|
||||||
parent : "00-all"
|
# theme: [hello-friend-ng"
|
||||||
name : "Tags"
|
#
|
||||||
url : "/tags"
|
# # Main Documentation
|
||||||
weight : 1
|
# # https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/docs/config.md
|
||||||
|
#
|
||||||
- identifier : "02-cats"
|
# # Favicon documentation for this theme.
|
||||||
parent : "00-all"
|
# # https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/docs/favicons.md
|
||||||
name : "Categories"
|
# # Generator
|
||||||
url : "/categories"
|
# # https://realfavicongenerator.net/your-favicon-is-ready
|
||||||
weight : 2
|
#
|
||||||
|
# ## Theme Suggested Params ##
|
||||||
- identifier : "20-blog"
|
# # The parameters below were copied, modified, or inspired from:
|
||||||
name : "Articles"
|
# # https://github.com/rhazdon/hugo-theme-hello-friend-ng?tab=readme-ov-file#how-to-configure
|
||||||
url : "/categories/articles"
|
# params:
|
||||||
weight : 2
|
# dateform : "January 2, 2006"
|
||||||
|
# dateformShort : "Jan 2"
|
||||||
- identifier : "40-recipes"
|
# dateformNum : "2006-01-02"
|
||||||
name : "Recipes"
|
# dateformNumTime : "2006-01-02 15:04"
|
||||||
url : "/categories/recipes"
|
#
|
||||||
weight : 4
|
# # Subtitle for home
|
||||||
|
# homeSubtitle: "Blogposts, recipes, musings, and more."
|
||||||
- identifier : "60-poetry"
|
#
|
||||||
name : "Poetry"
|
# # Set disableReadOtherPosts to true in order to hide the links to other posts.
|
||||||
url : "/categories/musings"
|
# disableReadOtherPosts: false
|
||||||
weight : 6
|
#
|
||||||
|
# # Enable sharing buttons, if you like
|
||||||
#- identifier : "70-guides"
|
# enableSharingButtons: false
|
||||||
# name : "Guides"
|
#
|
||||||
# url : "/categories/guides"
|
# # Show a global language switcher in the navigation bar
|
||||||
# weight : 7
|
# enableGlobalLanguageMenu: false
|
||||||
|
#
|
||||||
- identifier : "80-books"
|
# # Metadata mostly used in document's head
|
||||||
name : "Books"
|
# description: "Written works by Hyperling."
|
||||||
url : "/categories/books" #"https://hyperling.com/books"
|
# keywords: "homepage, blog, recipes, crafts, food, seasonings, woodworking, poetry, poems"
|
||||||
weight : 8
|
# images: [""]
|
||||||
|
# author: Chad Michael Greenwood
|
||||||
- identifier : "90-videos"
|
#
|
||||||
name : "Videos"
|
# # Unsure if actually being used.
|
||||||
url : "/categories/videos"
|
# email: me@hyperling.com
|
||||||
weight : 9
|
#
|
||||||
|
# # My Custom Params #
|
||||||
# End parameters related to:
|
# authorBug: "Chad Michael \"Bug\" Greenwood"
|
||||||
# https://github.com/rhazdon/hugo-theme-hello-friend-ng?tab=readme-ov-file#how-to-configure
|
# authorHyperling: "Chad Michael \"Hyperling\" Greenwood"
|
||||||
##
|
# authorHyperVegan: "Chad Michael \"HyperVegan\" Greenwood"
|
||||||
|
# authorDefault: "Chad Michael Greenwood"
|
||||||
### End Theme ###
|
#
|
||||||
|
# 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 ###
|
### Failed Themes ###
|
||||||
|
|||||||
@@ -24,6 +24,6 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ partial "javascript.html" . }}
|
{{/* partial "javascript.html" . */}}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -134,6 +134,6 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{{ partial "pagination-list.html" . }}
|
{{/* partial "pagination-list.html" . */}}
|
||||||
</main>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
File renamed without changes.
@@ -162,7 +162,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{ partial "pagination-single.html" . }}
|
{{/* partial "pagination-single.html" . */}}
|
||||||
|
|
||||||
{{ if .Site.Config.Services.Disqus.Shortname }}
|
{{ if .Site.Config.Services.Disqus.Shortname }}
|
||||||
{{ if not (eq .Params.Comments "false") }}
|
{{ if not (eq .Params.Comments "false") }}
|
||||||
|
|||||||
Reference in new issue
Block a user