From d8777915c1a9fa50e59724d3e5ed2ca5ac7a3224 Mon Sep 17 00:00:00 2001 From: Jodi Winters Date: Tue, 31 May 2016 17:05:51 +0100 Subject: [PATCH 1/4] Starting to have a stab at improvements --- _layouts/page.html | 24 ++++++++++++------------ javascripts-dev/src/ui.js | 12 +++++++----- js/lesson3/tutorial.md | 2 +- stylesheets/style.css | 4 ++++ 4 files changed, 24 insertions(+), 18 deletions(-) diff --git a/_layouts/page.html b/_layouts/page.html index ffb72ee9..db9e6a45 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,6 +2,7 @@ layout: default --- +
{% if page.title %} @@ -9,6 +10,17 @@

{{ page.title }}

{% endif %} + + {% if page.files %} + Files for example +
    + {% assign pageurl = page.url | split: '/' | pop: | join: '/' %} + {% for file in page.files %} +
  • {{ pageurl }}/{{ file }}
  • + {% endfor %} +
+ {% endif %} + {{ content }}