fix warnings when rendering

Signed-off-by: 王邈 <shankerwangmiao@gmail.com>
This commit is contained in:
王邈 2019-07-26 23:21:37 -04:00
parent 79ab5a7ce0
commit 092d037b6a
No known key found for this signature in database
GPG Key ID: B031E3CA7BFED96E
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<body>
{% include nav.html %}
{% assign help_pages = (site.categories["help"] | sort: 'mirrorid') %}
{% assign help_pages = site.categories["help"] | sort: 'mirrorid' %}
<div id="help-page">
<div class="container">
<div class="row">

View File

@ -4,7 +4,7 @@ permalink: /help/
<!DOCTYPE html>
<html>
<script>
{% assign first_help = (site.categories["help"] | sort: 'mirrorid' | first ) %}
{% assign first_help = site.categories["help"] | sort: 'mirrorid' | first %}
var redirect_to = window.location.protocol + "//" + window.location.host + "{{first_help.url}}";
window.location = redirect_to;
</script>