From 4a02df1f57389975d9f4f6305b8f9806b5716892 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sat, 18 Dec 2021 12:43:12 -0600 Subject: [PATCH] update archetype for generating new posts --- archetypes/post.md | 26 -------------------------- archetypes/posts.md | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 26 deletions(-) delete mode 100644 archetypes/post.md create mode 100644 archetypes/posts.md diff --git a/archetypes/post.md b/archetypes/post.md deleted file mode 100644 index d6e6413..0000000 --- a/archetypes/post.md +++ /dev/null @@ -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.** diff --git a/archetypes/posts.md b/archetypes/posts.md new file mode 100644 index 0000000..ae47657 --- /dev/null +++ b/archetypes/posts.md @@ -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.**