From d832cd80ddf43872532db8943f310eed4edb7fe5 Mon Sep 17 00:00:00 2001
From: Jasper Van der Jeugt
Date: Sun, 27 Jan 2019 16:40:40 +0100
Subject: Refactor tutorials on hakyll website
---
web/templates/tutorials.html | 30 ++++++++++++------------------
1 file changed, 12 insertions(+), 18 deletions(-)
(limited to 'web/templates')
diff --git a/web/templates/tutorials.html b/web/templates/tutorials.html
index cafdacb..9650897 100644
--- a/web/templates/tutorials.html
+++ b/web/templates/tutorials.html
@@ -1,23 +1,19 @@
Tutorials about Hakyll
Tutorial series
- $for(tutorials)$
- $if(isSeries)$
- -
- $title$
-
- $endif$
+ $for(main)$
+ -
+ $title$
+
$endfor$
Other articles
In no particular order:
- $for(tutorials)$
- $if(isArticle)$
- -
- $title$ by $author$
-
- $endif$
+ $for(articles)$
+ -
+ $title$ by $author$
+
$endfor$
External articles
@@ -28,12 +24,10 @@
In no particular order:
- $for(tutorials)$
- $if(isExternal)$
- -
- $title$ by $author$
-
- $endif$
+ $for(externals)$
+ -
+ $title$ by $author$
+
$endfor$
--
cgit v1.2.3