_layouts/post.html in solarized-blog-theme-0.0.0 vs _layouts/post.html in solarized-blog-theme-0.0.2
- old
+ new
@@ -1,30 +1,30 @@
---
layout: default
---
-<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
- <header class="post-header">
- <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
- <a href="{{ site.baseurl }}/" class="home-link">Back to home</a>
- <p class="post-meta">
- <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">
- {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
- written on: {{ page.date | date: date_format }}
- </time>
- {%- if page.author -%}
- <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
- {%- endif -%}
- <br/>
- <span>tags: </span>
- {%- for tag in page.tags -%}
- <span>{{ tag }} </span>
- {%- endfor -%}
- </p>
- </header>
+<header class="post-header">
+ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
+ <a href="{{ site.baseurl }}/" class="home-link">< Back to home</a>
+ <p class="post-meta">
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
+ written on: {{ page.date | date: date_format }}
+ </time>
+ {%- if page.author -%}
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
+ {%- endif -%}
+ <br/>
+ <span>tags: </span>
+ {%- for tag in page.tags -%}
+ <span>[{{ tag }}] </span>
+ {%- endfor -%}
+ </p>
+</header>
+<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
<div class="post-content e-content" itemprop="articleBody">
{{ content }}
</div>
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
-</article>
\ No newline at end of file
+</article>