add: pipeline categorization by metadata key
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
<title>{{- if .Title -}}{{ .Title }} | {{ else }}{{ end -}} My Blog</title>
|
||||
</head>
|
||||
<body>
|
||||
{{- .Content -}}
|
||||
{{ .Content }}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<h1>Tag #{{ .Category }}</h1>
|
||||
|
||||
<p>Here are the posts with this tag</p>
|
||||
|
||||
<ul>
|
||||
{{ range .Items }}
|
||||
<li>
|
||||
<p>{{ .Metadata.Title }}</p>
|
||||
<pre><code>{{ .Metadata.MatchResult }}</code></pre>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user