mirror of https://github.com/patacrep/patacrep.git
Engine for LaTeX songbooks
http://www.patacrep.com
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
769 B
30 lines
769 B
(*- for title in titles -*)
|
|
(* if loop.first *)
|
|
<h1 class="song-title">(( title ))</h1>
|
|
(* else *)
|
|
<h2 class="song-title">(( title ))</h2>
|
|
(* endif *)
|
|
(* endfor -*)
|
|
|
|
(*- for author in authors -*)
|
|
<h2 class="song-artist">(( author[1] )) (( author[0] ))</h2>
|
|
(* endfor *)
|
|
|
|
|
|
(*- for key in ['album', 'copyright', 'tag', 'columns', 'capo'] *)
|
|
(* if key in metadata -*)
|
|
<span class="song-(( key ))">(( key|capitalize )): (( metadata[key] ))</span><br/>
|
|
(* endif *)
|
|
(* endfor *)
|
|
|
|
(* if lang is defined -*)
|
|
<span class="song-language">Lang: (( lang ))</span><br>
|
|
(* endif *)
|
|
|
|
(* include 'content_metadata_cover' *)
|
|
|
|
(*- for key in metadata.morekeys -*)
|
|
{key: (( key.keyword )): (( key.argument ))}
|
|
(* endfor *)
|
|
|
|
(* include 'content_define_list' *)
|
|
|