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:
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.
+-->