📝 docs: set consistent paths for imgs

This commit is contained in:
welpo
2023-02-27 18:42:02 +01:00
parent 0648bc80e2
commit 9b680b0da7

View File

@@ -1,7 +1,7 @@
+++ +++
title = "Custom shortcodes" title = "Custom shortcodes"
date = 2023-02-19 date = 2023-02-19
updated = 2023-02-26 updated = 2023-02-27
[taxonomies] [taxonomies]
tags = ["showcase", "shortcodes"] tags = ["showcase", "shortcodes"]
+++ +++
@@ -27,7 +27,7 @@ Good for graphs, line drawings, diagrams… Inverts the colours of the image. Th
#### Usage #### Usage
``` ```
{{/* invertible_image(src="img/graph.webp", alt="Invertible graph") */}} {{/* invertible_image(src="$BASE_URL/img/graph.webp", alt="Invertible graph") */}}
``` ```
### Dimmable image ### Dimmable image
@@ -39,7 +39,7 @@ Images with too much brightness or contrast can be jarring against a dark backgr
#### Usage #### Usage
``` ```
{{/* dimmable_image(src="img/desert_by_oskerwyld.webp", alt="Photograph of a desert, heavenly sky") */}} {{/* dimmable_image(src="$BASE_URL/img/desert_by_oskerwyld.webp", alt="Photograph of a desert, heavenly sky") */}}
``` ```
## References ## References