mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-25 06:21:26 +02:00
Add a docsref shortcode.
This allows for the build to fail if a reference isn't found.
This commit is contained in:
1
site/layouts/shortcodes/docsref.html
Normal file
1
site/layouts/shortcodes/docsref.html
Normal file
@@ -0,0 +1 @@
|
||||
{{- relref . ((printf "docs/%s%s" $.Site.Params.docs_version (.Get 0)) | relURL) -}}
|
Reference in New Issue
Block a user