Skip to content

Commit

Permalink
Updated documentation for the title option
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-mon1 committed Feb 20, 2024
1 parent f7f99dc commit c6ec469
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion themes/digital.gov/layouts/shortcodes/youtube.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

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

@example
{{< youtube id="Hvo7WVKvPGU" time"101"
{{< youtube id="Hvo7WVKvPGU" time"101" title="Title goes here"
>}}

*/}}
Expand Down

0 comments on commit c6ec469

Please sign in to comment.