Merge pull request #1334

Blog: add slash to links to 'All Posts'
This commit is contained in:
luigi1111 2020-11-27 16:45:41 -06:00 committed by GitHub
commit 345e448cf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@ layout: custom
<!-- Category selector: desktop --> <!-- Category selector: desktop -->
<div class="container full desktop-only"> <div class="container full desktop-only">
<div class="info-block blog-nav row"> <div class="info-block blog-nav row">
<div class="col"><a href="{{ site.baseurl_root }}/blog">{% t blog.allposts %}</a></div> <div class="col"><a href="{{ site.baseurl_root }}/blog/">{% t blog.allposts %}</a></div>
<div class="col {% if filename == 'urgent' %}checked{% endif %}"><a href="{{ site.baseurl_root }}/blog/tags/urgent.html">{% t blog.urgent %}</a></div> <div class="col {% if filename == 'urgent' %}checked{% endif %}"><a href="{{ site.baseurl_root }}/blog/tags/urgent.html">{% t blog.urgent %}</a></div>
<div class="col {% if filename == 'releases' %}checked{% endif %}"><a href="{{ site.baseurl_root }}/blog/tags/releases.html">{% t blog.releases %}</a></div> <div class="col {% if filename == 'releases' %}checked{% endif %}"><a href="{{ site.baseurl_root }}/blog/tags/releases.html">{% t blog.releases %}</a></div>
<div class="col {% if filename == 'community' %}checked{% endif %}"><a href="{{ site.baseurl_root }}/blog/tags/community.html">{% t blog.community %}</a></div> <div class="col {% if filename == 'community' %}checked{% endif %}"><a href="{{ site.baseurl_root }}/blog/tags/community.html">{% t blog.community %}</a></div>
@ -28,7 +28,7 @@ layout: custom
<input id="filter" type="checkbox" name="category-filter"/> <input id="filter" type="checkbox" name="category-filter"/>
<label for="filter">{% t blog.filter %}</label> <label for="filter">{% t blog.filter %}</label>
<ul id="menu"> <ul id="menu">
<li><a href="{{ site.baseurl_root }}/blog">{% t blog.allposts %}</a></li> <li><a href="{{ site.baseurl_root }}/blog/">{% t blog.allposts %}</a></li>
<li><a href="{{ site.baseurl_root }}/blog/tags/urgent.html">{% t blog.urgent %}</a></li> <li><a href="{{ site.baseurl_root }}/blog/tags/urgent.html">{% t blog.urgent %}</a></li>
<li><a href="{{ site.baseurl_root }}/blog/tags/releases.html">{% t blog.releases %}</a></li> <li><a href="{{ site.baseurl_root }}/blog/tags/releases.html">{% t blog.releases %}</a></li>
<li><a href="{{ site.baseurl_root }}/blog/tags/community.html">{% t blog.community %}</a></li> <li><a href="{{ site.baseurl_root }}/blog/tags/community.html">{% t blog.community %}</a></li>

View file

@ -7,7 +7,7 @@ title: titles.blogbytag
<!-- Category selector: desktop --> <!-- Category selector: desktop -->
<div class="container full desktop-only"> <div class="container full desktop-only">
<div class="info-block blog-nav row"> <div class="info-block blog-nav row">
<div class="col {% if page.name == 'index.html' %}checked{% endif %}"><a href="{{ site.baseurl_root }}/blog">{% t blog.allposts %}</a></div> <div class="col {% if page.name == 'index.html' %}checked{% endif %}"><a href="{{ site.baseurl_root }}/blog/">{% t blog.allposts %}</a></div>
<div class="col"><a href="{{ site.baseurl_root }}/blog/tags/urgent.html">{% t blog.urgent %}</a></div> <div class="col"><a href="{{ site.baseurl_root }}/blog/tags/urgent.html">{% t blog.urgent %}</a></div>
<div class="col"><a href="{{ site.baseurl_root }}/blog/tags/releases.html">{% t blog.releases %}</a></div> <div class="col"><a href="{{ site.baseurl_root }}/blog/tags/releases.html">{% t blog.releases %}</a></div>
<div class="col"><a href="{{ site.baseurl_root }}/blog/tags/community.html">{% t blog.community %}</a></div> <div class="col"><a href="{{ site.baseurl_root }}/blog/tags/community.html">{% t blog.community %}</a></div>
@ -22,7 +22,7 @@ title: titles.blogbytag
<input id="filter" type="checkbox" name="category-filter"/> <input id="filter" type="checkbox" name="category-filter"/>
<label for="filter">{% t blog.filter %}</label> <label for="filter">{% t blog.filter %}</label>
<ul id="menu"> <ul id="menu">
<li><a href="{{ site.baseurl_root }}/blog">{% t blog.allposts %}</a></li> <li><a href="{{ site.baseurl_root }}/blog/">{% t blog.allposts %}</a></li>
<li><a href="{{ site.baseurl_root }}/blog/tags/urgent.html">{% t blog.urgent %}</a></li> <li><a href="{{ site.baseurl_root }}/blog/tags/urgent.html">{% t blog.urgent %}</a></li>
<li><a href="{{ site.baseurl_root }}/blog/tags/releases.html">{% t blog.releases %}</a></li> <li><a href="{{ site.baseurl_root }}/blog/tags/releases.html">{% t blog.releases %}</a></li>
<li><a href="{{ site.baseurl_root }}/blog/tags/community.html">{% t blog.community %}</a></li> <li><a href="{{ site.baseurl_root }}/blog/tags/community.html">{% t blog.community %}</a></li>