From 48a2f0f987ca821bdf2ad08ed6019376ea338142 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Wed, 2 Mar 2022 09:11:01 +0100 Subject: [PATCH] Add: site static partial --- layouts/partials/site_statics.html | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 layouts/partials/site_statics.html diff --git a/layouts/partials/site_statics.html b/layouts/partials/site_statics.html new file mode 100644 index 0000000..0fe3a3a --- /dev/null +++ b/layouts/partials/site_statics.html @@ -0,0 +1,39 @@ +{{ $data := index site.Data.siteStatics.siteStatics }} + +{{ if $data.enable }} + +{{"" | safeHTML}} +
+
+
+
+
+

{{ $data.title }}

+

{{ $data }}

+
+
+ +
+ + + + + + + {{ if data }} + + {{ end }} + + + + + +
Last build date:{{ now.Format "2006-01-02"}}
Number of pages:{{ len .Site.RegularPages }}
+
+
+
+
+{{"" | safeHTML}} + +{{ end }} +