diff options
Diffstat (limited to 'templates/details/entry.html')
-rw-r--r-- | templates/details/entry.html | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/details/entry.html b/templates/details/entry.html index 7952b9f..473c910 100644 --- a/templates/details/entry.html +++ b/templates/details/entry.html @@ -3,14 +3,10 @@ {% block pagetitle %}{{object.title|title|smartypants|safe}} | Luxagraf, a travelogue | {% if object.location.state.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.location.state.name}}{%else%}{{object.location.name|smartypants|safe}}, {{object.location.state.country.name}}{%endif%}){% endblock %} -{%block stylesheet%}{%if object.template_name == 2%}<link rel="stylesheet" +{%block stylesheet%}{%if object.template_name == 2 or object.template_name == 3 %}<link rel="stylesheet" href="{{MEDIA_URL}}css/dark.css" type="text/css" - media="screen">{%endif%} - {%if object.template_name == 3%}<link rel="stylesheet" - href="{{MEDIA_URL}}css/dark.css" - type="text/css" - media="screen">{%endif%}{%endblock%} + media="screen">{%else%}{{block.super}}{%endif%}{%endblock%} {% block metadescription %}{{object.meta_description|striptags|safe}}{% endblock %} |