1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-05 10:27:32 +00:00
Yuika/page.hbs

38 lines
890 B
Handlebars
Raw Normal View History

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}}
2019-11-13 11:50:52 +00:00
{{> "site-header"}}
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--}}
2019-11-14 05:41:19 +00:00
<div class="w-full h-full opacity-50 bg-black">
2019-11-08 20:59:26 +00:00
</div>
</div>
2019-11-11 17:02:59 +00:00
<div class="absolute bottom-0 py-6 left-0 right-0">
2019-11-12 17:51:01 +00:00
<div class="container mx-auto content-full">
2019-11-09 21:10:51 +00:00
<div>
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>
2019-11-11 17:02:59 +00:00
</div>
2019-11-08 20:59:26 +00:00
</div>
</div>
2019-11-12 18:08:03 +00:00
<article class="post-article">
<main class="content container" id="post">
<div class="content-full">
{{content}}
</div>
2019-11-08 20:59:26 +00:00
</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}}