From be2bcf63c0c05470617016d4b8efadb1c1fac5e8 Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@hesge.ch>
Date: Sat, 21 Nov 2020 15:32:37 +0100
Subject: [PATCH] various updates

---
 hakyll-bootstrap/Main.hs               | 1 +
 hakyll-bootstrap/pages/contact.md      | 4 ++--
 hakyll-bootstrap/templates/footer.html | 2 ++
 hakyll-bootstrap/templates/page.html   | 1 -
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/hakyll-bootstrap/Main.hs b/hakyll-bootstrap/Main.hs
index 7234814..0d9d50b 100644
--- a/hakyll-bootstrap/Main.hs
+++ b/hakyll-bootstrap/Main.hs
@@ -158,6 +158,7 @@ main = hakyllWith config $ do
     match "posts/bachelor/*.md" $ do
         route $ setExtension "html"
         compile $ pandocCompiler
+            >>= loadAndApplyTemplate "templates/post.html" postCtx
             >>= relativizeUrls
 
     -- Team members list
diff --git a/hakyll-bootstrap/pages/contact.md b/hakyll-bootstrap/pages/contact.md
index 9cb5865..ff8b7bd 100644
--- a/hakyll-bootstrap/pages/contact.md
+++ b/hakyll-bootstrap/pages/contact.md
@@ -11,6 +11,6 @@ orestis dot malaspinas at hesge dot ch\
 <http://www.hesge.ch/hepia>\
 Tel. +41 (0)22 546 67 06
 
-<!-- [Follow \@omalaspinas](https://twitter.com/omalaspinas) -->
+[Follow \@omalaspinas](https://twitter.com/omalaspinas)
 
-<a href="https://twitter.com/omalaspinas?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-show-count="false">Follow @omalaspinas</a>
+<!-- <a href="https://twitter.com/omalaspinas?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-show-count="false">Follow @omalaspinas on Twitter</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> -->
diff --git a/hakyll-bootstrap/templates/footer.html b/hakyll-bootstrap/templates/footer.html
index b2daa7d..175de03 100644
--- a/hakyll-bootstrap/templates/footer.html
+++ b/hakyll-bootstrap/templates/footer.html
@@ -1,4 +1,6 @@
 <footer>
   <p class="pull-right"><a href="#">Back to top</a></p>
+  Site proudly generated by <a href="http://github.com/jaspervdj/hakyll">hakyll</a> and inspired by <a href="https://github.com/sdiehl/hakyll-bootstrap">hakyll-bootstrap</a>.
+
   <!-- <p>&copy; 2013 My Company &middot; <a href="/pages/privacy.html">Privacy</a> &middot; <a href="/pages/tos.html">Terms</a></p> -->
 </footer>
diff --git a/hakyll-bootstrap/templates/page.html b/hakyll-bootstrap/templates/page.html
index bb78d2a..b5e2aa9 100644
--- a/hakyll-bootstrap/templates/page.html
+++ b/hakyll-bootstrap/templates/page.html
@@ -30,6 +30,5 @@
     <script src="/js/jquery.js"></script>
     <script src="/js/bootstrap.js"></script>
     <script src="/js/holder.js"></script>
-    <script src="/js/widgets.js" charset="utf-8"></script>
   </body>
 </html>
-- 
GitLab