mirror of https://github.com/escalate/hugo-split-theme.git

Adrian Föder
06.17.2024 c7b295c65af032e17de9a4386e00f5997940ef03
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.