mirror of
https://github.com/jbowdre/virtuallypotato.git
synced 2024-12-22 19:22:17 +00:00
update archetype for generating new posts
This commit is contained in:
parent
a60de6cb25
commit
4a02df1f57
2 changed files with 30 additions and 26 deletions
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}" # Title of the blog post.
|
||||
date: {{ .Date }} # Date of post creation.
|
||||
description: "Article description." # Description used for search engine.
|
||||
featured: true # Sets if post is a featured post, making appear on the home page side bar.
|
||||
draft: true # Sets whether to render this page. Draft of true will not be rendered.
|
||||
toc: false # Controls if a table of contents should be generated for first-level links automatically.
|
||||
# menu: main
|
||||
usePageBundles: false # Set to true to group assets like images in the same folder as this post.
|
||||
featureImage: "/images/path/file.jpg" # Sets featured image on blog post.
|
||||
featureImageAlt: 'Description of image' # Alternative text for featured image.
|
||||
featureImageCap: 'This is the featured image.' # Caption (optional).
|
||||
thumbnail: "/images/path/thumbnail.png" # Sets thumbnail image appearing inside card on homepage.
|
||||
shareImage: "/images/path/share.png" # Designate a separate image for social media sharing.
|
||||
codeMaxLines: 10 # Override global value for how many lines within a code block before auto-collapsing.
|
||||
codeLineNumbers: false # Override global value for showing of line numbers within code block.
|
||||
figurePositionShow: true # Override global value for showing the figure label.
|
||||
series:
|
||||
- Technology
|
||||
tags:
|
||||
- Tag_name1
|
||||
- Tag_name2
|
||||
# comment: false # Disable comment if false.
|
||||
---
|
||||
|
||||
**Insert Lead paragraph here.**
|
30
archetypes/posts.md
Normal file
30
archetypes/posts.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}" # Title of the blog post.
|
||||
date: {{ .Date }} # Date of post creation.
|
||||
description: "WHEREIN I explore creating posts with a Hugo Archetype" # Description used for search engine.
|
||||
featured: false # Sets if post is a featured post, making appear on the home page side bar.
|
||||
draft: true # Sets whether to render this page. Draft of true will not be rendered.
|
||||
toc: true # Controls if a table of contents should be generated for first-level links automatically.
|
||||
# menu: main
|
||||
usePageBundles: false # Set to true to group assets like images in the same folder as this post.
|
||||
# featureImage: "/images/posts-2021/12/file.png" # Sets featured image on blog post.
|
||||
# featureImageAlt: 'Description of image' # Alternative text for featured image.
|
||||
# featureImageCap: 'This is the featured image.' # Caption (optional).
|
||||
thumbnail: "/images/posts-2021/12/thumbnail.png" # Sets thumbnail image appearing inside card on homepage.
|
||||
# shareImage: "/images/path/share.png" # Designate a separate image for social media sharing.
|
||||
codeMaxLines: 10 # Override global value for how many lines within a code block before auto-collapsing.
|
||||
codeLineNumbers: false # Override global value for showing of line numbers within code block.
|
||||
figurePositionShow: true # Override global value for showing the figure label.
|
||||
series:
|
||||
- vra8
|
||||
- projects
|
||||
- scripts
|
||||
- tips
|
||||
tags:
|
||||
- vmware
|
||||
- linux
|
||||
- chromeos
|
||||
# comment: false # Disable comment if false.
|
||||
---
|
||||
|
||||
**Insert Lead paragraph here.**
|
Loading…
Reference in a new issue