Skip to content

Commit

Permalink
adds hdn logo to the sidebar, new section "partners".
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatthias committed Nov 18, 2024
1 parent 5edf5dc commit 4ae10bb
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ other = "Logo: Jon Harald Søby, CC BY-SA 3.0, via Wikimedia Commons"

[dsee_thank_you]
other = "Wir danken der Deutsche Stiftung für Engagement und Ehrenamt für die großzügige Unterstützung"

[hdn_thank_you]
other = "Wir freuen uns, mit dem Haus der Nachhaltigkeit die Räume in Neu-Ulm zu teilen. Danke!"
3 changes: 3 additions & 0 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ other = "Logo: Jon Harald Søby, CC BY-SA 3.0, via Wikimedia Commons"

[dsee_thank_you]
other = "We would like to thank Deutsche Stiftung für Engagement und Ehrenamt for their generous support"

[hdn_thank_you]
other = "We are delighted to share the premises in Neu-Ulm with the Haus der Nachhaltigkeit (\"House of Sustainability\"). Thank you!"
3 changes: 3 additions & 0 deletions layouts/partials/partner.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<ul class="partner-list">
<li><a href="https://www.h-d-n.org/" title="{{ i18n "hdn_thank_you" }}"><img src="/wp-content/uploads/supporters/hdn-logo.svg" alt="{{ i18n "hdn_thank_you" }}" /></a></li>
</ul>
3 changes: 3 additions & 0 deletions themes/twentysixteen/i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,6 @@ other = "Neue Beiträge:"

[supporter]
other = "Unsere Unterstützer*innen"

[partner]
other = "Unsere Partner*innen"
3 changes: 3 additions & 0 deletions themes/twentysixteen/i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,6 @@ other = "New Posts:"

[supporter]
other = "Our Supporters"

[partner]
other = "Our Partners"
6 changes: 6 additions & 0 deletions themes/twentysixteen/layouts/partials/site-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,10 @@ <h2 class="widget-title">Tags</h2>
<h2 class="widget-title">{{ i18n "supporter" }}</h2>
{{ partial "supporter.html" }}
</section>

{{/* partner */}}
<section class="widget qtranxs_widget">
<h2 class="widget-title">{{ i18n "partner" }}</h2>
{{ partial "partner.html" }}
</section>
</aside>

0 comments on commit 4ae10bb

Please sign in to comment.