summaryrefslogtreecommitdiff
path: root/web/templates
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2019-01-27 16:40:40 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2019-01-27 16:40:40 +0100
commitd832cd80ddf43872532db8943f310eed4edb7fe5 (patch)
treea088d3b39f98267197f7cae71eb56f47ecb39f3e /web/templates
parenta983c8cbc917ffa3ce81d2540b50bdb321588b92 (diff)
downloadhakyll-d832cd80ddf43872532db8943f310eed4edb7fe5.tar.gz
Refactor tutorials on hakyll website
Diffstat (limited to 'web/templates')
-rw-r--r--web/templates/tutorials.html30
1 files changed, 12 insertions, 18 deletions
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 @@
<h1>Tutorials about Hakyll</h1>
<h2 id="series">Tutorial series</h2>
<ul>
- $for(tutorials)$
- $if(isSeries)$
- <li>
- <a href="$url$">$title$</a>
- </li>
- $endif$
+ $for(main)$
+ <li>
+ <a href="$url$">$title$</a>
+ </li>
$endfor$
</ul>
<h2 id="articles">Other articles</h2>
<p>In no particular order:</p>
<ul>
- $for(tutorials)$
- $if(isArticle)$
- <li>
- <a href="$url$">$title$</a> by <em>$author$</em>
- </li>
- $endif$
+ $for(articles)$
+ <li>
+ <a href="$url$">$title$</a> by <em>$author$</em>
+ </li>
$endfor$
</ul>
<h2 id="external-articles">External articles</h2>
@@ -28,12 +24,10 @@
</p>
<p>In no particular order:</p>
<ul>
- $for(tutorials)$
- $if(isExternal)$
- <li>
- <a href="$url$">$title$</a> by <em>$author$</em>
- </li>
- $endif$
+ $for(externals)$
+ <li>
+ <a href="$url$">$title$</a> by <em>$author$</em>
+ </li>
$endfor$
</ul>
<p>