Update sections to include 'weeknote' and add weekly script to Makefile

This commit is contained in:
Fundor333
2025-03-22 19:05:28 +01:00
parent 7778efe2d1
commit 3365ff76f9
3 changed files with 9 additions and 3 deletions

View File

@@ -9,9 +9,9 @@ defaultColor:
# Setting it to 'auto' applies the color scheme based on the visitor's device color preference.If you don't specify anything, ignore this parameter, or leave it blank, # Setting it to 'auto' applies the color scheme based on the visitor's device color preference.If you don't specify anything, ignore this parameter, or leave it blank,
# the default value is set to 'auto'. # the default value is set to 'auto'.
# You can take a look at layouts/index.html for more information. # You can take a look at layouts/index.html for more information.
mainSections: ["post", "photos"] mainSections: ["post", "photos", "weeknote"]
feedSections: ["post", "photos", "micro"] feedSections: ["post", "photos", "micro", "weeknote"]
commentSections: ["post", "photos", "micro"] commentSections: ["post", "photos", "micro", "weeknote"]
suggestionSections: ["post"] suggestionSections: ["post"]
toc: false # set to false to disable table of contents 'globally' toc: false # set to false to disable table of contents 'globally'
tocOpen: false # set to true to open table of contents by default tocOpen: false # set to true to open table of contents by default

View File

@@ -7,6 +7,8 @@
<i class="fa-regular fa-thought-bubble fa-flip-horizontal"></i> <i class="fa-regular fa-thought-bubble fa-flip-horizontal"></i>
{{ else if eq .Type "photos" }} {{ else if eq .Type "photos" }}
<i class="fa-regular fa-camera-retro"></i> <i class="fa-regular fa-camera-retro"></i>
{{ else if eq .Type "weeknote" }}
<i class="fa-regular fa-alien-8bit"></i>
{{ else }} {{ else }}
<i class="fa-regular fa-cookie-bite"></i> <i class="fa-regular fa-cookie-bite"></i>
{{ end}} {{ end}}

View File

@@ -87,3 +87,7 @@ deploy_prod: ## Ready to deploy
.PHONY: submodule .PHONY: submodule
submodule: ## Get submodule for this repo submodule: ## Get submodule for this repo
git submodule update --init --recursive git submodule update --init --recursive
.PHONY: weekly
weekly: ## Weekly script
@weeknote -config weeknote-config.json