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

github.com/vividvilla/ezhil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek R <vividvilla@gmail.com>2019-06-19 13:07:55 +0300
committerVivek R <vividvilla@gmail.com>2019-06-19 13:07:55 +0300
commit20cc3193f6384a8146cafdb87c86ac7d944c39bd (patch)
tree823d0869640f4d731b33ab35363f87b9d3dff952
parentc3b42e321b5a62bff9cbf4d1dabc447a4e3f843d (diff)
fix: move footer scripts to footer template
-rw-r--r--layouts/index.html4
-rw-r--r--layouts/partials/footer.html5
2 files changed, 5 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html
index fefffe4..7d617e4 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -38,9 +38,5 @@
</div>
</div>
{{ partial "footer.html" . }}
- {{ template "_internal/google_analytics_async.html" . }}
- {{- with .Site.Params.Social -}}
- <script>feather.replace()</script>
- {{- end -}}
</body>
</html>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index be53c38..82de76f 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -3,3 +3,8 @@
<div><a href="https://github.com/vividvilla/ezhil">Ezhil theme</a> | Built with <a href="gohugo.io">Hugo</a></div>
</nav>
</div>
+
+{{ template "_internal/google_analytics_async.html" . }}
+{{- with .Site.Params.Social -}}
+<script>feather.replace()</script>
+{{- end -}}