Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove author text from metadata, and add link to archive at blog end

  • Loading branch information...
commit 52f09343b22f08e7f249d3d6884a8e3f909ccdc3 1 parent 0ed698c
John Reese authored
Showing with 17 additions and 2 deletions.
  1. +1 −0  input/index.md
  2. +1 −2  macros.py
  3. +15 −0 main.less
1  input/index.md
View
@@ -11,3 +11,4 @@ for p in posts:
inline(p)
%}
+<p class="more">Read more in the <a href="/blog/archive/">archive</a> ...</p>
3  macros.py
View
@@ -174,8 +174,7 @@ def metadata(page, style="subtitle"):
timestamp = datetime.strptime(page.date[0:10], "%Y-%m-%d").strftime("%B %d, %Y")
print """<p class="metadata">"""
- print """<span class="authored">Posted by <a rel="%s" href="%s">%s</a> on %s</span>""" % (
- page.rel, page.link, page.author, timestamp)
+ print """<span class="authored">Posted on %s</span>""" % (timestamp)
if "tags" in page and page.tags:
tags = tagsplit.findall(page.tags)
15 main.less
View
@@ -286,6 +286,21 @@ h1, h2, h3, h4, h5, h6
text-decoration: underline;
}
}
+
+ .more
+ {
+ color: @pebble;
+
+ a
+ {
+ color: @pebble;
+ }
+
+ a:hover
+ {
+ color: @link-hover;
+ }
+ }
}
#footer
Please sign in to comment.
Something went wrong with that request. Please try again.