Skip to content

Commit

Permalink
Subtome seems broken, remove it to fix #3.
Browse files Browse the repository at this point in the history
Revert "add subscribe links leveraging subtome"

This reverts commit 9f6ff0f.
  • Loading branch information
natevw committed Jun 20, 2017
1 parent 53293bd commit 1c3f418
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions templates/theme.html
Expand Up @@ -52,9 +52,6 @@
a:visited.expected { color: inherit; }
a:hover.expected { color: #008; }
</style>
<script> // HT https://github.com/natevw/Glob/pull/1
function subtome(){var z=document.createElement('script');z.src='https://www.subtome.com/load.js';document.body.appendChild(z);}
</script>
</head>
<body>

Expand All @@ -76,7 +73,7 @@ <h2>powered by work over time.</h2>
{{#single}}
<h1>{{ title }}</h1>
<p>
published by <a href="http://exts.ch" class="subtle">natevw</a> on <a href="{{ url }}" rel="bookmark" class="subtle"><time datetime="{{ published }}" pubdate>{{ published_human }}</time></a><a href="javascript:subtome();">Subscribe</a>
published by <a href="http://exts.ch" class="subtle">natevw</a> on <a href="{{ url }}" rel="bookmark" class="subtle"><time datetime="{{ published }}" pubdate>{{ published_human }}</time></a>
{{/single}}{{^single}}
<time datetime="{{ published }}" pubdate>{{ published_human }}</time>
<h1><a href="{{ url }}" rel="bookmark" class="expected">{{ title }}</a></h1>
Expand All @@ -97,8 +94,7 @@ <h1><a href="{{ url }}" rel="bookmark" class="expected">{{ title }}</a></h1>
{{^single}}{{^summary}}{{#lastRow}}
<p>
<a href="{{ base_url }}?startkey={{ key }}&amp;startkey_docid={{ id }}&amp;skip=1" rel="next">Older posts</a><br>
<a href="{{ base_url }}/all" rel="archives">All posts</a><br>
<br><a href="javascript:subtome();">Subscribe</a>
<a href="{{ base_url }}/all" rel="archives">All posts</a>
{{/lastRow}}{{/summary}}{{/single}}

{{#summary}}{{#lastRow}}
Expand All @@ -116,6 +112,7 @@ <h1><a href="{{ url }}" rel="bookmark" class="expected">{{ title }}</a></h1>
{{/lastRow}}

<footer>

<small>Copyright © 2012 Nathan Vander Wilt. All rights reserved. Limit one offer per coupon.</small>
</footer>

Expand Down

0 comments on commit 1c3f418

Please sign in to comment.