upgrade to bootstrap 4, complete rewrite of template (#629)

This commit is contained in:
Dean Attali 2020-05-02 02:10:20 -04:00 committed by GitHub
parent 67bd8058c7
commit 54ca402373
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 642 additions and 10358 deletions

View file

@ -4,9 +4,9 @@ layout: base
{% include header.html type="post" %}
<div class="container">
<div class="container-md">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
{% if page.gh-repo %}
{% assign gh_split = page.gh-repo | split:'/' %}
@ -52,19 +52,19 @@ layout: base
{% include social-share.html %}
{% endif %}
<ul class="pager blog-pager">
<ul class="pagination blog-pager">
{% if page.previous.url %}
<li class="previous">
<a href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">&larr; Previous Post</a>
<li class="page-item previous">
<a class="page-link" href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">&larr; Previous Post</a>
</li>
{% endif %}
{% if page.next.url %}
<li class="next">
<a href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post &rarr;</a>
<li class="page-item next">
<a class="page-link" href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post &rarr;</a>
</li>
{% endif %}
</ul>
{% include comments.html %}
{% include comments.html %}
</div>
</div>
</div>