Permalink
Browse files

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

  • Loading branch information...
1 parent 0ed698c commit 52f09343b22f08e7f249d3d6884a8e3f909ccdc3 @jreese committed Jun 21, 2012
Showing with 17 additions and 2 deletions.
  1. +1 −0 input/index.md
  2. +1 −2 macros.py
  3. +15 −0 main.less
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>
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)
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

0 comments on commit 52f0934

Please sign in to comment.