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

29 lines
741 B
Handlebars
Raw Normal View History

2021-04-14 08:24:27 +00:00
{{!< default}} {{#post}} <div class="relative group index-header">
2019-11-09 06:03:26 +00:00
2021-04-14 08:24:27 +00:00
{{> header-background background=feature_image}}
<div class="page-header">
<div class="page-header__background responsive-header-img">
<div class="page-header__overlay"></div>
2019-11-08 20:59:26 +00:00
</div>
2021-04-14 08:24:27 +00:00
<div class="page-header__contents">
<div class="post-header container mx-auto main">
<h1>{{title}}</h1>
</div>
2019-11-08 20:59:26 +00:00
</div>
</div>
2021-04-14 08:24:27 +00:00
<main id="post" class="container mx-auto main">
2019-11-12 18:08:03 +00:00
{{content}}
2021-04-14 08:24:27 +00:00
</main>
2019-11-08 20:59:26 +00:00
2021-04-14 08:24:27 +00:00
{{/post}}
{{#contentFor "scripts"}}
<script>
$(document).ready(function () {
// FitVids - start
var $postContent = $("#post");
$postContent.fitVids();
// FitVids - end
});
</script>
{{/contentFor}}