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

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Hollander <EmielH@users.noreply.github.com>2018-10-21 22:08:17 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2018-10-21 22:08:17 +0300
commite50ae3922946c7facf3597a4348aa7fdda655b4f (patch)
treeb32d6f19c6762ffd97f91d9632d4439e9a1b63d3 /layouts
parentffc436900bc174126845ad5fe632d151e16a0ff6 (diff)
Add partial for introduction on index page
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/index/introduction.html5
2 files changed, 7 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 5918367..8b4b147 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,8 @@
{{ define "main" }}
<main>
+ {{ partial "index/introduction.html" . }}
+
<div class="catalogue">
{{ range (.Paginate .Pages).Pages }}
{{ .Render "summary" }}
diff --git a/layouts/partials/index/introduction.html b/layouts/partials/index/introduction.html
new file mode 100644
index 0000000..5b636b8
--- /dev/null
+++ b/layouts/partials/index/introduction.html
@@ -0,0 +1,5 @@
+<!--
+This is a placeholder partial for the introduction. Create a file called
+layouts/partials/index/introduction.html in your own site to overwrite this
+placeholder.
+-->