48 lines
1.4 KiB
Handlebars
Executable File
48 lines
1.4 KiB
Handlebars
Executable File
{{!< default}}
|
|
|
|
<main id="site-main" class="site-main outer" role="main">
|
|
<div class="inner">
|
|
|
|
<!-- Tag Selector and Search Bar -->
|
|
<div class="filter-bar">
|
|
<!-- Ghost Search -->
|
|
<form class="search-form">
|
|
<input type="search" placeholder="Search..." class="gh-search-field" />
|
|
</form>
|
|
|
|
<!-- Tag Selector -->
|
|
<div class="tag-selector">
|
|
<label for="tag-select">Filter by Tag:</label>
|
|
<select id="tag-select" onchange="location = this.value;">
|
|
<option value="/tag/all/">All</option>
|
|
{{#get "tags" include="count.posts" limit="all"}}
|
|
{{#foreach tags}}
|
|
<option value="/tag/{{slug}}/">{{name}} ({{count.posts}})</option>
|
|
{{/foreach}}
|
|
{{/get}}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Page Header -->
|
|
<header class="post-full-header">
|
|
<h1 class="post-full-title">Posts Tagged with "Prenos"</h1>
|
|
</header>
|
|
|
|
<!-- Posts Loop -->
|
|
{{#get "posts" filter="tag:prenos" limit="all"}}
|
|
{{#foreach posts}}
|
|
<article class="post-card">
|
|
<a href="{{url}}" class="post-card-content-link">
|
|
<header class="post-card-header">
|
|
<h2 class="post-card-title">{{title}}</h2>
|
|
</header>
|
|
<section class="post-card-excerpt">
|
|
{{excerpt}}
|
|
</section>
|
|
</a>
|
|
</article>
|
|
{{/foreach}}
|
|
{{/get}}
|
|
</div>
|
|
</main> |