diff options
Diffstat (limited to 'design/templates/details/entry.html')
-rw-r--r-- | design/templates/details/entry.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html index 7982c29..2b8ec51 100644 --- a/design/templates/details/entry.html +++ b/design/templates/details/entry.html @@ -7,6 +7,7 @@ {% block metadescription %}{% autoescape on %}{{object.meta_description|striptags|safe}}{% endautoescape %}{% endblock %} {%block extrahead%} <link rel="canonical" href="https://luxagraf.net{{object.get_absolute_url}}" /> + <link rel="amphtml" href="https://luxagraf.net{{object.get_absolute_url}}.amp" /> <meta name="ICBM" content="{{object.latitude}}, {{object.longitude}}" /> <meta name="geo.position" content="{{object.latitude}}; {{object.longitude}}" /> <meta name="geo.placename" content="{% if object.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.state.name}}{%else%}{{object.location.name|smartypants|safe}}, {{object.country.name}}{%endif%}"> @@ -29,6 +30,7 @@ <meta name="twitter:image:src" content="{{object.get_image_url}}"/> <meta name="twitter:creator" content="@luxagraf"/> + {%endblock%} {%block htmlclass%}{% with object.template_name as t %} class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%if t == 2 or t == 3 %} dark{%endif%}"{%endwith%}{%endblock%} |