1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 01:46:51 +01:00

bring back categories

This commit is contained in:
Matthias Kretschmann 2013-11-29 00:17:23 +01:00
parent 91471ba28f
commit 026ed4600e
5 changed files with 39 additions and 4 deletions

View File

@ -5,4 +5,14 @@
<a class="banner-logo" class="hide-text" href="/">kremalicious</a>
</h1>
</div>
</header>
</header>
<nav role="navigation" class="nav-main container">
<div class="row">
<a class="nav-main-link" href="/goodies/">goodies</a>
<a class="nav-main-link" href="/photos/">photos</a>
<a class="nav-main-link" href="/personal/">personal</a>
<a class="nav-main-link" href="/design/">design</a>
<a class="nav-main-link" href="/photography/">photography</a>
</div>
</nav>

View File

@ -23,7 +23,11 @@ layout: base
</section>
<footer class="entry-meta">
<p class="categories">
{{ page.categories | category_links }}
</p>
<p class="byline author vcard source-org"><span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<p class="time">{{ page.date | date_to_string }} <span class="modtime"></span></p>
</footer>
</article>

View File

@ -19,6 +19,9 @@ layout: base
</section>
<footer class="entry-meta">
<p class="categories">
{{ page.categories | category_links }}
</p>
<p class="byline author vcard source-org"><span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<p class="time">{{ page.date | date_to_string }} <span class="modtime"></span></p>
</footer>

View File

@ -19,6 +19,9 @@ layout: base
<footer class="entry-meta">
<p class="byline author vcard source-org"><span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<p class="categories">
{{ page.categories | category_links }}
</p>
<div class="time">
<p>{{ page.date | date_to_string }}</p>
{% if page.moddate %}

View File

@ -171,19 +171,23 @@
.clearfix;
margin-top: @line-height-computed*2;
font-size: @font-size-small;
text-align: center;
}
.byline,
.time {
font-style: italic;
color: @text-color-light;
text-align: center;
@media @breakpoint2 {
text-align: right;
float: right;
}
}
.byline {
margin-bottom: 0;
a { font-style: normal; }
.by { display: block }
}
@ -192,6 +196,17 @@
color: @text-color-dimmed
}
.time { clear: right; }
.categories {
.heading-band;
@media @breakpoint2 {
float: left;
}
a { margin-right: 1em }
}
//
// Related posts