From 44da64b0f441d4a7c3c24fd51e952ba32f8769f5 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 20 Dec 2021 14:52:09 -0600 Subject: [PATCH] convert post 'hello-hugo' to pagebundle --- .../posts/2021/12/hello-hugo}/celebration.gif | Bin .../posts/2021/12/hello-hugo}/hugo-logo-wide.png | Bin .../{hello-hugo.md => 2021/12/hello-hugo/index.md} | 11 +++++++---- 3 files changed, 7 insertions(+), 4 deletions(-) rename {static/images/posts-2021/12 => content/posts/2021/12/hello-hugo}/celebration.gif (100%) rename {static/images/posts-2021/12 => content/posts/2021/12/hello-hugo}/hugo-logo-wide.png (100%) rename content/posts/{hello-hugo.md => 2021/12/hello-hugo/index.md} (93%) diff --git a/static/images/posts-2021/12/celebration.gif b/content/posts/2021/12/hello-hugo/celebration.gif similarity index 100% rename from static/images/posts-2021/12/celebration.gif rename to content/posts/2021/12/hello-hugo/celebration.gif diff --git a/static/images/posts-2021/12/hugo-logo-wide.png b/content/posts/2021/12/hello-hugo/hugo-logo-wide.png similarity index 100% rename from static/images/posts-2021/12/hugo-logo-wide.png rename to content/posts/2021/12/hello-hugo/hugo-logo-wide.png diff --git a/content/posts/hello-hugo.md b/content/posts/2021/12/hello-hugo/index.md similarity index 93% rename from content/posts/hello-hugo.md rename to content/posts/2021/12/hello-hugo/index.md index ce328c6..0a43ce9 100644 --- a/content/posts/hello-hugo.md +++ b/content/posts/2021/12/hello-hugo/index.md @@ -1,16 +1,19 @@ --- title: "Hello Hugo" # Title of the blog post. +# url: "hello-hugo2" date: 2021-12-19 # Date of post creation. +lastmod: 2021-12-20 description: "I migrated my blog from a Jekyll site hosted on Github Pages to a Hugo site stored in Gitlab and published via Netlify" # Description used for search engine. featured: false # Sets if post is a featured post, making appear on the home page side bar. draft: false # 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. +usePageBundles: true # menu: main -featureImage: "/images/posts-2021/12/hugo-logo-wide.png" # Sets featured image on blog post. +featureImage: "/hugo-logo-wide.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/hugo-logo-wide.png" # Sets thumbnail image appearing inside card on homepage. -shareImage: "/images/posts-2021/12/hugo-logo-wide.png" +thumbnail: "/hugo-logo-wide.png" # Sets thumbnail image appearing inside card on homepage. +shareImage: "/hugo-logo-wide.png" # 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. @@ -37,4 +40,4 @@ Putting Netlify in front of the repositories where my site content is stored als **Anyway, here we are: the new Virtually Potato, powered by Hugo and Netlify!** -![Woohoo!](/images/posts-2021/12/celebration.gif) \ No newline at end of file +![Woohoo!](/celebration.gif) \ No newline at end of file