Add iframe shortcode
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2020-12-01 17:55:09 +01:00
parent 5df17e13c7
commit 23639f6985
2 changed files with 11 additions and 0 deletions

View File

@ -93,6 +93,16 @@ ul {
padding-left: 1.5em; padding-left: 1.5em;
} }
iframe {
border: none;
width: 100%;
height: 56.25vw;
max-height: $large * 0.5625;
display: block;
margin: 1rem 0;
}
.nav { .nav {
display: flex; display: flex;
flex-flow: column wrap; flex-flow: column wrap;

View File

@ -0,0 +1 @@
<iframe src="{{ .Get "src" }}" title="{{ .Get "title" }}" allowfullscreen="true"></iframe>