Files
xrpl-dev-portal/tool/template-footer.html
2020-09-15 16:10:12 -07:00

37 lines
1.4 KiB
HTML

<footer class="xrpl-footer" role="contentinfo">
<section class="container card-grid card-grid-Nx1">
{% set funnels = [] %}
{% for page in pages %}
{% if page.funnel is defined and page.funnel not in funnels %}
{% set parent_page = pages|selectattr('funnel', 'defined_and_equalto', page.funnel)|first %}
<div class="card">
<div class="card-header">
<h5><a href="{{ parent_page.html }}">{{ parent_page.name }}</a></h5>
</div><!--/.card-header-->
<div class="card-body">
{% set depth = 1 %}
{% set count = 5 %}
{% include 'template-page-children.html' %}
</div><!--/.card-body-->
</div><!--/.card -->
{% set _ = funnels.append(page.funnel) %}
{% endif %}
{% endfor %}
</section>
<section class="container">
<div class="absolute_bottom_footer">
<span>&copy; XRP Ledger Project 2020</span>
<span><a href="https://raw.githubusercontent.com/ripple/ripple-dev-portal/master/LICENSE">{% trans %}License{% endtrans %}</a></span>
</div><!-- /.absolute_bottom_footer -->
</section>
</footer>
<!-- Jump to top button -->
<a href="#main_content_wrapper" class="jump-to-top btn btn-primary" role="button" title="{% trans %}Jump to top of page{% endtrans %}">{% trans %}Top{% endtrans %}</a>
<script type="text/javascript" src="assets/js/jump-to-top.js"></script>