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

github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Faria <leonardofaria@gmail.com>2020-11-29 08:11:07 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-11-29 08:11:07 +0300
commite5de6027d8b2d351d29c2420594060c6bf4e6c79 (patch)
tree750d63047521ad0b9eedc8cb734c67d4ddbfd7ac
parent6ba8bb43db85df2b90f9035ed20f7db83238a762 (diff)
Minify asset
-rw-r--r--layouts/partials/head.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f886603..f0b822f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -123,7 +123,7 @@
<link rel="webmention" href="https://webmention.io/{{.}}/webmention">
<link rel="pingback" href="https://webmention.io/{{.}}/xmlrpc">
- {{ $webmentions := resources.Get "js/webmentions.js" }}
- <script src="{{ $webmentions.RelPermalink }}" type="text/javascript"></script>
+ {{ $webmentions := resources.Get "js/webmentions.js" | minify | fingerprint }}
+ <script src="{{ $webmentions.Permalink }}" type="text/javascript"></script>
{{end}}
</head>