2023-05-03 15:13:03 -04:00
|
|
|
# Shortcodes
|
2023-05-03 20:30:33 -04:00
|
|
|
|
2023-05-03 15:13:03 -04:00
|
|
|
My hugo shortcodes for all my themes
|
2024-02-17 16:49:28 -05:00
|
|
|
More work is needed for them to be portable!
|
|
|
|
Currently tehy rely on [this svg spritesheet](https://code.gabe.rocks/gabriel/freedom/raw/branch/main/layouts/partials/spritesheet.html)
|
2023-05-03 15:13:03 -04:00
|
|
|
|
2023-05-03 20:30:33 -04:00
|
|
|
|
|
|
|
## Themes
|
|
|
|
- [Freedom](https://code.gabe.rocks/gabriel/freedom)
|
|
|
|
- [Valor](https://code.gabe.rocks/gabriel/valor)
|
|
|
|
|
|
|
|
|
|
|
|
### Audio
|
|
|
|
|
|
|
|
Embeds an audio player for an audio source
|
|
|
|
|
|
|
|
### Embed
|
|
|
|
|
|
|
|
Embeds an URL
|
|
|
|
|
|
|
|
### Gallery-(start/end)
|
|
|
|
Starts and closes a `div` element with the class `gallery`
|
|
|
|
|
|
|
|
### gif
|
|
|
|
|
|
|
|
A muted video with autoplay and no controls
|
|
|
|
|
|
|
|
### image
|
|
|
|
|
|
|
|
An image, optionally includes links and captions
|
|
|
|
|
|
|
|
### link-preview
|
|
|
|
|
|
|
|
A fancy preview for links
|
|
|
|
|
|
|
|
### pdf
|
|
|
|
Embeds a pdf
|
|
|
|
|
|
|
|
### recent-items
|
|
|
|
|
|
|
|
### relevant-items
|
|
|
|
|
|
|
|
### video
|
|
|
|
|
|
|
|
A video player with controls
|
|
|
|
|
2024-02-18 00:08:03 -05:00
|
|
|
(This needs improvements serv)
|