Using Shortcodes & Linking Pages
Shortcodes are custom functions that can be run in Hugo that expand the default HTML capabilities. Currently these are only used to ease linking pages, but may be expanded in the future.
Shortcode List
wiki-link
Provides a link to any standard page.ShowBiz Pizza Place
gives you a link to ShowBiz Pizza PlaceTest
gives you the linked text Test
link
Provides a link to any website.https://youtu.be/ysK77V2_qW0
gives you a link to https://youtu.be/ysK77V2_qW0Showtape Archive
gives you the linked text Showtape Archive
cite
Provides a citation to the (1-indexed) link in the list. Be sure you cite a link that’s actually in the citation parameters or the site will not compile. (Such as citing 2 when there’s only 1 citation in the list)[1]
example.
References
- test citation