mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Canonical URL and redirect to https site (fix #908)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# The key value pairs found below are available within the templates.
|
# The key value pairs found below are available within the templates.
|
||||||
|
|
||||||
:url: http://stedolan.github.io/jq
|
:url: https://stedolan.github.io/jq
|
||||||
|
|
||||||
# This line is modified by the Makefile. To change the version number,
|
# This line is modified by the Makefile. To change the version number,
|
||||||
# edit the Autoconf version number at the top of configure.ac
|
# edit the Autoconf version number at the top of configure.ac
|
||||||
|
|||||||
5
docs/templates/shared/_head.liquid
vendored
5
docs/templates/shared/_head.liquid
vendored
@@ -1,8 +1,13 @@
|
|||||||
<head>
|
<head>
|
||||||
|
<script>
|
||||||
|
if ((window.location.host == "stedolan.github.io") && (window.location.protocol != "https:"))
|
||||||
|
window.location.protocol = "https";
|
||||||
|
</script>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>{{headline}}</title>
|
<title>{{headline}}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<link rel="canonical" href="{{url}}{{permalink | remove:'/index'}}" />
|
||||||
<link rel="stylesheet" href="{{root}}/bootstrap/css/bootstrap.css" type="text/css">
|
<link rel="stylesheet" href="{{root}}/bootstrap/css/bootstrap.css" type="text/css">
|
||||||
<link rel="stylesheet" href="{{root}}/css/base.css" type="text/css">
|
<link rel="stylesheet" href="{{root}}/css/base.css" type="text/css">
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
|
|||||||
Reference in New Issue
Block a user