revises layouts

This commit is contained in:
Huy Tran 2018-07-27 11:04:16 +10:00
parent 16514cf1bc
commit 8ede26ff22
3 changed files with 12 additions and 2 deletions

View file

@ -26,4 +26,9 @@
{{- end }} {{- end }}
{{ define "footer" -}} {{ define "footer" -}}
{{ if .Site.GoogleAnalytics -}}
<!-- Google Analytics -->
{{- template "_internal/google_analytics_async.html" . -}}
{{- end }}
{{ partial "footer/font-awesome-js.html" . }}
{{- end }} {{- end }}

View file

@ -0,0 +1,5 @@
{{ if .Site.GoogleAnalytics -}}
<!-- Google Analytics -->
{{- template "_internal/google_analytics_async.html" . -}}
{{- end }}
{{ partial "footer/font-awesome-js.html" . }}

View file

@ -7,5 +7,5 @@
{{- end -}} {{- end -}}
{{ define "footer" -}} {{ define "footer" -}}
{{ partial "footer.html" . }} {{ partial "portfolio/footer.html" . }}
{{- end }} {{- end }}