Skip to content

Commit

Permalink
Merge pull request #722 from naher94/development
Browse files Browse the repository at this point in the history
Article Bug Fix
  • Loading branch information
naher94 committed May 13, 2024
2 parents 61d9eeb + 91604c2 commit 4194540
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description: > # this means to ignore newlines until "baseurl:"
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://rehanbutt.com" # the base hostname & protocol for your site
version: 8.11.0
version: 8.11.1
version-naming: [Apricot, Blackcurrent, Coconut, Dragonfruit, Elderberry, Fig, Guava, Honeydew]

# Build settings
Expand Down
4 changes: 4 additions & 0 deletions resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ <h2 class="cell small-12">Recently Added</h2>
<!-- TODO if tags array is empty then skip as that is current logic for not showing in the list -->
<!-- hard to test since local and deployed is not acting the same -->
{%- for resource in resources_sorted limit:3 -%}
{%- if resource.article == true -%}
{% include article-element.html item=resource css-class="medium-6 large-4" %}
{%- else -%}
{% include resource-element.html item=resource css-class="medium-6 large-4" %}
{%- endif -%}
{%- endfor -%}
</section>

Expand Down

0 comments on commit 4194540

Please sign in to comment.