From 29ef063fdcfffd887313c7bc0e1e51d515d40e64 Mon Sep 17 00:00:00 2001 From: Heather Miller Date: Tue, 3 Jan 2017 13:59:43 +0100 Subject: Facelift, step 1 --- _layouts/chapter.html | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++ _layouts/default.html | 33 ++++++++++++++++++++++ _layouts/page.html | 2 +- 3 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 _layouts/chapter.html (limited to '_layouts') diff --git a/_layouts/chapter.html b/_layouts/chapter.html new file mode 100644 index 0000000..ff9b350 --- /dev/null +++ b/_layouts/chapter.html @@ -0,0 +1,77 @@ + + + + {% include head.html %} + +
+
+ + +
+
Programming Models for
+
Distributed Computing
+
+
+
+
+
+
+
+ {% assign minutes = content | number_of_words | divided_by:180 %} +
{{ page.tag }}
+

{{ page.title }}

+
{{ page.subtitle }} + {% if minutes <= 5 %} + + {% else %} + ({{ minutes }} min read) + {% endif %} +
+
+ {{ content }} +
+
+ +
+
+
+
+
+
+ + +
+
+
+
+ + + diff --git a/_layouts/default.html b/_layouts/default.html index d8a0846..c4152a6 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -32,4 +32,37 @@ + + diff --git a/_layouts/page.html b/_layouts/page.html index 12956f2..45910f5 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -1,5 +1,5 @@ --- -layout: default +layout: chapter ---
-- cgit v1.2.3 From 6800c5b6f744d1e56228cf74096cafe04e94489e Mon Sep 17 00:00:00 2001 From: Heather Miller Date: Tue, 3 Jan 2017 15:28:36 +0100 Subject: Facelifting, con't --- _layouts/chapter.html | 38 ++++++++++++++++++++++++++++++++++++-- _layouts/page.html | 8 ++++---- 2 files changed, 40 insertions(+), 6 deletions(-) (limited to '_layouts') diff --git a/_layouts/chapter.html b/_layouts/chapter.html index ff9b350..3380a52 100644 --- a/_layouts/chapter.html +++ b/_layouts/chapter.html @@ -2,7 +2,7 @@ {% include head.html %} - +
@@ -25,6 +25,7 @@
{{ page.tag }}

{{ page.title }}

{{ page.subtitle }} +
By {{ page.by }}
{% if minutes <= 5 %} {% else %} @@ -43,7 +44,6 @@
+ + + diff --git a/_layouts/page.html b/_layouts/page.html index 45910f5..6f8370f 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,11 +2,11 @@ layout: chapter --- -
+ -

{{ page.title }}

-
By {{ page.by }}
+ + {{ content }} -
+ -- cgit v1.2.3 From c4958a50b1555c8b40e3fde26832d0f774693b47 Mon Sep 17 00:00:00 2001 From: Heather Miller Date: Tue, 3 Jan 2017 16:23:15 +0100 Subject: Facelifting, in progress --- _layouts/chapter.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '_layouts') diff --git a/_layouts/chapter.html b/_layouts/chapter.html index 3380a52..bd8bcc0 100644 --- a/_layouts/chapter.html +++ b/_layouts/chapter.html @@ -3,6 +3,7 @@ {% include head.html %} +
@@ -24,8 +25,8 @@ {% assign minutes = content | number_of_words | divided_by:180 %}
{{ page.tag }}

{{ page.title }}

+
By {{ page.by }}
{{ page.subtitle }} -
By {{ page.by }}
{% if minutes <= 5 %} {% else %} -- cgit v1.2.3 From 21cddf809d02a674f1fac59ccc5dfb3adac3bab2 Mon Sep 17 00:00:00 2001 From: Heather Miller Date: Tue, 3 Jan 2017 17:58:37 +0100 Subject: Moar facelift --- _layouts/chapter.html | 54 +++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 42 insertions(+), 12 deletions(-) (limited to '_layouts') diff --git a/_layouts/chapter.html b/_layouts/chapter.html index bd8bcc0..78257b4 100644 --- a/_layouts/chapter.html +++ b/_layouts/chapter.html @@ -1,23 +1,53 @@ - {% include head.html %} +{% include head.html %} -
-
- - -
-
Programming Models for
-
Distributed Computing
+
+
+
+ +
+ +
+
+
+ + + + +
+ +
+
+
+
-- cgit v1.2.3