summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Pearce2020-01-11 18:53:29 +0100
committerAlan Pearce2020-01-11 18:53:29 +0100
commit531f4912d91adea64144dd0bce737e5c608caa4e (patch)
tree33a249f6a3f8edb9e296ce86cd62e322b24ac7a3
parent857d20052a7bf0454c1b02015e697b25f10a69dd (diff)
downloadwebsite-531f4912d91adea64144dd0bce737e5c608caa4e.tar.xz
website-531f4912d91adea64144dd0bce737e5c608caa4e.zip
Show photo
-rw-r--r--layouts/index.html1
-rw-r--r--themes/xmin/static/css/style.css3
2 files changed, 4 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 9047132..25eaf74 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,5 +1,6 @@
1{{ define "main" -}} 1{{ define "main" -}}
2<main class="h-card"> 2<main class="h-card">
3 <img height="128" width="128" class="u-photo" src="/img/me-thumb.jpg" />
3 <h1 class="p-name">Alan Pearce</h1> 4 <h1 class="p-name">Alan Pearce</h1>
4 <section class="p-note"> 5 <section class="p-note">
5 {{ .Content }} 6 {{ .Content }}
diff --git a/themes/xmin/static/css/style.css b/themes/xmin/static/css/style.css
index 76658fe..8d456af 100644
--- a/themes/xmin/static/css/style.css
+++ b/themes/xmin/static/css/style.css
@@ -5,6 +5,9 @@ body {
5 max-width: 800px; 5 max-width: 800px;
6 padding: 1em; 6 padding: 1em;
7} 7}
8.u-photo {
9 float:right;
10}
8 11
9/* header and footer areas */ 12/* header and footer areas */
10nav > ul { padding: 0; } 13nav > ul { padding: 0; }