Update mainSections to include "now" and modify icon for micro posts
This commit is contained in:
@@ -12,7 +12,7 @@ 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,
|
||||
# the default value is set to 'auto'.
|
||||
# You can take a look at layouts/index.html for more information.
|
||||
mainSections: ["post", "photos", "weeknote"]
|
||||
mainSections: ["post", "photos", "weeknote", "now"]
|
||||
secondarysections: ["micro"]
|
||||
feedSections: ["post", "photos", "micro", "weeknote"]
|
||||
commentSections: ["post", "photos", "micro", "weeknote", "series"]
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{{if eq .Type "post" }}
|
||||
<i class="fa-whiteboard fa-semibold fa-newspaper fa-xl"></i>
|
||||
{{ else if eq .Type "micro" }}
|
||||
<i class="fa-whiteboard fa-semibold fa-quotes fa-xl"></i>
|
||||
<i class="fa-whiteboard fa-semibold fa-thumbtack fa-rotate-by fa-xl" style="--fa-rotate-angle: -45deg;"></i>
|
||||
{{ else if eq .Type "photos" }}
|
||||
<i class="fa-whiteboard fa-semibold fa-camera fa-xl"></i>
|
||||
{{ else if eq .Type "weeknote" }}
|
||||
|
||||
Reference in New Issue
Block a user