Show photo
Alan Pearce alan@alanpearce.eu
Sat, 11 Jan 2020 18:53:29 +0100
2 files changed, 4 insertions(+), 0 deletions(-)
M layouts/index.html → 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 }}
M themes/xmin/static/css/style.css → themes/xmin/static/css/style.css
@@ -5,6 +5,9 @@ margin: auto; max-width: 800px; padding: 1em; } +.u-photo { + float:right; +} /* header and footer areas */ nav > ul { padding: 0; }