Skip to content

Commit

Permalink
Fixed author and tag.
Browse files Browse the repository at this point in the history
Signed-off-by: Nistor Cristian <contact@nistorcristian.com>
  • Loading branch information
NistorCristian committed May 10, 2019
1 parent 354bc6f commit 310f9db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
13 changes: 1 addition & 12 deletions author.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,9 @@
<div class="container">
<div class="row">
<div class="col-xl-10 col-md-12 ml-auto mr-auto">
{{#is "home"}}
<div class="loop loop-first">
{{#get "posts" include="tags,authors" limit="1"}}
{{#foreach posts}}
{{> "loop"}}
{{/foreach}}
{{/get}}
</div>
{{/is}}
<div class="loop loop-grid">
{{#foreach posts}}
{{^if @first}}
{{> "loop"}}
{{/if}}
{{> "loop"}}
{{/foreach}}
</div>
{{pagination}}
Expand Down
13 changes: 1 addition & 12 deletions tag.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,9 @@
<div class="container">
<div class="row">
<div class="col-xl-10 col-md-12 ml-auto mr-auto">
{{#is "home"}}
<div class="loop loop-first">
{{#get "posts" include="tags,authors" limit="1"}}
{{#foreach posts}}
{{> "loop"}}
{{/foreach}}
{{/get}}
</div>
{{/is}}
<div class="loop loop-grid">
{{#foreach posts}}
{{^if @first}}
{{> "loop"}}
{{/if}}
{{> "loop"}}
{{/foreach}}
</div>
{{pagination}}
Expand Down

0 comments on commit 310f9db

Please sign in to comment.