2019-11-08 20:59:26 +00:00
|
|
|
{{!< default}}
|
2019-11-09 06:03:26 +00:00
|
|
|
|
2019-11-08 20:59:26 +00:00
|
|
|
{{#post}}
|
|
|
|
<article>
|
2019-11-09 17:57:34 +00:00
|
|
|
<div class="relative group index-header">
|
2019-11-08 20:59:26 +00:00
|
|
|
{{> header-background background=feature_image}} {{!--Special header-image.hbs partial to generate the background image--}}
|
|
|
|
<div class="h-full opacity-50 bg-black group-hover:opacity-75 transition-opacity">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="absolute bottom-0 py-6 px-6">
|
|
|
|
{{#if primary_tag}}
|
|
|
|
{{#primary_tag}}
|
|
|
|
<div>
|
2019-11-09 17:57:34 +00:00
|
|
|
<a href="{{url}}"><p class="bg-green-700 w-auto inline-block px-2 py-1 text-white text-sm">{{name}}</p></a>
|
2019-11-08 20:59:26 +00:00
|
|
|
</div>
|
|
|
|
{{/primary_tag}}
|
|
|
|
{{/if}}
|
|
|
|
<div class="mb-4">
|
2019-11-09 17:57:34 +00:00
|
|
|
<h1 class="text-white font-light text-3xl md:text-4xl">{{title}}</h1>
|
2019-11-08 20:59:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-09 17:57:34 +00:00
|
|
|
<div class="w-full flex flex-row justify-begin items-center absolute top-0 index-navbar">
|
|
|
|
{{> "site-header"}}
|
|
|
|
</div>
|
2019-11-08 20:59:26 +00:00
|
|
|
</div>
|
|
|
|
|
2019-11-09 17:57:34 +00:00
|
|
|
<main class="container px-2 md:px-24 lg:px-64 xl:px-64 my-6 mx-auto content" id="post">
|
2019-11-08 20:59:26 +00:00
|
|
|
<div>
|
|
|
|
{{content}}
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
{{/post}}
|
|
|
|
</article>
|
|
|
|
|
|
|
|
{{#contentFor "scripts"}}
|
|
|
|
<script>
|
2019-11-09 17:57:34 +00:00
|
|
|
$(document).ready(function () {
|
|
|
|
// FitVids - start
|
2019-11-08 20:59:26 +00:00
|
|
|
var $postContent = $("#post");
|
|
|
|
$postContent.fitVids();
|
2019-11-09 17:57:34 +00:00
|
|
|
// FitVids - end
|
|
|
|
});
|
2019-11-08 20:59:26 +00:00
|
|
|
</script>
|
|
|
|
{{/contentFor}}
|