Browse Source

fix: move footer scripts to footer template

main
Vivek R 3 years ago
parent
commit
20cc3193f6
2 changed files with 5 additions and 4 deletions
  1. +0
    -4
      layouts/index.html
  2. +5
    -0
      layouts/partials/footer.html

+ 0
- 4
layouts/index.html View File

@ -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>

+ 5
- 0
layouts/partials/footer.html View File

@ -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 -}}

Loading…
Cancel
Save