zgodovina-fotografije/content/themes/aluo_foto_master-2/viri.hbs

48 lines
1.4 KiB
Handlebars
Raw Normal View History

2024-11-18 13:24:08 +01:00
{{!< 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>