summaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html
index b23b087..50fbc82 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,12 +1,15 @@
{{- /* HOMEPAGE */ -}}
{{- define "main" }}
<div class="homepage">
- <header class="homepage__hero">
- <h1 class="homepage__title">
+ <header class="homepage__header">
+ <h1 class="homepage__header-title">
{{ with .Title }}{{ . }}{{ else }}{{ site.Title | default "Welcome to my Blog!" }}{{ end }}
</h1>
+ {{- with site.Params.homepageImage }}
+ <img src="{{ . }}" alt="{{ . }}" class="homepage__header-image" />
+ {{- end }}
{{- with .Content }}
- <div class="homepage__content">
+ <div class="homepage__header-content">
{{ . }}
</div>
{{- end }}