capitalization and indentation fix for taxonomies page (#1159)

as a bonus, this prevents the horizontal scrollbar appearing on the markdown snippet at the the bottom
This commit is contained in:
Christian Oliff
2020-06-25 15:40:02 +09:00
committed by GitHub
parent 223b80f420
commit 914405c0ef
+5 -5
View File
@@ -194,13 +194,13 @@ Currently taxonomies only support the [default `weight => date` ordering of list
## Add custom metadata a Taxonomy or Term
If you need to add custom metadata to your taxonomy terms, you will need to create a page for that term at `/content/<TAXONOMY>/<TERM>/_index.md` and add your metadata in it's front matter. Continuing with our 'Actors' example, let's say you want to add a wikipedia page link to each actor. Your terms pages would be something like this:
If you need to add custom metadata to your taxonomy terms, you will need to create a page for that term at `/content/<TAXONOMY>/<TERM>/_index.md` and add your metadata in it's front matter. Continuing with our 'Actors' example, let's say you want to add a Wikipedia page link to each actor. Your terms pages would be something like this:
{{< code file="/content/actors/bruce-willis/_index.md" >}}
---
title: "Bruce Willis"
wikipedia: "https://en.wikipedia.org/wiki/Bruce_Willis"
---
---
title: "Bruce Willis"
wikipedia: "https://en.wikipedia.org/wiki/Bruce_Willis"
---
{{< /code >}}