From 99ca21be3623bf97f9691bad4a0669c74f6a6937 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sun, 26 Nov 2023 11:00:14 -0800 Subject: [PATCH] theme was added and config was updated --- config.yaml | 112 ++++++++++++++++++++++++++++++++++++++++++++++++---- go.mod | 5 ++- go.sum | 6 +-- 3 files changed, 110 insertions(+), 13 deletions(-) diff --git a/config.yaml b/config.yaml index d4fda20..c8e3c63 100644 --- a/config.yaml +++ b/config.yaml @@ -1,13 +1,24 @@ -#baseURL: "https://cookbook.jamestombleson.com" +baseURL: "https://cookbook.jamestombleson.com" languageCode: "en-us" 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 -taxonomies: - tag: "tags" - cuisines: "cuisine" - courses: "course" +features: + - "disqus" + - "photoswipe" + - "opengraph" + - "widgets" + - "darkmode" + - "table of contents" + - "search" + + +#taxonomies: +# tag: "tags" +# cuisines: "cuisine" +# courses: "course" # Used to bring the /tags/ forward preserveTaxonomyNames: true @@ -17,11 +28,96 @@ sitemap: filename: sitemap.xml 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: + 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 - DisplayRssButton: true + #DisplayRssButton: true ## This tells the theme to use the list display view - UseListRows: true + #UseListRows: true ## Enable this line to use the card view #UseCardView: true diff --git a/go.mod b/go.mod index 42a7a3e..e6363e9 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,7 @@ module github.com/jtom38/cookbook 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 +) diff --git a/go.sum b/go.sum index 6e930e8..e439967 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,4 @@ -github.com/jtom38/hugo-cookbook v0.2.2 h1:goWqhq0e32gssQ3jTXzOOPol14Dvl/Zi1TI/4cu//Cc= -github.com/jtom38/hugo-cookbook v0.2.2/go.mod h1:6vjLiMbIqQBhRIa8M7bTvUAuv6WqXbswSnFAvB2fjSM= -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/CaiJimmy/hugo-theme-stack v2.6.0+incompatible h1:HOf88geWucQwmTmNCFgHNidVTXjv9jLz3UA72gyFQTE= +github.com/CaiJimmy/hugo-theme-stack v2.6.0+incompatible/go.mod h1:Tacngkxf7u2kfufDzxoX7yqktykqc/Vi1LwJOHGE6Nw= github.com/jtom38/hugo-cookbook v0.2.4 h1:cPSvKvqtrvyF2NJ/kRx405SeESD55+WZ1hYmDBvxFGI= github.com/jtom38/hugo-cookbook v0.2.4/go.mod h1:6vjLiMbIqQBhRIa8M7bTvUAuv6WqXbswSnFAvB2fjSM=