Repository navigation
v0.37.0
The kit version in a landing's footer
A new opt-in partial, kit-version.html, prints the landingkit version a page was built with (#54). Add it to your own <footer> with {{ partial "kit-version.html" . }}:
- a tagged version prints
landingkit v0.37.0, linked to that release; - a pseudo-version prints as it is, linked to the commit;
- a
replaceto a local directory, or no kit dependency, printslandingkit (local), with no link.
It reads hugo.Deps and never fails the build. Its colour is --slate: 7.58:1 on the light background and 7.66:1 on the dark one.
landingkit audit now prints the kit version it reads on each published page (none when the page has no such line), plus a tally. landingkit check warns when a built site has no version line, and does not fail.
To show it on a landing, bump the pin to v0.37.0 or later AND add the partial call to the footer. The bump alone shows nothing.