Open navClose nav

Tags Field,dpr_auto,f_auto,q_80,w_640/


  • General
    • Label — the human-friendly label shown above the input field in the editor.
    • Name — the key stored in your content’s front matter, used to access it in your templates.
    • Description — a human friendly description of what the field does and/or instructions for your editors.
    • Hidden — hides the field in the editor, but allows developers to set default values or maintain the field for legacy purposes.
  • Default — supply a default list of tags


You can access this field in your templates using the field’s name:


<p>{{ delimit .Params.tags ", " }}</p>
Display a comma delimited string using the delimit filter.
{{ range .Params.tags }}
  <li>{{ . }}</li>
{{ end }}


<p>{{ page.tags | array_to_sentence_string }}</p>
Display a comma delimited string using the array_to_sentence_string filter
  {% for tag in page.tags %}
    <li>{{ tag }}</li>
  {% endfor %}


  <p>{{ $page.frontmatter.categories.join(', ') }}</p>
Display a comma delimited string using the v-for and v-text attributes.
	<li v-for="category in $page.frontmatter.categories"
    	v-text="category" />

Config Files

You can configure this field in Front Matter Template Config Files as follows:

type: tag_list
name: [String]
label: [String]
description: [String]
hidden: [true|false]
  - [String]


type: tag_list
name: ssg
label: Static Site Generator
description: Pickup your tool
- Eleventy
- Gatsby
- Gridsome
- Hexo
- Hugo
- Jekyll
- NextJS
- NuxtJS
- Sapper

Last updated on June 11, 2020