mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
fix warnings when rendering
Signed-off-by: 王邈 <shankerwangmiao@gmail.com>
This commit is contained in:
parent
79ab5a7ce0
commit
092d037b6a
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue