Permalink
Browse files

Tags in article view

  • Loading branch information...
ryrych committed Dec 24, 2015
1 parent 464dafb commit 777a3842e84adfd8da6b29db3a1d5f2a1c614512
View
@@ -5,8 +5,15 @@
<header style="background-image: url('{{ site.baseurl }}/{{ page.feature-img }}')">
<h1 class="title">{{ page.title }}</h1>
<p class="meta">
{{ page.date | date: "%B %-d, %Y" }}
{% if page.author %} - {{ page.author }}{% endif %}
{{ page.date | date: "%B %-d, %Y" }}
{% if page.author %} - {{ page.author }}{% endif %}
<ul class="meta-tag-list">
{% for tag in page.tags %}
<li class="meta-tag-item">
<a href="{{site.baseurl}}/tag/index.html#{{ tag | cgi_escape | downcase }}">{{ tag }}</a>
</li>
{% endfor %}
</ul>
</p>
</header>
<section class="post-content">{{ content }}</section>
@@ -1,6 +1,9 @@
---
layout: post
title: Emberocop to safeguard your code—intro
tags:
- emberjs
- quality_assurance
---
Human beings are very bad at spotting missing commas or following code style
@@ -0,0 +1,6 @@
.meta-tag-item {
color: $link-color;
display: inline-block;
font-size: 0.707em;
text-transform: uppercase;
}
@@ -24,6 +24,10 @@ header {
margin: 0;
text-transform: uppercase;
}
.meta-tag-item {
margin: 0 .5em 0 0;
}
}
.feature-image {
padding: 0%;
View
@@ -13,6 +13,9 @@
@import 'layouts/posts';
@import 'layouts/index';
// Tags
@import 'components/tag';
// Partials
@import 'includes/header';
@import 'includes/footer';

0 comments on commit 777a384

Please sign in to comment.