diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 4d6f3df70f..3a4fef67e3 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,40 +1,15 @@ -{{ $links := .Site.Params.links -}} - -{{- define "footer-links-block" }} - -{{ end -}} diff --git a/layouts/partials/footer/center.html b/layouts/partials/footer/center.html new file mode 100644 index 0000000000..3d33dbe7a9 --- /dev/null +++ b/layouts/partials/footer/center.html @@ -0,0 +1,5 @@ +{{ with .Site.Params.copyright }}© {{ now.Year }} {{ . }} {{ T "footer_all_rights_reserved" }}{{ end }} +{{ with .Site.Params.privacy_policy }}{{ T "footer_privacy_policy" }}{{ end }} +{{ if not .Site.Params.ui.footer_about_disable -}} + {{ with .Site.GetPage "about" }}

{{ .Title }}

{{ end }} +{{ end }} diff --git a/layouts/partials/footer/left.html b/layouts/partials/footer/left.html new file mode 100644 index 0000000000..2f093d4b21 --- /dev/null +++ b/layouts/partials/footer/left.html @@ -0,0 +1,5 @@ +{{ with .Site.Params.links }} +{{ with index . "user" }} +{{ partial "footer/links.html" . }} +{{ end }} +{{ end }} diff --git a/layouts/partials/footer/links.html b/layouts/partials/footer/links.html new file mode 100644 index 0000000000..47fd857068 --- /dev/null +++ b/layouts/partials/footer/links.html @@ -0,0 +1,9 @@ + diff --git a/layouts/partials/footer/right.html b/layouts/partials/footer/right.html new file mode 100644 index 0000000000..57cf429573 --- /dev/null +++ b/layouts/partials/footer/right.html @@ -0,0 +1,5 @@ +{{ with .Site.Params.links }} +{{ with index . "developer" }} +{{ partial "footer/links.html" . }} +{{ end }} +{{ end }}