[Git][reproducible-builds/reproducible-website][master] improve linking to sponsors in sidebar navigation
Holger Levsen (@holger)
gitlab at salsa.debian.org
Mon Feb 7 13:05:24 UTC 2022
Holger Levsen pushed to branch master at Reproducible Builds / reproducible-website
Commits:
96f12e4d by Holger Levsen at 2022-02-07T14:05:13+01:00
improve linking to sponsors in sidebar navigation
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- _includes/navbar_side.html
- who_/sponsors.md
Changes:
=====================================
_includes/navbar_side.html
=====================================
@@ -20,6 +20,13 @@
{% if sponsors.size != 0 %}
<div class="row sponsors d-none d-md-block">
<div class="fixed-bottom">
+ <div class="row">
+ <ul class="list-group pt-5">
+ <li class="list-group-item rb-main-sidebar">
+ Platinum & Gold sponsors:
+ </li>
+ </ul>
+ </div>
{% for x in sponsors %}
<div class="col-md-2 col-sm-3 mb-2 p-2">
<div class="card text-center">
@@ -29,6 +36,16 @@
</div>
</div>
{% endfor %}
+ {% assign sponsors = site.pages | where:"url","/who/sponsors/" %}
+ {% for x in sponsors %}
+ <div class="row">
+ <ul class="list-group pt-5">
+ <li class="list-group-item rb-main-sidebar">
+ <a href="{{ x.url | relative_url }}" class="sidebar__link__darkGray">All our sponsors</a>
+ </li>
+ </ul>
+ </div>
+ {% endfor %}
</div>
</div>
{% endif %}
=====================================
who_/sponsors.md
=====================================
@@ -2,7 +2,6 @@
layout: default
title: Our sponsors
permalink: /who/sponsors/
-order: 85
redirect_from:
- /sponsor/
- /sponsors/
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/96f12e4de1d67c2a4144fe8bdd27645830e46ea8
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/96f12e4de1d67c2a4144fe8bdd27645830e46ea8
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20220207/059081b1/attachment.htm>
More information about the rb-commits
mailing list