Skip to content

Commit 4df95db

Browse files
committed
adds date published
1 parent e1e026b commit 4df95db

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

public/_helpers.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,16 @@
7676
{% set url = learn.url %}
7777
{% set thumb = learn.thumbnail %}
7878
{% set author = learn.author %}
79-
79+
{% set datePublished = learn.date_published %}
8080
<li>
8181
<div>
8282
<div>
8383
<a itemprop="url" href="{{ url }}" class="no-underline">
8484
<img src="{{ thumb }}"/>
8585
<h3>{{ name }}</h3>
8686
</a>
87-
{{ description }}
87+
<time datetime="{{ datePublished }}">{{ datePublished }}</time>
88+
<p>{{ description }}</p>
8889
</div>
8990
</div>
9091
</li>

public/_learning.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{% from '_helpers.html' import learning_item %}
22

3-
<section class="notifications" id="notifications">
3+
<section class="learning" id="learning">
44
{% block learning %}
5-
{{ learning_item('progressive-webvr') }}
5+
<ul>
6+
{{ learning_item('progressive-webvr') }}
7+
</ul>
68
{% endblock %}
79
</section>

public/learning.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"url": "https://unboring.net/workflows/progressive-enhancement/",
66
"author": "Arturo Paracuellos",
77
"author_url": "unboring.net",
8-
"thumbnail": "articles/progressive-webvr/thumbnail.png"
8+
"thumbnail": "articles/progressive-webvr/thumbnail.png",
9+
"date_published": "5-April-2017"
910
}
1011
}

0 commit comments

Comments
 (0)