Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EmielH/hallo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..652dfc4
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,22 @@
+{{ define "main" }}
+
+<main>
+ <div class="column left">
+ <img src="images/portrait.jpg" width="300" height="300" class="portrait" />
+ </div>
+ <div class="column right">
+ <h1>{{ i18n "hello" }}.</h1>
+ <h2>{{ i18n "i-am" }} {{ .Site.Author.name | default "Hallo" }}.</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>
+ </div>
+</main>
+
+{{ end }} \ No newline at end of file