Add page param shortcode
This commit is contained in:
parent
d5a0beafec
commit
eacbe5fb9e
2 changed files with 2 additions and 1 deletions
|
@ -28,4 +28,4 @@ $ yoga disable touch
|
|||
|
||||
Problem solved!
|
||||
|
||||
Whilst I've only tested this on my laptop, there's no reason it shouldn't work on others too! If it doesn't, submit an [issue]({{ article.repo }}/issues/)!
|
||||
Whilst I've only tested this on my laptop, there's no reason it shouldn't work on others too! If it doesn't, submit an [issue](https://github.com/{{% pageparam "repo" %}}/issues/)!
|
||||
|
|
1
layouts/shortcodes/pageparam.html
Normal file
1
layouts/shortcodes/pageparam.html
Normal file
|
@ -0,0 +1 @@
|
|||
{{ .Page.Param (.Get 0) }}
|
Loading…
Reference in a new issue