mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-29 11:47:34 +00:00
13 lines
212 B
Go
13 lines
212 B
Go
package main
|
|
|
|
import "embed"
|
|
|
|
const videoPlaylistParam = "videoplaylist"
|
|
|
|
//go:embed hlsjs/*
|
|
var hlsjsFiles embed.FS
|
|
|
|
func (p *post) hasVideoPlaylist() bool {
|
|
return p.firstParameter(videoPlaylistParam) != ""
|
|
}
|