diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html
index 658d429..27f9b97 100644
--- a/layouts/partials/navbar.html
+++ b/layouts/partials/navbar.html
@@ -138,17 +138,7 @@
- {{/* Display any social links that the superuser chose to display in the header. */}}
- {{ range where (where (where site.Pages "Section" "authors") ".Params.superuser" true) ".Params.social" "!=" nil }}
- {{ range where .Params.social ".display.header" true }}
- {{ $social_link := partial "functions/get_social_link" . }}
- -
-
-
-
-
- {{ end }}
- {{ end }}
+ {{ partialCached "navbar_social_links.html" . .Lang }}
{{ $show_search := site.Params.main_menu.show_search | default true }}
{{ if and site.Params.search.provider $show_search }}
diff --git a/layouts/partials/navbar_social_links.html b/layouts/partials/navbar_social_links.html
new file mode 100644
index 0000000..08495a7
--- /dev/null
+++ b/layouts/partials/navbar_social_links.html
@@ -0,0 +1,11 @@
+{{/* Display any social links that the superuser chose to display in the header. */}}
+{{ range where (where (where site.Pages "Section" "authors") ".Params.superuser" true) ".Params.social" "!=" nil }}
+ {{ range where .Params.social ".display.header" true }}
+ {{ $social_link := partial "functions/get_social_link" . }}
+ -
+
+
+
+
+ {{ end }}
+{{ end }}