theme: add theme version info to head #158

This commit is contained in:
Sören Weber 2021-11-24 12:04:40 +01:00
parent be221f2f5b
commit 4053dc8565
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
3 changed files with 4 additions and 0 deletions

View file

@ -41,6 +41,7 @@ runs:
GITHUB_TOKEN: ${{ inputs.github_token }}
GREN_GITHUB_TOKEN: ${{ inputs.github_token }}
run: |
echo "$MILESTONE" > layouts/partials/version.html
npx github-release-notes@0.17.1 changelog --generate --override --tags=all
git add *
git commit --message "Ship tag $MILESTONE"

View file

@ -1,3 +1,5 @@
<meta name="generator" content="Relearn {{ partial "version.html" }}">
{{- partial "page-meta.go" . }}
{{- if not (and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSeoHiddenPages true) ) ) }}
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">

View file

@ -0,0 +1 @@
2.9.1