diff options
-rw-r--r-- | layouts/index.html | 1 | ||||
-rw-r--r-- | themes/xmin/static/css/style.css | 3 |
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 */ |
10 | nav > ul { padding: 0; } | 13 | nav > ul { padding: 0; } |