mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-01 17:15:51 +00:00
Use dates on recently updated
This commit is contained in:
@@ -898,6 +898,13 @@ a.current {
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.recently-updated-date {
|
||||||
|
font-style: italic;
|
||||||
|
color: #6B7075;
|
||||||
|
font-size: 13px;
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.splash-head {
|
.splash-head {
|
||||||
background-color: #102b3e;
|
background-color: #102b3e;
|
||||||
background-image: url("../img/home-bg-cubes.jpg");
|
background-image: url("../img/home-bg-cubes.jpg");
|
||||||
|
|||||||
@@ -45,9 +45,12 @@ targets:
|
|||||||
github_forkurl: https://github.com/mDuo13/ripple-dev-portal
|
github_forkurl: https://github.com/mDuo13/ripple-dev-portal
|
||||||
github_branch: 5layertest
|
github_branch: 5layertest
|
||||||
recently_updated:
|
recently_updated:
|
||||||
- introduction.html #TODO: update the recently_updated
|
- html: introduction.html
|
||||||
# - tutorial-checks-send.html
|
date: 2018-05-07
|
||||||
# - reference-amendments.html
|
# - html: capacity-planning.html
|
||||||
|
# date: 2018-05-04
|
||||||
|
- html: reliable-transaction-submission.html
|
||||||
|
date: 2018-04-16
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
|
|
||||||
|
|||||||
@@ -95,8 +95,8 @@
|
|||||||
<div class="curated-links">
|
<div class="curated-links">
|
||||||
<ol>
|
<ol>
|
||||||
{% for link in target.recently_updated %}
|
{% for link in target.recently_updated %}
|
||||||
{% set linkpage = pages|selectattr("html", "equalto", link)|first %}
|
{% set linkpage = pages|selectattr("html", "equalto", link.html)|first %}
|
||||||
<li><a href="{{linkpage.html}}">{{linkpage.name}}</a></li>
|
<li><a href="{{linkpage.html}}">{{linkpage.name}}{% if link.date is defined %} <span class="recently-updated-date">({{link.date}})</span>{% endif %}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ol>
|
</ol>
|
||||||
</div><!--/.curated-links-->
|
</div><!--/.curated-links-->
|
||||||
|
|||||||
@@ -74,8 +74,8 @@
|
|||||||
<div class="curated-links">
|
<div class="curated-links">
|
||||||
<ol>
|
<ol>
|
||||||
{% for link in target.recently_updated %}
|
{% for link in target.recently_updated %}
|
||||||
{% set linkpage = pages|selectattr("html", "equalto", link)|first %}
|
{% set linkpage = pages|selectattr("html", "equalto", link.html)|first %}
|
||||||
<li><a href="{{linkpage.html}}">{{linkpage.name}}</a></li>
|
<li><a href="{{linkpage.html}}">{{linkpage.name}}{% if link.date is defined %} <span class="recently-updated-date">({{link.date}})</span>{% endif %}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ol>
|
</ol>
|
||||||
</div><!--/.curated-links-->
|
</div><!--/.curated-links-->
|
||||||
|
|||||||
Reference in New Issue
Block a user