Browse Source

Enabling tags and categories

master
Drew Short 6 years ago
parent
commit
07226ee41c
  1. 21
      config.toml
  2. 2
      content/posts/2018-09-24-hello-world.md

21
config.toml

@ -7,12 +7,11 @@ paginate = 10
paginatePath = "page"
[permalinks]
post = "/:year/:month/:day/:slug/"
code = "/:slug/"
posts = "/posts/:year/:month/:day/:slug/"
[taxonomies]
tag = "tags"
topic = "topics"
category = "categories"
[author]
name = "Drew Short"
@ -20,4 +19,18 @@ paginatePath = "page"
[params]
description = "A simple developer blog"
copyright = "© 2018 Drew Short. All rights reserved."
copyright = "© 2018 Drew Short. All rights reserved."
[menu]
[[menu.main]]
name = "Tags"
post = "<span class='alert'>New!</span>"
pre = "<i class='fa fa-road'></i>"
url = "/tags/"
weight = -110
[[menu.main]]
name = "Categories"
pre = "<i class='fa fa-heart'></i>"
url = "/categories/"
weight = -100

2
content/posts/2018-09-24-hello-world.md

@ -5,7 +5,7 @@ draft: false
tags:
- "personal"
- "informational"
topics:
categories:
- "personal"
---

Loading…
Cancel
Save