diff --git a/helper/content.go b/helper/content.go index 56d6fbc..e243033 100644 --- a/helper/content.go +++ b/helper/content.go @@ -7,6 +7,7 @@ import ( "path" "regexp" "strings" + "time" "gitbase.de/apairon/mark2web/config" "github.com/Depado/bfchroma" @@ -24,6 +25,8 @@ func newContext() pongo2.Context { "fnRender": RenderFn, "AssetsPath": config.Config.Assets.ToPath, + + "Timestamp": time.Now().Unix, } } diff --git a/website/content/config.yml b/website/content/config.yml index 71b7749..023e4c4 100644 --- a/website/content/config.yml +++ b/website/content/config.yml @@ -13,4 +13,4 @@ Markdown: Data: debug: False matomoSiteId: 89 - token: 89ff216524093123bf7a0a10f7b273 # cockpit api token \ No newline at end of file + token: 985cee34099f4d3b08f18fc22f6296 # cockpit api token \ No newline at end of file diff --git a/website/templates/base.html b/website/templates/base.html index 4a0a56c..2a94dd3 100755 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -5,7 +5,7 @@ - + @@ -15,7 +15,7 @@ {% endblock meta %} - + {% include "partials/matomo.html" with siteId=Data.matomoSiteId %} @@ -201,20 +201,20 @@ - - - - - - + + + + + + - - + + - - + +