theme was added and config was updated

This commit is contained in:
James Tombleson 2023-11-26 11:00:14 -08:00
parent a164880171
commit 99ca21be36
3 changed files with 110 additions and 13 deletions

View File

@ -1,13 +1,24 @@
#baseURL: "https://cookbook.jamestombleson.com" baseURL: "https://cookbook.jamestombleson.com"
languageCode: "en-us" languageCode: "en-us"
title: "Tombleson Family Cookbook" title: "Tombleson Family Cookbook"
theme: "github.com/jtom38/hugo-cookbook" #theme: "github.com/jtom38/hugo-cookbook"
theme: "github.com/CaiJimmy/hugo-theme-stack"
enableEmoji: true enableEmoji: true
taxonomies: features:
tag: "tags" - "disqus"
cuisines: "cuisine" - "photoswipe"
courses: "course" - "opengraph"
- "widgets"
- "darkmode"
- "table of contents"
- "search"
#taxonomies:
# tag: "tags"
# cuisines: "cuisine"
# courses: "course"
# Used to bring the /tags/ forward # Used to bring the /tags/ forward
preserveTaxonomyNames: true preserveTaxonomyNames: true
@ -17,11 +28,96 @@ sitemap:
filename: sitemap.xml filename: sitemap.xml
priority: 0.5 priority: 0.5
links:
- title: GitHub
description: GitHub is the world's largest software development platform.
website: https://github.com
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
params: params:
mainSections:
- recipes
featuredImageField: image
rssFullContent: true
#favicon:
sidebar:
compact: true
emoji: true
article:
math: false
toc: false
readingTime: false
#license:
# enabled: true
# default: Licensed under CC BY-NC-SA 4.0
widgets:
homepage:
- type: search
- type: archives
params:
limit: 5
- type: categories
params:
limit: 10
- type: tag-cloud
params:
limit: 10
page:
- type: toc
colorScheme:
# Display toggle
toggle: true
# Available values: auto, light, dark
default: auto
imageProcessing:
cover:
enabled: false
content:
enabled: false
menu:
main: []
#name: title (optional)
#weight: -90
#params:
# icon: icon-name
social:
- identifier: github
name: GitHub
url: https://github.com/CaiJimmy/hugo-theme-stack
params:
icon: brand-github
- identifier: twitter
name: Twitter
url: https://twitter.com
params:
icon: brand-twitter
related:
includeNewer: true
threshold: 60
toLower: false
indices:
- name: tags
weight: 100
- name: categories
weight: 200
#params:
# hugo-cookbook params # hugo-cookbook params
DisplayRssButton: true #DisplayRssButton: true
## This tells the theme to use the list display view ## This tells the theme to use the list display view
UseListRows: true #UseListRows: true
## Enable this line to use the card view ## Enable this line to use the card view
#UseCardView: true #UseCardView: true

5
go.mod
View File

@ -2,4 +2,7 @@ module github.com/jtom38/cookbook
go 1.19 go 1.19
require github.com/jtom38/hugo-cookbook v0.2.4 // indirect require (
github.com/CaiJimmy/hugo-theme-stack v2.6.0+incompatible // indirect
github.com/jtom38/hugo-cookbook v0.2.4 // indirect
)

6
go.sum
View File

@ -1,6 +1,4 @@
github.com/jtom38/hugo-cookbook v0.2.2 h1:goWqhq0e32gssQ3jTXzOOPol14Dvl/Zi1TI/4cu//Cc= github.com/CaiJimmy/hugo-theme-stack v2.6.0+incompatible h1:HOf88geWucQwmTmNCFgHNidVTXjv9jLz3UA72gyFQTE=
github.com/jtom38/hugo-cookbook v0.2.2/go.mod h1:6vjLiMbIqQBhRIa8M7bTvUAuv6WqXbswSnFAvB2fjSM= github.com/CaiJimmy/hugo-theme-stack v2.6.0+incompatible/go.mod h1:Tacngkxf7u2kfufDzxoX7yqktykqc/Vi1LwJOHGE6Nw=
github.com/jtom38/hugo-cookbook v0.2.3 h1:hUikWj2c8BXKsV5RHKHV9QYnRFBF7insXUfRDA/1mww=
github.com/jtom38/hugo-cookbook v0.2.3/go.mod h1:6vjLiMbIqQBhRIa8M7bTvUAuv6WqXbswSnFAvB2fjSM=
github.com/jtom38/hugo-cookbook v0.2.4 h1:cPSvKvqtrvyF2NJ/kRx405SeESD55+WZ1hYmDBvxFGI= github.com/jtom38/hugo-cookbook v0.2.4 h1:cPSvKvqtrvyF2NJ/kRx405SeESD55+WZ1hYmDBvxFGI=
github.com/jtom38/hugo-cookbook v0.2.4/go.mod h1:6vjLiMbIqQBhRIa8M7bTvUAuv6WqXbswSnFAvB2fjSM= github.com/jtom38/hugo-cookbook v0.2.4/go.mod h1:6vjLiMbIqQBhRIa8M7bTvUAuv6WqXbswSnFAvB2fjSM=