mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
Draft use case template
This commit is contained in:
25
tool/template-use-case.html
Normal file
25
tool/template-use-case.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{% extends "template-base.html" %}
|
||||
|
||||
{% block main %}
|
||||
<article class="use-case p-3">
|
||||
<div class="content">
|
||||
{{ content }}
|
||||
</div>
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
||||
{% block right_sidebar %}
|
||||
<div class="card" id="use-case-related">
|
||||
<p class="in-this-doc card-header">Useful Background:</p>
|
||||
<div class="card-body">
|
||||
<div class="curated-links">
|
||||
<ol>
|
||||
{% for link in currentpage.useful_background %}
|
||||
{% set linkpage = pages|selectattr("html", "equalto", link)|first %}
|
||||
<li><a href="{{linkpage.html}}">{{linkpage.name}}</a></li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
</div><!--/.curated-links-->
|
||||
</div><!--/.card-body-->
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user