Cleaned up some unneccisary redirects
This commit is contained in:
parent
36a58be0f1
commit
d01a3f227c
1
app.js
1
app.js
@ -23,6 +23,7 @@ const striptags = require('striptags');
|
||||
|
||||
const port = process.env.PORT || 8000;
|
||||
|
||||
app.disable('x-powered-by');
|
||||
app.use(compress());
|
||||
app.use(express.static(__dirname + '/build'));
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
<li>
|
||||
<article class="post">
|
||||
<h2 class="post-title">
|
||||
<a class="post-link" href="/{{ this.path }}">{{ this.title }}</a>
|
||||
<a class="post-link" href="/{{ this.path }}/">{{ this.title }}</a>
|
||||
</h2>
|
||||
|
||||
<div class="post-meta feather_type">
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
<div class="post-preview">
|
||||
{{{ markdown this.summary }}}
|
||||
<a class="full-post-link" href="/{{ this.path }}">Continue reading...</a>
|
||||
<a class="full-post-link" href="/{{ this.path }}/">Continue reading...</a>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
|
||||
<h2 class="post-title" itemprop="name headline">
|
||||
<a class="post-link" href="/{{ path }}">{{ title }}</a>
|
||||
<a class="post-link" href="/{{ path }}/">{{ title }}</a>
|
||||
</h2>
|
||||
|
||||
<div class="post-meta feather_type">
|
||||
|
Loading…
Reference in New Issue
Block a user