summaryrefslogtreecommitdiff
path: root/design/templates/details
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-10-07 21:04:32 -0500
committerluxagraf <sng@luxagraf.net>2018-10-07 21:04:32 -0500
commit1251d41ea2eb47983a42697771c30568eb767d78 (patch)
tree5e5ac32bd2362601ca109705daf4d2bcb77f91cf /design/templates/details
parentffcba7a415171a9c065e9b5b913eeac12c37e4b0 (diff)
parentd81991b2498463e46fa5abc71e63f2c1da29cfd6 (diff)
Merge branch 'master' of ssh://lux2:/home/lxf/git/luxagraf
Diffstat (limited to 'design/templates/details')
-rw-r--r--design/templates/details/note.html2
-rw-r--r--design/templates/details/src_entry.html6
2 files changed, 4 insertions, 4 deletions
diff --git a/design/templates/details/note.html b/design/templates/details/note.html
index 315fd84..583d50b 100644
--- a/design/templates/details/note.html
+++ b/design/templates/details/note.html
@@ -12,7 +12,7 @@
<meta name="geo.placename" content="{% if object.location.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.state.name}}{%else%}{{object.location.name|smartypants|safe}}, {{object.country.name}}{%endif%}">
<meta name="geo.region" content="{{object.country.iso2}}{%if object.state.code != '' %}-{{object.state.code}}{%endif%}">
{%endblock%}
-{% block bodyid %}class="notes--permalink" id="archive-{% if month %}{{month|month_number_to_name}}{%endif%}{{year}}"{%endblock%}
+{% block bodyid %}class="notes--permalin detail" id="archive-{% if month %}{{month|month_number_to_name}}{%endif%}{{year}}"{%endblock%}
{% block primary %}<ul class="bl crumbs" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
diff --git a/design/templates/details/src_entry.html b/design/templates/details/src_entry.html
index 1c38e94..4f4523a 100644
--- a/design/templates/details/src_entry.html
+++ b/design/templates/details/src_entry.html
@@ -4,7 +4,7 @@
{% block pagetitle %}{{object.title|striptags}} | luxagraf:src{% endblock %}
-{% block bodyid %}class="src"{% endblock %}
+{% block bodyid %}class="src detail"{% endblock %}
{% block metadescription %}{% autoescape on %}{{object.meta_description|striptags|safe}}{% endautoescape %}{% endblock %}
{%block extrahead%}
<meta property="og:type" content="article" />
@@ -28,14 +28,14 @@
<li><a href="/src/"><code>src</code></a></li>
</ul>
<main role="main">
- <article class="hentry post--article{% with object.get_template_name_display as t %}{%if t == "double" or t == "double-dark" %} post--article--double{%endif%}{%endwith%}" itemscope itemType="http://schema.org/Article">
+ <article class="hentry post-article{% with object.get_template_name_display as t %}{%if t == "double" or t == "double-dark" %} post--article--double{%endif%}{%endwith%}" itemscope itemType="http://schema.org/Article">
<header id="header" class="post--header {% with object.get_template_name_display as t %}{%if t == "double" or t == "double-dark" %}post--header--double{%endif%}{%endwith%}">
<h1 class="p-name entry-title post--title" itemprop="headline">{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|safe|smartypants}}{%else%}{{object.title|safe|smartypants|widont}}{%endif%}</h1>
{% if object.slug != 'about' %}<time class="dt-published published dt-updated post--date" datetime="{{object.pub_date|date:'c'}}" itemprop="datePublished">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time>{%endif%}
{% if object.topics.all %}<span class="src-topics">Topics: {% for topic in object.topics.all%} <a href="/src/topic/{{topic.slug}}">{{topic.name}}</a>{%if forloop.last%}{%else%}, {%endif%}{%endfor%}</span>{%endif%}
<p class="p-author author hide" itemprop="author"><span class="byline-author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Scott Gilbertson</span></span></p>
</header>
- <div id="article" class="e-content entry-content post--body post--body--{% with object.template_name as t %}{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%endwith%}" itemprop="articleBody">
+ <div id="article" class="e-content entry-content post-body post-body-{% with object.template_name as t %}{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%endwith%}" itemprop="articleBody">
{{object.body_html|safe|smartypants|widont}}
</div>
</article>