Update sections to include 'weeknote' and add weekly script to Makefile
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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}}
|
||||||
|
|||||||
4
makefile
4
makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user