diff options
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..694eae5 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,40 @@ +{{ define "main" }} + +<main> + <div class="portrait-container"> + <img src="{{ "images/portrait.jpg" | relURL }}" width="300" height="300" class="portrait" alt="Portrait" /> + </div> + + <div class="content"> + <h1>{{ .Site.Author.name | default "Stip" }}</h1> + <h2>{{ .Site.Author.bio | default "Hugo theme to introduce yourself" }}</h2> + <p>{{- partial "introduction.html" . -}}</p> + + <div class="links"> + {{- range .Site.Params.links -}} + <a href="{{ .url }}" title="{{ .title }}"> + <span class="{{ .iconset | default "fab" }} fa-{{ .icon }}"></span> + </a> + {{- end -}} + </div> + + {{- partial "footer.html" . -}} + </div> + + <!--div class="column left"> + <img src="images/portrait.jpg" width="300" height="300" class="portrait" alt="Portrait" /> + </div> + <div class="column right"> + {{- with .Param "greeting" -}} + <h1>{{ . }}</h1> + {{- else -}} + <h1>{{ i18n "hello" }}.</h1> + {{- end -}} + <h2>{{ i18n "i-am" }} {{ .Site.Author.name | default "Hallo" }}.</h2> + <p>{{- partial "introduction.html" . -}}</p> + + + </div--> +</main> + +{{ end }}
\ No newline at end of file |