Skip to content

Commit 983e832

Browse files
author
vishalvivekm
committed
fix formatting and examples
Signed-off-by: vishalvivekm <[email protected]>
1 parent 217cd1d commit 983e832

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

content/en/contributing/contributing-videos/contributing-videos.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ weight: 1
44
description: A detailed contribution guide for adding videos to Layer5 Docs docs videos gallary
55
---
66

7-
> [!Note]
8-
> In Hugo, a section is a directory containing an `_index.md` file.
7+
{{< alert title="Note" >}}In Hugo, a section is a directory containing an `_index.md` file.{{< /alert >}}
98

109
## Overview
1110

@@ -64,8 +63,10 @@ tags: [review, collaboration, comments] # Available as hyperlinked tags in the v
6463
duration: 2:30 # Optional: duration in minutes:seconds format ("min" is automatically added)
6564
---
6665
67-
{{< youtube id="videoId" class="yt-embed-container" >}} # Example: {{< youtube id=bb6J--aApk8 class="yt-embed-container" >}} we can control the styling of this iframe and wrapping div
68-
# by modify style of .yt-embed-container in assets/scss/_videos_project.scss
66+
# the following youtube shortcode is used for individual video page
67+
# Example: {{</* youtube id=bb6J--aApk8 class="yt-embed-container" */>}}
68+
# we can control the styling of resulting iframe and wrapping div by modify style of .yt-embed-container in assets/scss/_videos_project.scss
69+
{{</* youtube id="videoId" class="yt-embed-container" */>}}
6970
```
7071

7172
### Approach B: Add Videos Directly Under a Category
@@ -118,3 +119,5 @@ content/en/videos/
118119
├── _index.md # Defines the "Sub Category" sub-section
119120
└── video-1.md # file containing video specific data
120121
```
122+
123+
See `content/en/videos/template-category/` for an example of a category with subcategories and videos. It is set to draft and is not published and is intended as a reference for adding videos.

0 commit comments

Comments
 (0)