wip: Upgrade to jekyll 4

This commit is contained in:
2019-10-25 14:37:37 +02:00
parent b0c029ef57
commit 06969b3afc
18 changed files with 116 additions and 31 deletions

View File

@@ -12,8 +12,8 @@
{% if page.name != 'about.html' %}
<div class="well well-sm small">
<div class="pull-left" id="about-well-image">
<a href="{{ site_url }}/about/">
<img src="{{'/images/profile.svg' | prepend: site.baseurl}}" alt="">
<a href="{% link about.html %}">
<img src="{% link images/profile.svg %}" alt="">
</a>
</div>
{% include about.html %}
@@ -99,7 +99,7 @@
break;
case 'about':
location = '{{ site_url }}/about/';
location = '{% link about.html %}';
break;
default:

View File

@@ -7,10 +7,10 @@ render_post: true
<nav>
<ul class="pager">
{% if page.previous %}
<li class="previous"><a href="{{page.previous.url | prepend: site.baseurl}}">&larr; {{page.previous.title}}</a></li>
<li class="previous"><a href="{{ page.previous.url }}">&larr; {{page.previous.title}}</a></li>
{% endif %}
{% if page.next %}
<li class="next"><a href="{{page.next.url | prepend: site.baseurl}}">{{page.next.title}} &rarr;</a></li>
<li class="next"><a href="{{ page.next.url }}">{{page.next.title}} &rarr;</a></li>
{% endif %}
</ul>
</nav>