Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Chen-Zhe/photo-grid.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 6b223df..6e27d27 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -20,9 +20,9 @@
}
</style>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Lato:300,400,700" />
- <link rel="stylesheet" type="text/css" href="{{ "css/default.css" | absURL }}" />
- <link rel="stylesheet" type="text/css" href="{{ "css/component.css" | absURL }}" />
+ <link rel="stylesheet" type="text/css" href="{{ (resources.Get "css/default.css" | minify).RelPermalink }}" />
+ <link rel="stylesheet" type="text/css" href="{{ (resources.Get "css/component.css" | minify).RelPermalink }}" />
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ . }}">
{{ end }}
- <script src="{{ "js/modernizr.custom.js" | absURL }}"></script>
+ <script src="{{ "js/modernizr.custom.js" | relURL }}"></script>