bulma/docs/_layouts/more.html
Jeremy Thomas 08ef4df2c0
Bulma v9 website (#3249)
* Add Bulma v9

* Add vendor dependencies

* Fix native

* Fix sponsors

* Add style attribute
2021-01-27 23:30:42 +00:00

44 lines
1.1 KiB
HTML

---
layout: default
route: more
---
{% include global/navbar.html id="More" %}
{% assign current_link_id = page.breadcrumb | last %}
{% assign current_link = site.data.links.by_id[current_link_id] %}
{% assign category_links = site.data.links.more %}
{% for link_id in category_links %}
{% if link_id == current_link_id %}
{% unless forloop.first %}
{% assign previous_index = forloop.index0 | minus: 1 %}
{% assign previous_link_id = category_links[previous_index] %}
{% assign previous_link = site.data.links.by_id[previous_link_id] %}
{% endunless %}
{% unless forloop.last %}
{% assign next_index = forloop.index0 | plus: 1 %}
{% assign next_link_id = category_links[next_index] %}
{% assign next_link = site.data.links.by_id[next_link_id] %}
{% endunless %}
{% endif %}
{% endfor %}
{% capture hero_content %}
{% include elements/sponsor-button.html %}
{% endcapture %}
{%
include components/hero.html
color="sponsor"
icon=page.icon
title=page.title
subtitle=page.subtitle
content=page.hero_content
%}
<div class="bd-content">
{{ content }}
</div>