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

github.com/onweru/newsroom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorweru <onewesh@gmail.com>2020-01-14 17:13:53 +0300
committerweru <onewesh@gmail.com>2020-01-14 17:18:46 +0300
commit4ef0c77cddfeefe216be2d294de6db3ee639f131 (patch)
tree4d6e0e74211b210334e03404fd3ead97e322de4d
parent7fbf79d141eb7df608830090874006908672fc7c (diff)
minify & fingerprint
-rw-r--r--exampleSite/resources/_gen/assets/scss/scss/main.scss_65b0252c4a2fb050308e79c52b2c1909.content1
-rw-r--r--exampleSite/resources/_gen/assets/scss/scss/main.scss_65b0252c4a2fb050308e79c52b2c1909.json2
-rw-r--r--layouts/partials/footer.html3
3 files changed, 4 insertions, 2 deletions
diff --git a/exampleSite/resources/_gen/assets/scss/scss/main.scss_65b0252c4a2fb050308e79c52b2c1909.content b/exampleSite/resources/_gen/assets/scss/scss/main.scss_65b0252c4a2fb050308e79c52b2c1909.content
index d85784a..c306049 100644
--- a/exampleSite/resources/_gen/assets/scss/scss/main.scss_65b0252c4a2fb050308e79c52b2c1909.content
+++ b/exampleSite/resources/_gen/assets/scss/scss/main.scss_65b0252c4a2fb050308e79c52b2c1909.content
@@ -523,6 +523,7 @@ aside h3 {
border-radius: 1rem;
height: 1.5rem;
outline: none;
+ border: none;
-webkit-appearance: none;
cursor: pointer;
transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
diff --git a/exampleSite/resources/_gen/assets/scss/scss/main.scss_65b0252c4a2fb050308e79c52b2c1909.json b/exampleSite/resources/_gen/assets/scss/scss/main.scss_65b0252c4a2fb050308e79c52b2c1909.json
index 5b6ccea..368aa7c 100644
--- a/exampleSite/resources/_gen/assets/scss/scss/main.scss_65b0252c4a2fb050308e79c52b2c1909.json
+++ b/exampleSite/resources/_gen/assets/scss/scss/main.scss_65b0252c4a2fb050308e79c52b2c1909.json
@@ -1 +1 @@
-{"Target":"css/main.836ccc3a48904dc62d1ce23c12b3b2129391f95a8b6c131cc4287203388e1b3acaad291a405985645686f4c65813cd3deb894cbb36ffbcf7f42db5ec51ad9bef.css","MediaType":"text/css","Data":{"Integrity":"sha512-g2zMOkiQTcYtHOI8ErOyEpOR+VqLbBMcxChyAziOGzrKrSkaQFmFZFaG9MZYE80964lMuzb/vPf0LbXsUa2b7w=="}} \ No newline at end of file
+{"Target":"css/main.90f336904ae47d8a84a74f7f61e584c924d1e35705cfaa51bda08809b7250a54a30abef7fb6f1a28ff81db5248348a47b39c17b19375093ebda0698b0978d410.css","MediaType":"text/css","Data":{"Integrity":"sha512-kPM2kErkfYqEp09/YeWEySTR41cFz6pRvaCICbclClSjCr73+28aKP+B21JINIpHs5wXsZN1CT69oGmLCXjUEA=="}} \ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 6e7b057..b90336a 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -2,5 +2,6 @@
<p>&copy;&nbsp;<span class = 'year'></span>&nbsp;{{ .Site.Title }}</p>
<p>{{ i18n "designed_by" .Site.Data.designer | safeHTML }}</p>
</footer>
-{{ $scripts := resources.Get "js/index.js" | resources.ExecuteAsTemplate "js/index.js" . }}
+{{ $scriptPath := "js/index.js" }}
+{{ $scripts := resources.Get $scriptPath | resources.ExecuteAsTemplate $scriptPath . | resources.Minify | resources.Fingerprint "sha512" }}
<script src = '{{ $scripts.Permalink }}'></script>