Skip to content

Commit

Permalink
Fixed prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-mon1 committed Feb 20, 2024
1 parent 38b5b0c commit 95977c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions themes/digital.gov/layouts/shortcodes/youtube.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{{/*
Embeds a youtube player into the page
{{/* Embeds a youtube player into the page
Use the share link on the youtube.com to get the id and start time

@param {string} id - the required youtube video id
@params {number} [time] - the optional start time in seconds for the video

@example
{{< youtube id="Hvo7WVKvPGU" time"101" >}}
{{< youtube id="Hvo7WVKvPGU" time"101"
>}}

*/}}

{{ $id := (.Get "id") }}
{{ $time := (.Get "time") }}


<div
class="video"
style="position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden;"
Expand Down

0 comments on commit 95977c5

Please sign in to comment.