add MPI-SWS imrpint links
authorRalf Jung <post@ralfj.de>
Wed, 23 May 2018 12:20:48 +0000 (14:20 +0200)
committerRalf Jung <post@ralfj.de>
Wed, 23 May 2018 12:20:48 +0000 (14:20 +0200)
ralf/_layouts/default.html
ralf/_sass/_layout.scss
research/_config.yml

index ca29f4715a10a3b5e1f4a667fdb2ff0dfb06a714..08ae22039c9022f6734c89b6521508f83cfb918d 100644 (file)
       {{ content }}
     </article>
 
       {{ content }}
     </article>
 
+    {% if site.mpi_sws_imprint %}
+      <div id="-footer"><small>
+        <a href="https://imprint.mpi-klsb.mpg.de/sws/people/jung">Imprint</a> |
+        <a href="https://data-protection.mpi-klsb.mpg.de/sws/people/jung">Data Protection</a>
+      </small></div>
+    {% endif %}
   </div></body>
 
 </html>
   </div></body>
 
 </html>
index a4c47385c1395b361d85bd8fb9b02d234617662f..28d5919d40dea82ba1d9b040cc95994f896d72bb 100644 (file)
@@ -25,6 +25,12 @@ body { /* This centers us in the page, and handles the "too wide" case */
     padding-top: 1px; /* If we use 0 here, some paddings add up things get ugly. What?!? */
 }
 
     padding-top: 1px; /* If we use 0 here, some paddings add up things get ugly. What?!? */
 }
 
+/* The footer */
+#-footer {
+    padding-top: 3em;
+    text-align: center;
+}
+
 /* Navigation menu */
 #-navi {
     padding: 0;
 /* Navigation menu */
 #-navi {
     padding: 0;
index 18ca2bc32b22e50d42fb2ddd7dfbd96c0de8fa4e..4c1f1f93290ba95ad351966e37abf4929b71a64f 100644 (file)
@@ -12,3 +12,6 @@ defaults:
 # Build settings
 markdown: kramdown
 exclude: ['*.sh']
 # Build settings
 markdown: kramdown
 exclude: ['*.sh']
+
+# Custom settings
+mpi_sws_imprint: True