about summary refs log tree commit diff stats
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.lz
website-531f4912d91adea64144dd0bce737e5c608caa4e.tar.zst
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 @@
 {{ define "main" -}}
 <main class="h-card">
+  <img height="128" width="128" class="u-photo" src="/img/me-thumb.jpg" />
   <h1 class="p-name">Alan Pearce</h1>
   <section class="p-note">
     {{ .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 {
   max-width: 800px;
   padding: 1em;
 }
+.u-photo {
+  float:right;
+}
 
 /* header and footer areas */
 nav > ul { padding: 0; }