diff options
Diffstat (limited to 'templates/base.qtpl')
-rw-r--r-- | templates/base.qtpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/base.qtpl b/templates/base.qtpl index 444afc6..d8d1d34 100644 --- a/templates/base.qtpl +++ b/templates/base.qtpl @@ -19,6 +19,9 @@ Page { } %} +{% code + var Slug = "" +%} Page prints a page implementing Page interface. {% func PageTemplate(p Page) %} @@ -27,7 +30,7 @@ Page prints a page implementing Page interface. <meta charset="utf-8"> <link rel="icon" href="data:,"> <title>cerrado | {%= p.Title() %}</title> - <link rel="stylesheet" href="/static/main.css"> + <link rel="stylesheet" href="/static/main{%s Slug%}.css"> <meta name="viewport" content="width=device-width, initial-scale=1" /> </head> <body> |