Skip to content

Commit

Permalink
order
Browse files Browse the repository at this point in the history
  • Loading branch information
royalfig authored Jul 17, 2023
1 parent 73bac43 commit e636458
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions home.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -170,19 +170,12 @@
</article>
{{/if}}

{{#if @site.members_enabled}}
{{#if @site.members_enabled}}
<article class="sm-card sm-card-number sm-card-small-square sm-flex-v">
<p class="sm-card-number-focus">{{total_members}}</p>
<p class="sm-card-number-description">members</p>
</article>
{{/if}}

{{#get "tags" include="count.posts" limit="6" order="count.posts" as |tags|}}
{{#foreach tags from="5" to="6"}}
{{> "cards/card-tag"}}
{{/foreach}}
{{/get}}

{{else}}
{{#if @custom.social_media_4_url}}
<article class="sm-card sm-card-small-square sm-card-social-media {{@custom.social_media_4}}">
<a class="sm-flex-v" href="{{@custom.social_media_4_url}}" aria-label="Follow me on {{@custom.social_media_4 }}">
Expand All @@ -192,6 +185,15 @@
</a>
</article>
{{/if}}
{{/if}}

{{#get "tags" include="count.posts" limit="6" order="count.posts" as |tags|}}
{{#foreach tags from="5" to="6"}}
{{> "cards/card-tag"}}
{{/foreach}}
{{/get}}



{{#foreach posts from="14" to="15"}}
{{#if featured}}
Expand Down

0 comments on commit e636458

Please sign in to comment.