1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-09 14:51:52 +00:00

Shorter album urls

This commit is contained in:
Tixie 2022-04-23 01:23:53 +02:00 committed by Tixie
parent 64c8272577
commit 2953e35528
105 changed files with 20 additions and 8 deletions

View file

@ -2,7 +2,7 @@ baseURL = "http://localhost:1313/"
languageCode = "en-us" languageCode = "en-us"
title = "Now Playing" title = "Now Playing"
author = "Glitch.Family" author = "Glitch.Family"
mainSections = ["musics"] mainSections = ["a"]
paginate = 16 paginate = 16
disableKinds = ["taxonomy", "taxonomyTerm"] disableKinds = ["taxonomy", "taxonomyTerm"]

View file

@ -55,7 +55,7 @@
<script> <script>
window.albumsUrls = [ window.albumsUrls = [
{{ range where .Site.RegularPages "Type" "in" "musics" }} {{ range where .Site.RegularPages "Type" "in" "a" }}
"{{ .Permalink }}", "{{ .Permalink }}",
{{ end }} {{ end }}
] ]

Some files were not shown because too many files have changed in this diff Show more