Skip to content

Commit

Permalink
fix warnings when rendering
Browse files Browse the repository at this point in the history
Signed-off-by: 王邈 <[email protected]>
  • Loading branch information
shankerwangmiao committed Jul 27, 2019
1 parent 79ab5a7 commit 092d037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _layouts/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion help.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!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>
Expand Down

0 comments on commit 092d037

Please sign in to comment.