/ Developers

A page with posts with a particular tag

Let’s say you want to create a page on your site which shows all the posts tagged Apple’. Create a new template with the follow content:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<head><title>Your blog</title></head>
<body>
  {{#allEntries}}
  {{#tagged.Apple}}

  <p><a href="{{{url}}}">{{title}}</a></p>

  {{/tagged.Apple}}
  {{/allEntries}}
</body>
</html>