Last active
October 12, 2018 22:53
-
-
Save robsonsobral/30e71b0a7482922b40f40d6264adbe1e to your computer and use it in GitHub Desktop.
hugoMeta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ with .Lastmod }} | |
<meta http-equiv="Last-Modified" content="{{ .Format "2006-01-02T15:04:05-0700" }}" /> | |
{{ end }} | |
{{ $packageJson := getJSON "./package.json" }} | |
{{ with $packageJson.version }} | |
<meta name="version" content="{{ . }}"> | |
{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment