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