Sha256: 52e170239ef8af155eddf98a939267e9837a63ba0ed2ccc3a8cd729925cb5562
Contents?: true
Size: 1.3 KB
Versions: 10
Compression:
Stored size: 1.3 KB
Contents
<aside class="main__next"> {% assign pages = site.pages | sort:"chapter" %} {% assign found = 'false' %} {% assign nextp = 'false' %} {% for p in pages %} {% if p.layout == 'page' %} {% if found == 'true' %} {% assign nextp = p %} {% break %} {% endif %} {% if p.url == page.url %} {% assign found = 'true' %} {% endif %} {% endif %} {% endfor %} {% if nextp != 'false' %} <hr> <a class="main__next__link" href="{{ site.baseurl }}{{ nextp.url }}" title="Zum nächsten Kapitel {{ nextp.title }}"> <p> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="35px" height="35px" class="icon-next-chapter"> <title>Arrow pointing right</title> <path d="M10 50 H 80" fill="transparent" stroke="#9d9d9d" stroke-width="7" stroke-linecap="square"/> <path d="M60 25 L 84 50 L 60 75" fill="transparent" stroke="#9d9d9d" stroke-width="7" stroke-linecap="round"/> </svg> </p> <p class="main__next__chapter is-uppercase is-size-7">Nächstes Kapitel</p> <h2 class="main__next__title is-size-3">{{ nextp.title }}</h2> </a> {% endif %} {% if site.license %} <hr> <p class="main__next__license">{{ site.license.holder }} ·<br> {{ site.license.license }}</p> {% endif %} </aside>
Version data entries
10 entries across 10 versions & 1 rubygems