Move information on layouts into main README since Hugo was actually trying to parse it as a layout file.

This commit is contained in:
2025-11-21 11:23:52 -07:00
parent ed79eb891c
commit 80f8880aa9
2 changed files with 36 additions and 17 deletions

View File

@@ -7,3 +7,39 @@ Orignally created to move my recipes from a local flash drive to a small and sim
This website is going to be turned into something bigger, like a blog site of sorts.
Subdomain is going to be changed to musings., writings., articles., blog., works., or something more appropriate. [TBD/TODO]
# Project Structure
## layouts
### _default
TBD
### partials
TBD
### Short Codes
Short codes provide code utility in content files. They can call partials but not other short codes.
`comment.html` is intentionally blank, it allows comments in content files which do nothing.
For block comments, use `hide.html` such as:
```
{{< hide >}}
lalala
this is markdown content
# secret section not published yet
super duper unfinished content
{{< /hide >}}
```
### posts
Layouts specifically related to content under `/posts/`

View File

@@ -1,17 +0,0 @@
Short codes provide code utility in content files. They can call partials but not other short codes.
`comment.html` is intentionally blank, it allows comments in content files which do nothing.
For block comments, use `hide.html` such as:
```
{{< hide >}}
lalala
this is markdown content
# secret section not published yet
super duper unfinished content
{{< /hide >}}
```