{{define "cp_youtube"}} {{template "cp_head" .}} {{template "cp_alerts" .}}

New feed

Provide either channel ID OR username. Only one of them, not both.
When you go to the channel page, if the address bar has for example youtube.com/user/h3h3Productions then the username is h3h3Productions
if it's youtube.com/channel/UCt-ERbX-2yA6cAqfdKOlUwQ then the id is UCt-ERbX-2yA6cAqfdKOlUwQ
For any questions join the support server above

youtube.com/channel/
youtube.com/user/
{{checkbox "MentionEveryone" "new-mention-everyone" `Mention everyone` false}}

Current subscribed channels

{{$dot := .}} {{range .Subs}}
{{end}} {{range .Subs}} {{end}}
Youtube Discord channel Mention everyone Actions

{{.YoutubeChannelName}} - {{.YoutubeChannelID}}

{{checkbox "MentionEveryone" (joinStr "" "mention-everyone-" .ID) `Mention everyone` .MentionEveryone (joinStr "" `form="sub-item-` .ID `"`)}}
{{template "cp_footer" .}} {{end}}