_layouts/post.html in jekyll-theme-clean-blog-4.0.2 vs _layouts/post.html in jekyll-theme-clean-blog-4.0.3

- old
+ new

@@ -3,48 +3,53 @@ --- <!-- Page Header --> {% if page.background %} <header class="masthead" style="background-image: url('{{ page.background | prepend: site.baseurl | replace: '//', '/' }}')"> -{% else %} -<header class="masthead"> -{% endif %} - <div class="overlay"></div> - <div class="container"> - <div class="row"> - <div class="col-lg-8 col-md-10 mx-auto"> - <div class="post-heading"> - <h1>{{ page.title }}</h1> - {% if page.subtitle %} - <h2 class="subheading">{{ page.subtitle }}</h2> - {% endif %} - <span class="meta">Posted by - <a href="#">Start Bootstrap</a> - on {{ page.date | date: '%B %d, %Y' }}</span> + {% else %} + <header class="masthead"> + {% endif %} + <div class="overlay"></div> + <div class="container"> + <div class="row"> + <div class="col-lg-8 col-md-10 mx-auto"> + <div class="post-heading"> + <h1>{{ page.title }}</h1> + {% if page.subtitle %} + <h2 class="subheading">{{ page.subtitle }}</h2> + {% endif %} + <span class="meta">Posted by + <a href="#">Start Bootstrap</a> + on {{ page.date | date: '%B %d, %Y' }} &middot; {% include read_time.html + content=page.content %}</span> + </div> </div> </div> </div> - </div> -</header> + </header> -<div class="container"> - <div class="row"> - <div class="col-lg-8 col-md-10 mx-auto"> + <div class="container"> + <div class="row"> + <div class="col-lg-8 col-md-10 mx-auto"> - {{ content }} + {{ content }} - <hr> + <hr> - <div class="clearfix"> + <div class="clearfix"> - {% if page.previous.url %} - <a class="btn btn-primary float-left" href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{ page.previous.title }}">&larr; Previous<span class="d-none d-md-inline"> Post</span></a> - {% endif %} - {% if page.next.url %} - <a class="btn btn-primary float-right" href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{ page.next.title }}">Next<span class="d-none d-md-inline"> Post</span> &rarr;</a> - {% endif %} + {% if page.previous.url %} + <a class="btn btn-primary float-left" href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}" + data-toggle="tooltip" data-placement="top" title="{{ page.previous.title }}">&larr; Previous<span class="d-none d-md-inline"> + Post</span></a> + {% endif %} + {% if page.next.url %} + <a class="btn btn-primary float-right" href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}" + data-toggle="tooltip" data-placement="top" title="{{ page.next.title }}">Next<span class="d-none d-md-inline"> + Post</span> &rarr;</a> + {% endif %} - </div> + </div> + </div> </div> - </div> -</div> + </div> \ No newline at end of file