archetypes

This commit is contained in:
yrzam committed 2024-06-09 01:20:14 +04:00
1 parent a20589f2be
commit b3f8db6856
4 files changed
+9 -5

No files matched your search

+5 -1
View File
@@ -2,4 +2,8 @@
Some styling and general logic of my website, separated from content. No extra abstractions. Some styling and general logic of my website, separated from content. No extra abstractions.
Templates to copy are in the `init` directory. ```bash
cp themes/yrzam/init/hugo.yaml . # site config
hugo new _index.md --kind home # home template
hugo new yoursection --kind section # list template
```
File renamed without changes.
+4
View File
@@ -0,0 +1,4 @@
---
linkTitle: "{{ .File.ContentBaseName | humanize | lower }}"
title: "{{ .File.ContentBaseName | humanize }}"
---
-4
View File
@@ -1,4 +0,0 @@
---
linkTitle: "name"
Title: "Long name"
---