Skip to content

Commit

Permalink
Revert YT shortcode
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoalcarazdelaosa committed Jun 11, 2024
1 parent 01d082b commit 5798651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions layouts/partials/hooks/head-end/custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,4 @@

{{ if .Params.threedmol }}
<script src="https://3Dmol.org/build/3Dmol-min.js"></script>
{{ end }}

<script type="module" src="https://cdn.jsdelivr.net/npm/@justinribeiro/[email protected]/lite-youtube.js"></script>
{{ end }}
1 change: 1 addition & 0 deletions layouts/shortcodes/youtube.html
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<script type="module" src="https://cdn.jsdelivr.net/npm/@justinribeiro/[email protected]/lite-youtube.js"></script>
<lite-youtube videoid="{{ .Get 0 }}" videoStartAt="{{ .Get 1 | default 0 }}"></lite-youtube>

0 comments on commit 5798651

Please sign in to comment.