Use https for external resources, remove html5shiv.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
|
||||
<title>{{ album.title }}</title>
|
||||
<meta name="description" content="">
|
||||
@@ -11,15 +11,12 @@
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="stylesheet" href="{{ theme.url }}/css/style.min.css">
|
||||
{% if settings.use_assets_cdn %}
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=PT+Sans">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans">
|
||||
<style>
|
||||
body { font: 100%/1.4 "PT Sans", sans-serif; }
|
||||
h1, h2, h3, h4, h5, h6 { font-family: "PT Sans", sans-serif; }
|
||||
</style>
|
||||
{% endif %}
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
|
||||
<title>{{ album.title|striptags }}</title>
|
||||
<meta name="description" content="">
|
||||
@@ -11,7 +11,7 @@
|
||||
<link rel="stylesheet" href="{{ theme.url }}/classic/galleria.classic.css">
|
||||
<link rel="stylesheet" href="{{ theme.url }}/css/style.min.css">
|
||||
{% if settings.use_assets_cdn %}
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Molengo">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Molengo">
|
||||
<style>
|
||||
body { font: 16px/1.5 Molengo, sans-serif; }
|
||||
h1, h2, h3, h4, h5, h6 { font-family: "PT Sans", sans-serif; }
|
||||
@@ -21,14 +21,9 @@
|
||||
body { font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; }
|
||||
</style>
|
||||
{% endif %}
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
{% if settings.show_map and album.show_map %}
|
||||
<link rel="stylesheet" href="{{ theme.url }}/leaflet/leaflet.css" />
|
||||
<script src="{{ theme.url }}/leaflet/leaflet.js"></script>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
.gallery-map-toggle {
|
||||
cursor: pointer;
|
||||
@@ -179,9 +174,9 @@
|
||||
|
||||
{% if album.medias %}
|
||||
{% if settings.use_assets_cdn %}
|
||||
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
|
||||
{% else %}
|
||||
<script src="{{ theme.url }}/js/jquery-1.11.1.min.js"></script>
|
||||
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
|
||||
{% else %}
|
||||
<script src="{{ theme.url }}/js/jquery-1.11.1.min.js"></script>
|
||||
{% endif %}
|
||||
<script src="{{ theme.url }}/js/galleria-1.4.2.min.js"></script>
|
||||
<script src="{{ theme.url }}/js/galleria.classic.min.js"></script>
|
||||
|
||||
@@ -3,24 +3,16 @@
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
|
||||
<title>{{ album.title }}</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="{{ album.author }}">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="stylesheet" href="{{ theme.url }}/styles.min.css">
|
||||
|
||||
<!-- Core JS file -->
|
||||
<script src="{{ theme.url }}/photoswipe.min.js"></script>
|
||||
|
||||
<!-- UI JS file -->
|
||||
<script src="{{ theme.url }}/photoswipe-ui-default.min.js"></script>
|
||||
<script src="{{ theme.url }}/echo/echo.min.js"></script>
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<![endif]-->
|
||||
<script src="{{ theme.url }}/photoswipe.min.js"></script>
|
||||
<script src="{{ theme.url }}/photoswipe-ui-default.min.js"></script>
|
||||
<script src="{{ theme.url }}/echo/echo.min.js"></script>
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user