Skip to content

Commit

Permalink
Merge pull request #30 from kapowaz/gallery-ids
Browse files Browse the repository at this point in the history
Add id attributes to each flag to allow linking
  • Loading branch information
kapowaz authored Dec 20, 2023
2 parents 4b1e589 + 3ce2aa2 commit 889aa72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gallery.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ title: Gallery

<div class="container">
{% for flag in site.data.flags %}
<div>
<div id="flag-{{ flag.code }}">
<code title="{{ flag.code }}">{{ flag.code }}</code>
<img src="flags/{{ flag.code }}.svg"/>
<p>{{ flag.name }}</p>
Expand All @@ -25,7 +25,7 @@ You can also use these codes to refer to a country’s language using its [ISO

<div class="container">
{% for language in site.data.languages %}
<div>
<div id="lang-{{ language.code }}">
<code title="{{ language.code }}">{{ language.code }}</code>
<img src="flags/language/{{ language.code }}.svg"/>
<p>{{ language.name }}</p>
Expand All @@ -37,7 +37,7 @@ You can also use these codes to refer to a country’s language using its [ISO

<div class="container">
{% for other in site.data.others %}
<div>
<div id="other-{{ other.code }}">
<code title="{{ other.code }}">{{ other.code }}</code>
<img src="flags/other/{{ other.code }}.svg"/>
<p>{{ other.name }}</p>
Expand Down

0 comments on commit 889aa72

Please sign in to comment.