Finish default template and menu

This commit is contained in:
2024-05-30 17:30:11 +01:00
parent c9a548b2a4
commit 1f8587c663
2 changed files with 16 additions and 27 deletions

View File

@@ -1,31 +1,18 @@
--- ---
# Post
draft: true draft: true
tags: [] searchHidden: false
showToc: true # Table of Contents
author: "TrudeEH" author: "TrudeEH"
cover:
image: "<image path/url>" # image path/url
alt: "<alt text>" # alt text
caption: "<text>" # display caption under cover
relative: false # when using page bundles set this to true
hidden: true # only hide on current single page
description: ""
title: "{{ replace .Name "-" " " | title }}" title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }} date: {{ .Date }}
showToc: true tags: []
TocOpen: false description: ""
hidemeta: false cover:
comments: false image: "" # image path/url
disableHLJS: true # to disable highlights alt: "" # alt text
disableShare: false caption: "" # display caption under cover
disableHLJS: false relative: false # when using page bundles set this to true
hideSummary: false hidden: true # only hide on current single page
searchHidden: true
ShowReadingTime: true
ShowBreadCrumbs: true
ShowPostNavLinks: true
ShowWordCount: true
ShowRssButtonInSectionTermList: true
UseHugoToc: true
--- ---

View File

@@ -11,6 +11,8 @@ outputs:
- RSS - RSS
- JSON # necessary for search - JSON # necessary for search
taxonomies:
tag: tags
enableRobotsTXT: true enableRobotsTXT: true
buildDrafts: false buildDrafts: false
@@ -47,7 +49,7 @@ params:
comments: false comments: false
hidemeta: false hidemeta: false
hideSummary: false hideSummary: false
showtoc: false showtoc: true
tocopen: false tocopen: false
assets: assets:
@@ -119,8 +121,8 @@ params:
menu: menu:
main: main:
- identifier: categories - identifier: categories
name: Categories name: Posts
url: /categories/ url: /posts/
weight: 10 weight: 10
- identifier: tags - identifier: tags
name: Tags name: Tags