Skip to content

Commit f34fe97

Browse files
committed
Removing duplicate custom-jekyll js
After docsy theme got merged these scripts aren't needed anymore. Confirmed after removing it (and all `<script>` references to it) the tooltip functionality is still there. Also removed the reference in `config.toml` to it, which may have stripped some dangling whitespace.
1 parent e935ad0 commit f34fe97

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

config.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ css = [
153153
"custom-jekyll/tags"
154154
]
155155
js = [
156-
"custom-jekyll/tags",
157156
"script"
158157
]
159158

@@ -222,7 +221,7 @@ no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY
222221
url = "https://discuss.kubernetes.io"
223222
icon = "fa fa-envelope"
224223
desc = "Discussion and help from your fellow users"
225-
224+
226225
[[params.links.user]]
227226
name = "Twitter"
228227
url = "https://twitter.com/kubernetesio"
@@ -259,7 +258,7 @@ no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY
259258
url = "https://git.k8s.io/community/contributors/guide"
260259
icon = "fas fa-edit"
261260
desc = "Contribute to the Kubernetes website"
262-
261+
263262
[[params.links.developer]]
264263
name = "Stack Overflow"
265264
url = "https://stackoverflow.com/questions/tagged/kubernetes"

layouts/partials/head.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,5 @@
8484
{{ end }}
8585

8686
<script src="{{ "js/script.js" | relURL }}"></script>
87-
<script src="{{ "js/custom-jekyll/tags.js" | relURL }}"></script>
8887
{{ with .Params.js }}{{ range (split . ",") }}<script src="{{ (trim . " ") | relURL }}"></script><!-- custom js added -->
8988
{{ end }}{{ else }}<!-- no custom js detected -->{{ end }}

static/js/custom-jekyll/tags.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)