Browse Source

Enabling tags and categories

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

19
config.toml

@ -7,12 +7,11 @@ paginate = 10
paginatePath = "page" paginatePath = "page"
[permalinks] [permalinks]
post = "/:year/:month/:day/:slug/"
code = "/:slug/"
posts = "/posts/:year/:month/:day/:slug/"
[taxonomies] [taxonomies]
tag = "tags" tag = "tags"
topic = "topics"
category = "categories"
[author] [author]
name = "Drew Short" name = "Drew Short"
@ -21,3 +20,17 @@ paginatePath = "page"
[params] [params]
description = "A simple developer blog" 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: tags:
- "personal" - "personal"
- "informational" - "informational"
topics:
categories:
- "personal" - "personal"
--- ---

Loading…
Cancel
Save