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
...@@ -20,11 +20,16 @@ layout: default ...@@ -20,11 +20,16 @@ layout: default
<header class="post-title"> <header class="post-title">
<h1> <h1>
<a href="{{site.base-url}}{{ post.url }}#main">{{ post.title }}</a> <a href="{{site.base-url}}{{ post.url }}#main">{{ post.title }}</a>
</h1>
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date"> <time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">
{{ post.date | date: "%B %e, %Y" }} {{ post.date | date: "%B %e, %Y" }}
</time> </time>
{% if post.subtitle %}
<h2>
{{ post.subtitle }}
</h2>
{% endif %}
{% if post.tags.size > 0 %} {% if post.tags.size > 0 %}
</h1>
<ol class="tags-list"> <ol class="tags-list">
{% for post_tag in post.tags %} {% for post_tag in post.tags %}
{% assign tag = site.data.tags[post_tag] %} {% assign tag = site.data.tags[post_tag] %}
......
...@@ -9,11 +9,16 @@ layout: default ...@@ -9,11 +9,16 @@ layout: default
<header class="post-title"> <header class="post-title">
<h1> <h1>
<a href="{{site.base-url}}{{ post.url }}#main">{{ post.title }}</a> <a href="{{site.base-url}}{{ post.url }}#main">{{ post.title }}</a>
</h1>
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date"> <time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">
{{ post.date | date: "%B %e, %Y" }} {{ post.date | date: "%B %e, %Y" }}
</time> </time>
{% if post.subtitle %}
<h2>
{{ post.subtitle }}
</h2>
{% endif %}
{% if post.tags.size > 0 %} {% if post.tags.size > 0 %}
</h1>
<ol class="tags-list"> <ol class="tags-list">
{% for post_tag in post.tags %} {% for post_tag in post.tags %}
{% assign tag = site.data.tags[post_tag] %} {% assign tag = site.data.tags[post_tag] %}
......
...@@ -218,6 +218,7 @@ header>h1>a:link, header>h1>a:visited { ...@@ -218,6 +218,7 @@ header>h1>a:link, header>h1>a:visited {
.post-title>h2 { .post-title>h2 {
flex-basis: 50%; flex-basis: 50%;
margin: auto 0; margin: auto 0;
font-size: 1.3em;
} }
.post-title>ol.tags-list { .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