From 6ec6fd9fefe2f3d4621f6af5858d86e40f5fe8fd Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Mon, 15 Jun 2020 01:34:15 +0100 Subject: [PATCH] Updating latest Finishing series page Finishing tags page Adding series admonition --- blog/config.toml | 10 +++++++-- blog/content/post/second_post copy/index.md | 15 ++++++++++--- blog/content/post/second_post/index.md | 22 ++++++++++++++++--- .../series/test-series-of-articles/_index.md | 6 +++++ 4 files changed, 45 insertions(+), 8 deletions(-) create mode 100644 blog/content/series/test-series-of-articles/_index.md diff --git a/blog/config.toml b/blog/config.toml index e2a1bf9..382010d 100644 --- a/blog/config.toml +++ b/blog/config.toml @@ -11,7 +11,7 @@ footnoteReturnLinkContents = "^" description = "Tech blog showcasing Python, Machine-Learning, Vue, Homelab and other technologies to try at home." [permalinks] - post = "/:year/:month/:slug/" + post = "post/:year/:month/:slug/" [languages] @@ -35,11 +35,17 @@ name = "About" url = "/about/" weight = 2 +[[menu.main]] +identifier = "series" +name = "Series" +url = "/series/" +weight = 3 + [[menu.main]] identifier = "tags" name = "Tags" url = "/tags/" -weight = 3 +weight = 4 # [[menu.main]] # identifier = "search" diff --git a/blog/content/post/second_post copy/index.md b/blog/content/post/second_post copy/index.md index cfafe42..846ff1c 100644 --- a/blog/content/post/second_post copy/index.md +++ b/blog/content/post/second_post copy/index.md @@ -1,12 +1,21 @@ --- title: "Really long title Second Post Copy for layout scaling with flexbox using css." -date: "2020-05-05T02:14:50+01:00" -images: ["images/banner.svg"] +date: "2020-05-06T02:14:51+01:00" +images: + - "images/banner.svg" draft: true authors: - "Daniel Tomlinson" - "New Authors" -tags: ["Introduction", "test", "another", "tagging", "hugo", "newz"] +tags: + - "Introduction" + - "test" + - "another" + - "tagging" + - "hugo" + - "newz" +series: + - "Test series of articles" --- Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. and it goes on for more than one line. diff --git a/blog/content/post/second_post/index.md b/blog/content/post/second_post/index.md index 507bf14..a8bd260 100644 --- a/blog/content/post/second_post/index.md +++ b/blog/content/post/second_post/index.md @@ -1,16 +1,31 @@ --- title: "Second Post" -date: "2020-05-05T02:14:50+01:00" -images: ["images/banner.svg"] +date: "2020-05-06T02:14:49+01:00" +images: + - "images/banner.svg" draft: true authors: - "Daniel Tomlinson" - "New Authors" -tags: ["Introduction", "test", "another", "tagging", "hugo", "newz"] +tags: + - "Introduction" + - "test" + - "another" + - "tagging" + - "hugo" + - "newz" +series: + - "Test series of articles" --- Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. +{{< notice series >}} +Part 1 of the [Test series of articles](/series/test-series-of-articles/) series +{{< /notice >}} + + + ## Test code ```python @@ -87,3 +102,4 @@ Infomation Admonition {{< notice warning >}} This is a warning notice. Be warned! `code` {{< /notice >}} + diff --git a/blog/content/series/test-series-of-articles/_index.md b/blog/content/series/test-series-of-articles/_index.md new file mode 100644 index 0000000..eaa45cd --- /dev/null +++ b/blog/content/series/test-series-of-articles/_index.md @@ -0,0 +1,6 @@ +--- +Title: "Test series of articles" +Description: "some test descriptions" +--- + +Some text heres.