Restyle tag pages
This commit is contained in:
parent
cd1316a29a
commit
4440e5467f
@ -4,7 +4,11 @@
|
||||
<li class="col-md-8">
|
||||
{% endif %}
|
||||
<header class="post-header">
|
||||
{% if page.tag %}
|
||||
<h5>
|
||||
{% else %}
|
||||
<h3>
|
||||
{% endif %}
|
||||
{% if page.post_listing %}
|
||||
<a href="{{post.url | prepend: site.baseurl}}">
|
||||
{% endif %}
|
||||
@ -15,7 +19,11 @@
|
||||
{% if layout.render_post %}
|
||||
<div class="plusone-container"><div class="g-plusone" data-annotation="inline" data-size="small" data-width="300"></div></div>
|
||||
{% endif %}
|
||||
{% if page.tag %}
|
||||
</h5>
|
||||
{% else %}
|
||||
</h3>
|
||||
{% endif %}
|
||||
<div class="meta pull-left">
|
||||
{{post.author.name}}
|
||||
</div>
|
||||
|
@ -2,8 +2,10 @@
|
||||
layout: default
|
||||
post_listing: true
|
||||
---
|
||||
<h3 class="tag">{{ page.tag }}</h3>
|
||||
{{content}}
|
||||
<h3>Articles under this tag</h3>
|
||||
|
||||
<h4>Articles under this tag</h4>
|
||||
|
||||
{% if site.tags[page.tag] %}
|
||||
{% assign posts = site.tags[page.tag] %}
|
||||
|
@ -228,3 +228,9 @@ kbd
|
||||
background-color: #a9a9a9
|
||||
color: black
|
||||
padding: 5px
|
||||
|
||||
h3.tag
|
||||
text-transform: uppercase
|
||||
|
||||
h5
|
||||
font-weight: bold
|
||||
|
Loading…
Reference in New Issue
Block a user