Repository for website themes for valkyrie
Mapping from URL > Template file for the public site and the input it receives.
All inputs also have access to the shared Input
URL | File | Input |
---|---|---|
/ | home.tmpl | HomeInput |
/queue | queue.tmpl | QueueInput |
/last-played | lastplayed.tmpl | LastPlayedInput |
/news | news.tmpl | NewsInput |
/news/<id> | news-single.tmpl | NewsEntryInput |
/schedule | schedule.tmpl | ScheduleInput |
/search | search.tmpl | SearchInput |
/staff | staff.tmpl | StaffInput |
/submit | submit.tmpl | SubmitInput |
/faves | faves.tmpl | FavesInput |
/irc | chat.tmpl | ChatInput |
There are also special templates that are required for the API to function, those are defined in one of the above templates but executed separately:
home.tmpl:
Template Input Description nowplaying NowPlaying The currently playing song bit of the home page lastplayed LastPlayed The list of played songs queue Queue The list of queued songs streamer Streamer The currently live DJ/streamer live listeners Listeners The listeners amount
search.tmpl:
Template Input Description search-api SearchInput The popup when you search in the navbar
submit.tmpl:
Template Input Description form_submit SubmissionForm The form used to submit songs