2024-01-13 19:12:11 +01:00
|
|
|
<!-- hacks-guide change start: Implement progress table, replace existing sidebar -->
|
|
|
|
<!--
|
2016-04-27 16:15:42 +02:00
|
|
|
{% if page.author_profile or layout.author_profile or page.sidebar %}
|
2016-03-23 17:56:23 +01:00
|
|
|
<div class="sidebar sticky">
|
2016-04-27 16:15:42 +02:00
|
|
|
{% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
|
2016-03-23 17:56:23 +01:00
|
|
|
{% if page.sidebar %}
|
|
|
|
{% for s in page.sidebar %}
|
|
|
|
{% if s.image %}
|
2020-03-06 21:37:07 +01:00
|
|
|
<img src="{{ s.image | relative_url }}"
|
|
|
|
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
|
2016-03-23 17:56:23 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
|
|
|
|
{% if s.text %}{{ s.text | markdownify }}{% endif %}
|
2018-12-04 20:17:54 +01:00
|
|
|
{% if s.nav %}{% include nav_list nav=s.nav %}{% endif %}
|
2016-03-23 17:56:23 +01:00
|
|
|
{% endfor %}
|
2016-03-25 19:12:03 +01:00
|
|
|
{% if page.sidebar.nav %}
|
2016-04-18 22:22:53 +02:00
|
|
|
{% include nav_list nav=page.sidebar.nav %}
|
2016-03-25 19:12:03 +01:00
|
|
|
{% endif %}
|
2016-03-23 17:56:23 +01:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2020-03-06 21:37:07 +01:00
|
|
|
{% endif %}
|
2024-01-13 19:12:11 +01:00
|
|
|
-->
|
|
|
|
|
|
|
|
{% if page.sidebar %}
|
|
|
|
|
|
|
|
<div class="sidebar sticky" style="display: none;">
|
|
|
|
{% include nav_list %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
<!-- hacks-guide change end-->
|