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

github.com/joway/hugo-theme-yinyang.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoway.CI <joway.w@gmail.com>2019-11-10 19:54:48 +0300
committerJoway.CI <joway.w@gmail.com>2019-11-10 19:54:48 +0300
commit755b2edc374fe4471bc25e8b6b4356d86ec546bd (patch)
tree5e8c1fb78caee237e4df684b292823bdc97f28f5
parent4275e6bd4ec3ee65df85769d845717a37727140f (diff)
rm quicklink
-rw-r--r--layouts/partials/head.html8
-rw-r--r--layouts/partials/scripts.html12
2 files changed, 10 insertions, 10 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 5a92151..1b1cceb 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -32,15 +32,15 @@
{{- end }}
<link rel="stylesheet" href="{{ "css/index.css" | relURL }}">
<link href="{{ "index.xml" | relURL }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}">
- <!-- font -->
+ <!-- fonts -->
<link href="https://fonts.googleapis.com/css?family=Arvo|Permanent+Marker" rel="stylesheet">
<!-- quicklink require -->
- <script>
+ <!-- <script>
/* Disable minification (remove `.min` from URL path) for more info
https://polyfill.io/v2/polyfill.min.js?features=IntersectionObserver
*/
(function (undefined) { }).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
- </script>
+ </script> -->
{{ .Site.Params.extraHead | safeHTML }}
-</head> \ No newline at end of file
+</head>
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index aec91fe..2e68f61 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -1,5 +1,5 @@
<script src="{{ "js/highlight.pack.js" | relURL }}"></script>
-<script src="https://unpkg.com/quicklink@0.1.1/dist/quicklink.umd.js"></script>
+<!-- <script src="https://unpkg.com/quicklink@0.1.1/dist/quicklink.umd.js"></script> -->
{{ if and .Site.Params.lazyImage (not .IsHome) -}}
<script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@10.19.0/dist/lazyload.min.js"></script>
<script>
@@ -11,9 +11,9 @@
<script>
hljs.initHighlightingOnLoad();
- var posts = document.getElementById('posts-list');
- posts && quicklink({
- el: posts,
- priority: true,
- });
+ // var posts = document.getElementById('posts-list');
+ // posts && quicklink({
+ // el: posts,
+ // priority: true,
+ // });
</script>