shortcodes/readme.md
2024-02-18 00:08:03 -05:00

47 lines
809 B
Markdown

# Shortcodes
My hugo shortcodes for all my themes
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)
## 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
(This needs improvements serv)