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