X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/b43dc0cc5003562a37b52e744fd3d3e3b12b3c06..343d9c2b8123ed93ab3aef040876567cf411fa58:/templates/macros.tmpl diff --git a/templates/macros.tmpl b/templates/macros.tmpl index b471599..c3b7ed8 100644 --- a/templates/macros.tmpl +++ b/templates/macros.tmpl @@ -36,29 +36,27 @@ and then redefines macros as desired. @# @name is the name of this page, for the element @define {stdhead} {name} {@quiethead -<link rel=stylesheet - type="text/css" - href="@label{url.static}/disorder.css"> <title>@label{@name.title}} @# Non-displaying text @define {quiethead} {} - {} + { } @# Standard menu @# @current is the name of the current page, e.g. choosealpha, login @define {stdmenu} {current} - { -
+

+
} @# Menu entry @@ -70,16 +68,15 @@ and then redefines macros as desired. @# @define {menuitem} {current name available} {@if{@available} - { } - { - @label{menu.@name}}} + { @label{menu.@name}} + { @label{menu.@name}}} @# Standard footer text @@ -114,9 +111,9 @@ and then redefines macros as desired. {@right{play} {@part{@track}{short}{artist}} + title="@label{@what.artistverbose}">@part{@track}{artist}{short}} {@part{@track}{short}{artist}}} + title="@part{@track}{artist}">@part{@track}{artist}{short}}} @# Expand to the album for @track @# @what is the section @@ -125,15 +122,15 @@ and then redefines macros as desired. {@right{play} {@part{@track}{short}{album}} + title="@label{@what.albumverbose}">@part{@track}{album}{short}} {@part{@track}{short}{album}}} + title="@part{@track}{album}">@part{@track}{album}{short}}} @# Expand to the title for @track @# @what is the section @# @track is the track name @define {mtitle} {what track} - {@part{@track}{short}{title}} + {@part{@track}{title}{short}} @# Expand to the remove/scratch entry for @id @# @what is the section @@ -170,3 +167,12 @@ and then redefines macros as desired. width=@width height=@height title="@label{playing.@q{@dir}verbose}" alt="@label{playing.@dir}">}} + +Local variables: +mode:sgml +sgml-always-quote-attributes:nil +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +fill-column:79 +End: