mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-18 18:55:49 +00:00
46 lines
2.1 KiB
Django/Jinja
46 lines
2.1 KiB
Django/Jinja
{% extends "pagetype-doc.html.jinja" %}
|
|
{% block head %}
|
|
<script>
|
|
$(document).ready(function() {
|
|
$(window.location.hash).closest(".q-wrapper").find('.answer-wrapper').collapse('show');
|
|
});
|
|
</script>
|
|
{% endblock %}
|
|
|
|
{% block bodyclasses %}page-faq landing-builtin-bg{% endblock %}
|
|
{% block breadcrumbs %}{% endblock %}
|
|
|
|
{% block main %}
|
|
<article class="row">
|
|
{% 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/XRPLF/xrpl-dev-portal/blob/master/CONTRIBUTING.md">please contribute!</a>{% endtrans %}</p>
|
|
</div><!--/.devportal-callout-->
|
|
{% endif %}
|
|
{% if target.lang != "en" and currentpage.outdated_translation %}
|
|
{# Add a "This translation is not up-to-date." banner. #}
|
|
<div class="mb-5 devportal-callout note"><strong>{% trans %}This translated page is not updated to match the latest changes in the English version.{% 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 translated contents are up-to-date. If you'd like to help, <a href="https://github.com/XRPLF/xrpl-dev-portal/blob/master/CONTRIBUTING.md">please contribute!</a>{% endtrans %}</p>
|
|
</div><!--/.devportal-callout-->
|
|
{% endif %}
|
|
<div class="content container-new">
|
|
<div class="d-flex-column">
|
|
{{ content }}
|
|
</div>
|
|
</div>
|
|
</article>
|
|
{% endblock %}
|
|
|
|
|
|
{% block analytics %}
|
|
<script type="application/javascript">
|
|
window.dataLayer = window.dataLayer || [];
|
|
window.dataLayer.push({
|
|
"event": "page_info",
|
|
"page_type": "Splash Page",
|
|
"page_group": "About"
|
|
})
|
|
</script>
|
|
{% endblock analytics %}
|