blog_theme/post.hbs

100 lines
3.3 KiB
Handlebars
Raw Normal View History

{{!< default}}
<main class="site-main">
{{#post}}
<article class="gh-article {{post_class}}">
<header class="gh-article-header gh-canvas">
2023-11-15 12:02:14 +02:00
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6530242109614004"
crossorigin="anonymous"></script>
<!-- Article header -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-6530242109614004"
data-ad-slot="9132811060"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<span class="gh-article-meta"{{#if primary_tag.accent_color}} style="--tag-color: {{primary_tag.accent_color}};"{{/if}}>
{{#if primary_tag}}
<a class="gh-article-tag" href="{{primary_tag.url}}">{{primary_tag.name}}</a>
{{/if}}
<time datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
</span>
<h1 class="gh-article-title">{{title}}</h1>
{{#if custom_excerpt}}
<p class="gh-article-excerpt">{{custom_excerpt}}</p>
{{/if}}
{{> "post-image"}}
</header>
<div class="gh-content gh-canvas">
{{content}}
</div>
</article>
{{> "post-navigation"}}
2023-11-15 12:18:07 +02:00
<div class="gh-canvas" style="padding-top: 30px;">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6530242109614004"
crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block; text-align:center;"
data-ad-layout="in-article"
data-ad-format="fluid"
data-ad-client="ca-pub-6530242109614004"
data-ad-slot="3257705844"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
2023-11-15 12:09:16 +02:00
2023-10-31 11:02:41 +02:00
<div class="gh-comments gh-canvas">
<script src="https://giscus.app/client.js"
data-repo="estevez-dev/RandomPlaceBlog"
data-repo-id="R_kgDOKnU-yA"
data-category="Announcements"
data-category-id="DIC_kwDOKnU-yM4CakgA"
data-mapping="og:title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="en"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
</div>
2023-11-15 12:18:07 +02:00
<div class="gh-canvas" style="padding-top: 60px;">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6530242109614004"
crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-format="autorelaxed"
data-ad-client="ca-pub-6530242109614004"
data-ad-slot="4051912764"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
{{/post}}
{{#if @custom.show_related_posts}}
{{> "related-posts"}}
{{/if}}
</main>