Commit 71c05fe8 authored by Jeffrey Randow's avatar Jeffrey Randow

Fix Music Metadata

parent d617da06
Pipeline #6973405 passed with stages
in 1 minute and 42 seconds
......@@ -14,7 +14,7 @@
{{if .Params.music -}}<script src="https://cdn.bootcss.com/aplayer/1.5.8/APlayer.min.js"></script>
<script> var player = new APlayer({ element: document.getElementById('player'), narrow: false, autoplay: false,
showlrc: false, mutex: true, theme: '#000000', mode: 'random',
music: [ {{ $cdn := .Site.Params.musiccdn }}{{ $group := .Params.music}}{{$coverart := .Params.coverart}}{{$location := .Params.location}}
music: [ {{ $cdn := .Site.Params.musiccdn }}{{ $group := .Params.music}}{{$coverart := .Params.coverart}}{{$title := .Title}}
{{ range .Params.playlist}}{{range .songs }}
{ title: '{{.title}}', author: '{{ $group }}', url: '{{ $cdn }}{{ .url }}', pic: '{{ $coverart}}' },
{{end}}{{end}}
......@@ -27,9 +27,11 @@
"@type": "Event",
"startDate": "{{.Date}}",
"url": "{{.Permalink}}",
"name": "{{ $group }}"
"name": "{{ $group }}" ,
"location": {"@type": "Place", "name": "New Braunfels, TX", "address": {"@type": "PostalAddress", "addressLocality": "New Braunfels", "addressRegion": "TX"}}
}],
"name": "{{ $group }}",
"name": "{{ $title }}",
"image": "{{ $coverart }}",
"url": "{{.Permalink}}",
"track": [
{{ range .Params.playlist}}{{range .songs }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment