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 ca29f47..08ae220 100644 (file)
       {{ 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>
index a4c4738..28d5919 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?!? */
 }
 
+/* The footer */
+#-footer {
+    padding-top: 3em;
+    text-align: center;
+}
+
 /* Navigation menu */
 #-navi {
     padding: 0;
index 18ca2bc..4c1f1f9 100644 (file)
@@ -12,3 +12,6 @@ defaults:
 # Build settings
 markdown: kramdown
 exclude: ['*.sh']
+
+# Custom settings
+mpi_sws_imprint: True