I apologize for my obtuseness, but I am using Hugo for a personal blog. I would like the markdown to contain tags and/or categories that would be displayed and used. I just do not get the steps that are necessary after reading the documentation. Can anyone help? Thanks in advance.
config.toml:
[taxonomies]
category = "categories"
tag = "tags"
content/post/foo.md (TOML):
+++
title = "Foo"
date = 2020-07-16T16:08:16-04:00
draft = false
categories = ["planes", "trains", "automobiles"]
tags = ["Steve Martin", "John Candy"]
+++
This is the content of my page.
content/post/foo.md (YAML):
---
title: Foo
date: 2020-07-16T20:08:16.000Z
draft: false
categories:
- planes
- trains
- automobiles
tags:
- Steve Martin
- John Candy
---
This is the content of my page.
Then, assuming you have the basic templates in place, run hugo server
and visit:
3 Likes
Mmmmm … @jmooring for this, you are going the wrong way
1 Like
content/foo.md:
{{< youtube _akwHYMdbsM >}}
1 Like