jekyll-version-plugin icon indicating copy to clipboard operation
jekyll-version-plugin copied to clipboard

Option to remove "v" from a git tag

Open MarkWieczorek opened this issue 5 years ago • 1 comments

The releases of my project use the tag convention "v4.7". When using jekyll-version-plugin in my project's web documentation, however, sometimes it would be more appropriate to use "4.7" than "v4.7"

Would it be possible to provide an optional argument that would strip off the leading "v" from a version string (if it exists)?

MarkWieczorek avatar Jul 26 '20 14:07 MarkWieczorek

Just use liquid to trim it

datapolitical avatar Apr 20 '21 10:04 datapolitical