Add custom shortcode for embedding raw HTML
This commit is contained in:
parent
96f1f87442
commit
913e135d27
2 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,13 @@
|
|||
---
|
||||
title: ''
|
||||
title: 'Home'
|
||||
date: 2024-01-01T19:41:05+01:00
|
||||
draft: true
|
||||
---
|
||||
|
||||
## Latest music
|
||||
|
||||
### Influenca - Official Musicvideo
|
||||
|
||||
{{< rawhtml >}}
|
||||
<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://libre.video/videos/embed/163971b8-dfff-4309-a579-185090ae88c5" frameborder="0" allowfullscreen></iframe>
|
||||
{{< /rawhtml >}}
|
||||
|
|
2
layouts/shortcodes/rawhtml.html
Normal file
2
layouts/shortcodes/rawhtml.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
<!-- raw html -->
|
||||
{{.Inner}}
|
Loading…
Reference in a new issue