Skip to content

Tagging

Chris Diana edited this page Dec 11, 2018 · 1 revision

You can link to tags while using CMS.js by adding some URL parameters to any anchor tag you like. For example, if we wanted to display all the posts with the tag "sampletag" we could just add this to the anchor link:

<a href="#/posts?tag=sampletag">Tag Link</a>

This will filter all posts that have "sampletag" tag attached to the file.

Clone this wiki locally