summaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-22 17:50:53 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-22 17:50:53 +1000
commit881fb0d31551bff7ca7709b08469227eec2a63bf (patch)
treecee14c169705f933a35a564d54c595bd4a7802d4 /templates/page.html
parent01835069934b4f80cbb9f038976ec99e9cd96355 (diff)
Slightly less crappy stylesheet chooser
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/page.html b/templates/page.html
index 39d73bbd..57ae14ac 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,16 +1,16 @@
<!doctype html>
<html>
<head>
- <link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}" />
- {% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}" />{% endif %}
+ <link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
+ {% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}">{% endif %}
<title>{{ title }}</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
- <link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}" />
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
+ {% if config.default_stylesheet.1 != '' %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}">{% endif %}
{% if not nojavascript %}<script type="text/javascript" src="{{ config.url_javascript }}"></script>{% endif %}
</head>
<body>
- {% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %}
+ {% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr>{% endif %}
<header>
<h1>{{ title }}</h1>
<div class="subtitle">
@@ -21,7 +21,7 @@
</div>
</header>
{{ body }}
- <hr />
+ <hr>
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> {{ config.version }} | <a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2012 Tinyboard Development Group</p>
</footer>