Move information on layouts into main README since Hugo was actually trying to parse it as a layout file.
This commit is contained in:
36
README.md
36
README.md
@@ -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.
|
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]
|
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/`
|
||||||
|
|||||||
@@ -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 >}}
|
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user