This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
caldwell-59/tag.hbs
Nikolaos Karaolidis ca43b64220 Add image variant
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2024-10-27 11:16:33 +00:00

26 lines
759 B
Handlebars

{{!< default}} <main id="gh-main" class="gh-main gh-canvas">
{{#tag}}
<section class="gh-pagehead">
<header class="gh-pagehead-content">
<div class="gh-tag-label">Tag</div>
<h1 class="gh-tag-name gh-pagehead-title">{{name}}</h1>
<div class="gh-tag-description gh-pagehead-description">
{{#if description}}
{{description}}
{{else}}
A collection of {{plural ../pagination.total empty="0 posts" singular="% post" plural="% posts"}}
{{/if}}
</div>
</header>
</section>
{{/tag}}
{{#match @custom.mode "Text-based"}}
{{> text/feed}}
{{else}}
{{> image/feed}}
{{/match}}
</main>