From 4df95dba6eaf69ab3575afd2ba4a65860a80b360 Mon Sep 17 00:00:00 2001 From: caseyyee Date: Wed, 26 Apr 2017 17:19:09 -0700 Subject: [PATCH] adds date published --- public/_helpers.html | 5 +++-- public/_learning.html | 6 ++++-- public/learning.json | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/public/_helpers.html b/public/_helpers.html index 021b4ab3..f7ae6bad 100644 --- a/public/_helpers.html +++ b/public/_helpers.html @@ -76,7 +76,7 @@ {% set url = learn.url %} {% set thumb = learn.thumbnail %} {% set author = learn.author %} - + {% set datePublished = learn.date_published %}
  • @@ -84,7 +84,8 @@

    {{ name }}

    - {{ description }} + +

    {{ description }}

  • diff --git a/public/_learning.html b/public/_learning.html index 2d9c8764..50456467 100644 --- a/public/_learning.html +++ b/public/_learning.html @@ -1,7 +1,9 @@ {% from '_helpers.html' import learning_item %} -
    +
    {% block learning %} - {{ learning_item('progressive-webvr') }} +
      + {{ learning_item('progressive-webvr') }} +
    {% endblock %}
    diff --git a/public/learning.json b/public/learning.json index 64b6c0cc..98273ddf 100644 --- a/public/learning.json +++ b/public/learning.json @@ -5,6 +5,7 @@ "url": "https://unboring.net/workflows/progressive-enhancement/", "author": "Arturo Paracuellos", "author_url": "unboring.net", - "thumbnail": "articles/progressive-webvr/thumbnail.png" + "thumbnail": "articles/progressive-webvr/thumbnail.png", + "date_published": "5-April-2017" } }