Skip to content

Commit be72fdb

Browse files
committed
Merge unless blocks
1 parent 3358f2a commit be72fdb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

_includes/showcase.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ <h2>Showcase</h2>
3535
{%- if include.external %}
3636
<h2>Portfolio</h2>
3737
<{{ list }}>
38-
{% for gh_page in gh_pages -%}{%- unless gh_page.name == site.github.repository_name -%}
39-
{%- unless gh_page.homepage == '' or gh_page.homepage == nil or gh_page.homepage contains site.url or gh_page.topics contains 'noindex' -%}
38+
{% for gh_page in gh_pages -%}{%- unless gh_page.name == site.github.repository_name or gh_page.homepage == '' or gh_page.homepage == nil or gh_page.homepage contains site.url or gh_page.topics contains 'noindex' -%}
4039

4140
<{{ item }}>
4241
<a href="{{ gh_page.homepage }}">{{ gh_page.name | markdownify | remove: '<p>' | remove: '</p>' | strip }}</a>
@@ -46,7 +45,6 @@ <h2>Portfolio</h2>
4645
<dd>{{ gh_page.description | markdownify | remove: '<p>' | remove: '</p>' | strip }}</dd>
4746
{% endif -%}
4847

49-
{%- endunless -%}
5048
{%- endunless -%}{%- endfor %}
5149
</{{ list }}>
5250
{%- endif %}

0 commit comments

Comments
 (0)