]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - jekyll/_layouts/post.html
Self hosts image on fluorine article
[rbdr/r.bdr.sh] / jekyll / _layouts / post.html
index 953194c3ccf2fb8a36312732cb40a301d59df90a..8ce9d14838cdc9d286d82a118ce4c12ea54859e6 100644 (file)
@@ -2,22 +2,21 @@
 layout: default
 ---
 
-<div class="postcontainer">
-          <h1>{{ page.title }}</h1>
-          <div class="postmeta">
-            {{ page.author_email | gravatar_tag }} <a href="mailto:{{page.author_email }}" class="author">{{ page.author_name }}</a>
+<div class="postcontainer {{page.color}}">
+          <div class="post-image">
+            <img src="/img/headers/{{ page.header_image }}">
           </div>
-          <div class="posttags row">
-            <div class="span3">
-              <i class="icon-tags"></i>
-                {% for tag in page.tags %}
-                  <a href="/">{{tag}}</a>
-                {% endfor %}
+          <h1 id="post-title">{{ page.title }}</h1>
+          <div class="post-meta">
+            <div class="post-date"><a href="{{ page.url }}">{{ page.date | date: "%Y-%m-%e"}}</a></div>
+            <div class="post-tags">
+              {% for tag in page.tags %}
+                <a href="/tags/{{tag}}">{{tag}}</a>
+              {% endfor %}
             </div>
-            <div class="span2"><i class="icon-folder-close"></i> <a href="/">{{ page.category }}</a></div>
-            <div class="span1"><i class="icon-calendar"></i> <a href="{{ page.url }}">{{ page.date | date: "%m/%e/%Y"}}</a></div>
           </div>
           <div class="postcontent">
             {{ content }}
           </div>
+          <a class="go-to-top" href="#post-title">↑ Go to top of article</a>
         </div>