mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 11:15:49 +00:00
Pages that exist in subfolders such as /tutorials/ are now OK, as long as the add this line to the frontmatter: prefix: "/" This ensures that nav elements including top nav, sidebar, breadcrumbs, all work, and that the appropriate JavaScript loads as intended.
44 lines
1.5 KiB
Django/Jinja
44 lines
1.5 KiB
Django/Jinja
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width">
|
|
|
|
<title>{{ currentpage.name }} - {{target.display_name}}</title>
|
|
|
|
<!-- favicon -->
|
|
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
|
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
|
|
|
|
<script src="{{currentpage.prefix}}assets/vendor/jquery-3.6.0.min.js"></script>
|
|
<link href="{{currentpage.prefix}}assets/css/devportal2021.css" rel="stylesheet" />
|
|
|
|
{% block head %}
|
|
|
|
{% endblock %}
|
|
|
|
</head>
|
|
|
|
<body class="xrp-ledger-dev-portal {% if currentpage.sidebar is undefined or currentpage.sidebar != "disabled" %}sidebar-primary {% endif %}{% block bodyclasses %}{% endblock %}">
|
|
|
|
<div class="container-fluid" role="document" id="main_content_wrapper">
|
|
<div class="row">
|
|
<main class="main {% if currentpage.sidebar is defined and currentpage.sidebar == "disabled" %}col-md-12{% else %}col-md-7 col-lg-6{% endif %} order-md-3 {% block mainclasses %}{% endblock %}" role="main" id="main_content_body">
|
|
{{ content }}
|
|
</main>
|
|
</div>
|
|
</div>
|
|
|
|
<footer>(Exported {{ current_time }})</footer>
|
|
|
|
<!-- Non-blocking resources -->
|
|
<!-- Bootstrap JS -->
|
|
<script src="{{currentpage.prefix}}assets/vendor/bootstrap.min.js"></script>
|
|
<!-- fontawesome icons -->
|
|
<link rel="stylesheet" href="{{currentpage.prefix}}assets/vendor/fontawesome/css/font-awesome.min.css" />
|
|
|
|
|
|
</body>
|
|
</html>
|