mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-15 01:05:49 +00:00
51 lines
1.8 KiB
HTML
51 lines
1.8 KiB
HTML
{% extends "template-base.html" %}
|
|
{% block head %}
|
|
|
|
|
|
<!-- expandable code samples -->
|
|
<script src="assets/js/expandcode.js"></script>
|
|
<!-- multi-code selection tabs -->
|
|
<script src="assets/js/multicodetab.js"></script>
|
|
<script>
|
|
$(document).ready(function() {
|
|
$(".multicode").minitabs();
|
|
make_code_expandable();
|
|
});
|
|
</script>
|
|
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
<article class="pt-3 p-md-3">
|
|
{% if (target.lang != "en" and "en" in currentpage.targets) or currentpage.untranslated_warning %}
|
|
{# Add a "sorry this page isn't translated" banner. #}
|
|
<div class="devportal-callout note mb-5"><strong>{% trans %}Sorry, this page is not available in your language.{% endtrans %}</strong>
|
|
<p class="mb-0">{% trans %}We are making an effort to offer the XRP Ledger Dev Portal in a variety of languages, but not all pages are available in all languages. If you'd like to help, <a href="https://github.com/ripple/xrpl-dev-portal/blob/master/CONTRIBUTING.md">please contribute!</a>{% endtrans %}</p>
|
|
</div><!--/.devportal-callout-->
|
|
{% endif %}
|
|
<div class="content">
|
|
{{ content }}
|
|
</div>
|
|
</article>
|
|
{% endblock %}
|
|
|
|
{% block right_sidebar %}
|
|
<div id="page-toc-wrapper">
|
|
{% include 'template-label-list.html' %}
|
|
<div class="toc-header">
|
|
<h4>{% trans %}In this document{% endtrans %}</h4>
|
|
</div>
|
|
<ul class="page-toc nav flex-column" role="directory">
|
|
{% for h in headers %}{% if h.level < 4 %}
|
|
<li class="nav-item level-{{h.level}}"><a class="nav-link" href="#{{h.id}}">{{h.text}}</a></li>
|
|
{% endif %}{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block endbody %}
|
|
<script type="application/javascript">
|
|
gtag('config', 'UA-157720658-3', {'content_group1': 'Content Docs'});
|
|
</script>
|
|
{% endblock %}
|