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

github.com/radity/raditian-free-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrián Moreno Peña <zetxek@gmail.com>2020-05-05 20:59:41 +0300
committerAdrián Moreno Peña <zetxek@gmail.com>2020-05-05 20:59:41 +0300
commit783443a7b3e1985e4289158be7fd0c161b24d0d7 (patch)
tree01342df56554e09e3edb765aeb68f1618cf2e4ce
parent90048580ed961a08187cef22d86d9546c7291f7e (diff)
Title param addition
-rwxr-xr-xexampleSite/data/homepage.yml4
-rw-r--r--layouts/partials/head.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/exampleSite/data/homepage.yml b/exampleSite/data/homepage.yml
index bb6668f..956f397 100755
--- a/exampleSite/data/homepage.yml
+++ b/exampleSite/data/homepage.yml
@@ -1,3 +1,7 @@
+# homepage
+homepage:
+ head:
+ title: "Home | Raditian"
# showcase
showcase:
enable: true
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 201129f..a94774e 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -20,7 +20,7 @@
</script>
<!-- End Google Tag Manager -->
<!-- endinject -->
-<title>Home | Raditian</title>
+<title>{{ .Site.Data.homepage.head.title }}</title>
<style>
/* Fade In animation triggering after font load or 3s timeout */
.rad-fade-in {