From b39ebf044e8d0dd649eeb70773d2f63ad0797a9f Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Wed, 10 Jun 2020 01:56:06 +0100 Subject: [PATCH] Adding Slug. Updating pagination --- blog/config.toml | 4 +++- tasks.todo | 22 ++++++++++++++++------ 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/blog/config.toml b/blog/config.toml index 32a4c67..4735e6c 100644 --- a/blog/config.toml +++ b/blog/config.toml @@ -2,13 +2,15 @@ baseURL = "http://127.0.0.1:6060" title = "panaetius.io" # theme = "panaetius-chunky-theme" theme = ["hugo-notice-admonition", "panaetius-theme"] -paginate = 2 +paginate = 1 languageCode = "en" DefaultContentLanguage = "en" enableInlineShortcodes = true footnoteReturnLinkContents = "^" description = "Tech blog showcasing Python, Machine-Learning, Vue, Homelab and other technologies to try at home." +[permalinks] + post = "/:year/:month/:slug/" [languages] diff --git a/tasks.todo b/tasks.todo index 115554a..fb18391 100644 --- a/tasks.todo +++ b/tasks.todo @@ -1,10 +1,18 @@ Projects: - ☐ Fix the navbar on mobile. ☐ Change text on homepage on mobile. + CSS: + ☐ Document using transition. + + Hugo: + ☐ Document pagination + Notes: + ☐ Link and . + ☐ Link to git + Images: - ☐ Add random animal image to corner of card. + ✔ Add random animal image to corner of card. @done (6/9/2020, 1:18:32 PM) Note: How to edit the homepage, how to edit taxonomy content (the _index.html) file and what this means. @@ -13,14 +21,16 @@ Projects: ☐ Another layout for cards (https://codewithhugo.com) Misc: - ☐ Add social metadata - ☐ Create own admonitions with shortcode with custom animal themeing. + ☐ Create archetypes for posts. + ☐ Configure pagination for homepage. + ✔ Add social metadata @done (6/9/2020, 1:27:26 PM) + ✔ Create own admonitions with shortcode with custom animal themeing. @done (6/9/2020, 1:27:24 PM) Custom layout: - ☐ Use the envanto website layouts (whole static themes) to find suitable wallpaper for a post page. + ✔ Use the envanto website layouts (whole static themes) to find suitable wallpaper for a post page. @done (6/9/2020, 1:27:29 PM) ☐ Add tags to front page cards ☐ Using date in the slug, customising the slugs further? - ☐ Find a font from envanto and customise the vars in bootstrap (https://getbootstrap.com/docs/4.0/content/reboot/#native-font-stack) + ✔ Find a font from envanto and customise the vars in bootstrap (https://getbootstrap.com/docs/4.0/content/reboot/#native-font-stack) @done (6/9/2020, 1:27:33 PM) Content: