-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #425 from yalesites-org/develop
Release
- Loading branch information
Showing
28 changed files
with
1,348 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
{% set visible_items = visible_items|default(3) %} | ||
<ul {{ bem('taxonomy-list', ['tags'], '') }}> | ||
{% for item in items|slice(0, 3) %} | ||
<li {{ bem('item', [], 'taxonomy-list') }}>{{ item.content }}</li> | ||
{% for item in items|slice(0, visible_items) %} | ||
<li {{ bem('item', [], 'taxonomy-list') }}> | ||
{% block list_item %} | ||
{{ item.content }} | ||
{% endblock %} | ||
</li> | ||
<li aria-hidden="true" {{ bem('divider', [], 'taxonomy-list') }}>{{ '|' }}</li> | ||
{% endfor %} | ||
{% if items|length > 3 %} | ||
{% if items|length > visible_items %} | ||
<li {{ bem('item', ['more'], 'taxonomy-list') }}> | ||
<a href="{{ url }}">{{ '+' }}{{ items|length - 3 }}{{ " more"|t }}</a> | ||
<a href="{{ url }}">{{ '+' }}{{ items|length - visible_items }}{{ " more"|t }}</a> | ||
</li> | ||
{% endif %} | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
195 changes: 0 additions & 195 deletions
195
components/02-molecules/banner/image/_yds-image-banner.scss
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.