From 059c49dfe340adde40e1571ecae851fb8381b34d Mon Sep 17 00:00:00 2001 From: Tom Wiesing <tkw01536@gmail.com> Date: Tue, 9 May 2017 04:54:02 +0200 Subject: [PATCH] Layout for people pages --- _layouts/person.html | 32 +++++++++++++++++++++----------- people/mkohlhase.md | 1 + public/css/main.css | 2 +- 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/_layouts/person.html b/_layouts/person.html index e9ce115..760d862 100644 --- a/_layouts/person.html +++ b/_layouts/person.html @@ -2,14 +2,24 @@ layout: default --- -<div class="page"> - <h1 class="page-title">{{ page.fullname }}</h1> - {% if page.fulltitle %}<h2>{{ page.fulltitle }}</h2>{% endif %} - <h3> - <a href="https://kwarc.info/{{ page.account }}/publications.html">Pulibcations</a> - {% if page.cv %} <a href="/{{page.cv}}">Curriculum Vitae</a>{% endif %} - </h3> - - <img src="/{{page.pic}}" width="300"/> - {{ content }} -</div> + +<div class="row"> + <div class="col s12 m5 right"> + <div class="card"> + <div class="card-image"> + <img src="/{{page.pic}}" width="300"/> + </div> + <div class="card-content"> + <span class="card-title">{{ page.fullname }}</span> + {% if page.fulltitle %}{{ page.fulltitle }}{% endif %} + </div> + <div class="card-action"> + <a href="https://kwarc.info/{{ page.account }}/publications.html">Publications</a> + {% if page.cv %} <a href="/{{page.cv}}">Curriculum Vitae</a>{% endif %} + </div> + </div> + </div> + <p> + {{content}} + </p> +</div> \ No newline at end of file diff --git a/people/mkohlhase.md b/people/mkohlhase.md index 1690fd5..9d593ae 100644 --- a/people/mkohlhase.md +++ b/people/mkohlhase.md @@ -1,6 +1,7 @@ --- layout: person menu_title: Michael Kohlhase +title: Michael Kohlhase menu_order: 1 fullname: Prof. Dr. Michael Kohlhase fulltitle: Professur für Wissensrepräsentation und -verarbeitung diff --git a/public/css/main.css b/public/css/main.css index d5cd245..4c3aed8 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -10,7 +10,7 @@ header, main, .page-footer { } } -#body { +p { font-size: 1.25rem; font-weight: 300; } -- GitLab