blog

My blog at www.shimmy1996.com

git clone git://git.shimmy1996.com/blog.git
commit 8e9fb7328e0ebfcf4f23a550c754f5f42bcf27fc
parent de34bbac8035c80223618e185a9277112b6cf14a
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun, 21 Jan 2018 03:50:56 -0600

Move Cache-Control to the top.

Diffstat:
Mlayouts/partials/head_custom.html | 2--
Mlayouts/partials/header.html | 1+
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/layouts/partials/head_custom.html b/layouts/partials/head_custom.html
@@ -9,8 +9,6 @@
 <meta name="application-name" content="Library of Trantor">
 <meta name="msapplication-config" content="/favicon/browserconfig.xml?v=pgqKMwjGgo">
 <meta name="theme-color" content="#707070">
-<!-- Cache Settings -->
-<meta http-equiv="cache-control" content="max-age=86400">
 <!-- Title Translation -->
 {{$title := i18n (lower .Title)}}
 {{ if eq $title ""}}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
@@ -3,6 +3,7 @@
   <head>
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta http-equiv="cache-control" content="max-age=86400">
     <link rel="stylesheet" href="{{ "/css/isso.css" | relURL }}" />
     <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" />
     <link rel="stylesheet" href="{{ "/css/fonts.css" | relURL }}" />