Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marketempower/axiom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJhaura Wachsman <jhaurawachsman@gmail.com>2020-05-28 05:36:58 +0300
committerJhaura Wachsman <jhaurawachsman@gmail.com>2020-05-28 05:36:58 +0300
commit9add076b3c53a3f753642444893842439627a81e (patch)
tree0b7bd8fd5d4be4cf303bf624d139e6f13ff95bb0
parent9e64c77ac9663b29f4fe495090379c85757610d7 (diff)
Get version from Theme package.json
-rwxr-xr-xlayouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index e2f5878..e60824b 100755
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -10,7 +10,7 @@
<meta name="pinterest" content="nopin">
{{- if not (eq .Site.Params.omitThemeAttribution true) }}
- {{- $pkgJson := getJSON "./package.json" }}
+ {{- $pkgJson := getJSON "./themes/axiom/package.json" }}
<meta name="hugo-theme" content="{{ printf "%s %s" (T "theme" .) $pkgJson.version | safeHTMLAttr }}">
{{- end }}