Tweak post layout

This commit is contained in:
John O'Nolan 2019-11-06 10:21:23 +07:00
parent 8ec4ca3dff
commit c09023b4da
1 changed files with 10 additions and 16 deletions

View File

@ -21,32 +21,24 @@
{{content}}
</div>
{{!-- Email subscribe form at the bottom of the page --}}
{{#if @labs.members}}
{{> subscribe-form}}
{{/if}}
<footer class="gh-post-footer">
<div class="gh-post-authors">
Written by
{{#foreach authors}}
<a href="{{url}}">{{name}}</a>
{{/foreach}}
Written by {{#foreach authors}}<a href="{{url}}">{{name}}</a>{{/foreach}}
</div>
</footer>
{{!--
<section class="gh-post-comments">
If you want to embed comments, this is a good place to do it!
</section>
--}}
{{!--
<section class="gh-post-comments">
If you want to embed comments, this is a good place to do it!
</section>
--}}
</footer>
</article>
{{/post}}
{{!-- The #contentFor helper here will send everything in it to the matching #block helper in default.hbs --}}
{{#contentFor "scripts"}}
<script>
var images = document.querySelectorAll('.kg-gallery-image img');
@ -59,3 +51,5 @@ images.forEach(function (image) {
})
</script>
{{/contentFor}}
{{!-- The #contentFor helper sends everything in it to the matching #block helper in default.hbs --}}