1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-22 09:17:33 +00:00
Yuika/page.hbs
2021-04-14 15:24:51 +07:00

29 lines
741 B
Handlebars

{{!< default}} {{#post}} <div class="relative group index-header">
{{> header-background background=feature_image}}
<div class="page-header">
<div class="page-header__background responsive-header-img">
<div class="page-header__overlay"></div>
</div>
<div class="page-header__contents">
<div class="post-header container mx-auto main">
<h1>{{title}}</h1>
</div>
</div>
</div>
<main id="post" class="container mx-auto main">
{{content}}
</main>
{{/post}}
{{#contentFor "scripts"}}
<script>
$(document).ready(function () {
// FitVids - start
var $postContent = $("#post");
$postContent.fitVids();
// FitVids - end
});
</script>
{{/contentFor}}