Commit 008e1152 authored by Murukesh Mohanan's avatar Murukesh Mohanan

add subtitles to blog list and tag list

parent 178c6e84
Pipeline #1384 failed with stage
......@@ -6,12 +6,12 @@ layout: default
{% assign tag = site.data.tags[page.tag] %}
<section class="tag-title">
<header>
<h1>Tag: {{ tag.name }}</h1>
</header>
<header>
<h1>Tag: {{ tag.name }}</h1>
</header>
<hr>
{{ tag.desc }}
<hr>
{{ tag.desc }}
</section>
{% for post in site.posts %}
......@@ -20,11 +20,16 @@ layout: default
<header class="post-title">
<h1>
<a href="{{site.base-url}}{{ post.url }}#main">{{ post.title }}</a>
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">
{{ post.date | date: "%B %e, %Y" }}
</time>
{% if post.tags.size > 0 %}
</h1>
</h1>
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">
{{ post.date | date: "%B %e, %Y" }}
</time>
{% if post.subtitle %}
<h2>
{{ post.subtitle }}
</h2>
{% endif %}
{% if post.tags.size > 0 %}
<ol class="tags-list">
{% for post_tag in post.tags %}
{% assign tag = site.data.tags[post_tag] %}
......
......@@ -9,11 +9,16 @@ layout: default
<header class="post-title">
<h1>
<a href="{{site.base-url}}{{ post.url }}#main">{{ post.title }}</a>
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">
{{ post.date | date: "%B %e, %Y" }}
</time>
{% if post.tags.size > 0 %}
</h1>
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">
{{ post.date | date: "%B %e, %Y" }}
</time>
{% if post.subtitle %}
<h2>
{{ post.subtitle }}
</h2>
{% endif %}
{% if post.tags.size > 0 %}
<ol class="tags-list">
{% for post_tag in post.tags %}
{% assign tag = site.data.tags[post_tag] %}
......
......@@ -218,6 +218,7 @@ header>h1>a:link, header>h1>a:visited {
.post-title>h2 {
flex-basis: 50%;
margin: auto 0;
font-size: 1.3em;
}
.post-title>ol.tags-list {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment