summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--design/templates/archives/writing.html2
-rw-r--r--design/templates/details/entry.html12
-rw-r--r--design/templates/details/expenses.html22
3 files changed, 26 insertions, 10 deletions
diff --git a/design/templates/archives/writing.html b/design/templates/archives/writing.html
index 7ad1853..e249cd3 100644
--- a/design/templates/archives/writing.html
+++ b/design/templates/archives/writing.html
@@ -19,7 +19,7 @@
<div class="post--image">
<a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_url}}" alt="{{ object.title }}" class="u-photo post-image" itemprop="image" /></a>
</div>
- <h1 class="p-name entry-title post--title" itemprop="headline"><a href="{{object.get_absolute_url}}" class="u-url" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|safe|smartypants|widont}}</a></h1>
+ <h2 class="p-name entry-title post--title" itemprop="headline"><a href="{{object.get_absolute_url}}" class="u-url" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|safe|smartypants|widont}}</a></h2>
<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>
<time class="dt-published published dt-updated post--date" datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time>
<p>
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html
index 7915f21..1641ace 100644
--- a/design/templates/details/entry.html
+++ b/design/templates/details/entry.html
@@ -20,6 +20,14 @@
<meta property="og:site_name" content="Luxagraf" />
<meta property="og:image" content="{{object.get_image_url}}" />
<meta property="og:locale" content="en_US" />
+ <meta name="twitter:card" content="summary_large_image"/>
+ <meta name="twitter:description" content="{{object.meta_description}}"/>
+ <meta name="twitter:title" content="{{object.title|safe}}"/>
+ <meta name="twitter:site" content="@luxagraf"/>
+ <meta name="twitter:domain" content="luxagraf"/>
+ <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%}
@@ -77,9 +85,9 @@ class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%en
<script src="/media/js/detail.min.js"></script>
{%endif%}{%endwith%}
-{%if comment_count > 0 %}
<script type="text/javascript">
window.onload = function() {
+{%if comment_count > 0 %}
//delay loading of gravatar images using noscript data-hash attribute
dataattr = document.getElementsByClassName("datahashloader");
for(var i=0; i<dataattr.length; i++) {
@@ -89,13 +97,13 @@ window.onload = function() {
img.className += "gravatar";
c.insertBefore(img, c.childNodes[3]);
}
+{%endif%}
{% with object.get_template_name_display as t %}{%if t == "single" or t == "single-dark" %}
createMap();
var open = false;
{%endif%}{%endwith%}
}
</script>
-{%endif%}
{% with object.template_name as t %}{%if t == 1 or t == 3 %}
<script src="{{MEDIA_URL}}js/hyphenate.min.js" type="text/javascript"></script>
{%endif%}{%endwith%}{%endblock%}
diff --git a/design/templates/details/expenses.html b/design/templates/details/expenses.html
index 42ec06e..c81179e 100644
--- a/design/templates/details/expenses.html
+++ b/design/templates/details/expenses.html
@@ -4,13 +4,13 @@
{% block pagetitle %}Luxagraf: Expenses{% endblock %}
-{% block metadescription %}Think is costs a lot to drive around North America in a vintage Suburban and Yellowstone trailer? Well, judge for yourself, here's how much is costs us.{% endblock %}
+{% block metadescription %}Think is costs a lot to drive around North America in a vintage Dodge Travco? Well, judge for yourself, here's how much is costs us.{% endblock %}
{% block primary %}
<main role="main">
<article class="post--article">
<header class="post--header">
- <h1 class="p-name entry-title post--title">Yellowstone/Suburban Trip Costs</h1>
+ <h1 class="p-name entry-title post--title">Travco Trip Costs</h1>
<time class="dt-updated post--date" datetime="{%now 'c'%}">Last updated: {%now "F"%} <span>{%now "j, Y"%}</span></time>
</header>
<div id="article" class="post--body post--body--single expense-wrapper">
@@ -32,7 +32,7 @@
<td class="cat-value">$7250.00 </td>
</tr>
<tr class="row even">
- <td>Suburban rehab</td>
+ <td>Travco restoration</td>
<td class="cat-value">$300.00 </td>
</tr>
@@ -47,15 +47,23 @@
</tr>
<tr class="row odd">
- <td>DMV (taxes, title, etc)</td>
- <td class="cat-value"></td>
+ <td>DMV (taxes, title, plates -- $25 annual for tags)</td>
+ <td class="cat-value">$141.00</td>
</tr>
<tr class="row even">
- <td>Insurance (1year)</td>
- <td class="cat-value">$125.00</td>
+ <td>Insurance (1 year)</td>
+ <td class="cat-value">$125.00 (annual)</td>
</tr>
+ <tr class="row odd">
+ <td>Good Sam Membership</td>
+ <td class="cat-value">$25.00 (annual)</td>
+ </tr>
+ <tr class="row even">
+ <td>Something</td>
+ <td class="cat-value"></td>
+ </tr>
<tr class="total">
<td>Total</td>
<td>$???</td>