From c7b295c65af032e17de9a4386e00f5997940ef03 Mon Sep 17 00:00:00 2001
From: Adrian Föder <adrian@foeder.de>
Date: Wed, 07 Aug 2024 06:33:35 +0000
Subject: [PATCH] feat: allow hiding of images and videos

---
 README.md |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md
index f38a0a0..1ea7849 100644
--- a/README.md
+++ b/README.md
@@ -76,6 +76,15 @@
   position = "center center"
 ```
 
+You can control displaying of the image on a per-page basis by configuring `visual.image.enable` on each respective page's FrontMatter:
+
+```markdown
++++
+visual.image.enable = false
++++
+
+# Privacy statement
+```
 
 ### Use a video
 
@@ -85,6 +94,8 @@
 
 You can either use a video that you host or one that is on YouTube.
 
+Just like with [an image](#use-an-image) you can not display a video altogether on particular pages by setting `visual.video.enable = false` in the page's FrontMatter.
+
 ##### Use your own video
 
 Add your video to the `static` folder and change `file` to the location of your video accordingly. Make sure you delete `youtubeId` or comment it out.

--
Gitblit v1.10.0