Add latest-semver shortcode (#19110)

pull/19143/head
Karen Bradshaw 2020-02-16 11:21:28 -05:00 committed by GitHub
parent 3fce287782
commit 9fab3c3098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
{{- $latestVersion := site.Params.latest }}
{{- $latestSemver := (replace $latestVersion "v" "") }}
{{- $latestSemver }}