Skip to content

Commit 30b92ff

Browse files
committed
Upgrade to Docsy 0.5.1 via NPM module
1 parent a371603 commit 30b92ff

20 files changed

+216
-129
lines changed

.gitmodules

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[submodule "themes/docsy"]
2-
path = themes/docsy
3-
url = https://github.com/google/docsy.git
4-
branch = v0.3.0
51
[submodule "api-ref-generator"]
62
path = api-ref-generator
73
url = https://github.com/kubernetes-sigs/reference-docs

Makefile

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@ CONTAINER_IMAGE = $(IMAGE_REGISTRY)/k8s-website-hugo:v$(HUGO_VERSION)-$(IMAGE_
1212
# Mount read-only to allow use with tools like Podman in SELinux mode
1313
# Container targets don't need to write into /src
1414
CONTAINER_RUN = "$(CONTAINER_ENGINE)" run --rm --interactive --tty --volume "$(CURDIR):/src:ro,Z"
15+
CONTAINER_RUN_TTY = "$(CONTAINER_ENGINE)" run --rm --interactive --tty
16+
CONTAINER_HUGO_MOUNTS = \
17+
--read-only \
18+
--mount type=bind,source=$(CURDIR)/.git,target=/src/.git,readonly \
19+
--mount type=bind,source=$(CURDIR)/archetypes,target=/src/archetypes,readonly \
20+
--mount type=bind,source=$(CURDIR)/assets,target=/src/assets,readonly \
21+
--mount type=bind,source=$(CURDIR)/content,target=/src/content,readonly \
22+
--mount type=bind,source=$(CURDIR)/data,target=/src/data,readonly \
23+
--mount type=bind,source=$(CURDIR)/i18n,target=/src/i18n,readonly \
24+
--mount type=bind,source=$(CURDIR)/layouts,target=/src/layouts,readonly \
25+
--mount type=bind,source=$(CURDIR)/static,target=/src/static,readonly \
26+
--mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 \
27+
--mount type=bind,source=$(CURDIR)/hugo.toml,target=/src/hugo.toml,readonly
1528

1629
CCRED=\033[0;31m
1730
CCEND=\033[0m
@@ -98,15 +111,13 @@ docker-push: ## Build a multi-architecture image and push that into the registry
98111

99112
container-build: module-check
100113
mkdir -p public
101-
$(CONTAINER_RUN) --read-only \
102-
--mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 \
103-
--mount type=bind,source=$(CURDIR)/public,target=/src/public $(CONTAINER_IMAGE) \
104-
hugo --cleanDestinationDir --buildDrafts --buildFuture --environment preview --noBuildLock
114+
$(CONTAINER_RUN_TTY) $(CONTAINER_HUGO_MOUNTS) $(CONTAINER_IMAGE) \
115+
hugo --destination /tmp/public --cleanDestinationDir --buildDrafts --buildFuture --environment preview --noBuildLock
105116

106117
# no build lock to allow for read-only mounts
107118
container-serve: module-check ## Boot the development server using container.
108-
$(CONTAINER_RUN) --cap-drop=ALL --cap-add=AUDIT_WRITE --read-only \
109-
--mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 -p 1313:1313 $(CONTAINER_IMAGE) \
119+
$(CONTAINER_RUN_TTY) --cap-drop=ALL --cap-add=AUDIT_WRITE $(CONTAINER_HUGO_MOUNTS) \
120+
-p 1313:1313 $(CONTAINER_IMAGE) \
110121
hugo server --buildDrafts --buildFuture --environment development --bind 0.0.0.0 --destination /tmp/public --cleanDestinationDir --noBuildLock
111122

112123
test-examples:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ git clone https://github.com/kubernetes/website.git
3030
cd website
3131
```
3232

33-
The Kubernetes website uses the [Docsy Hugo theme](https://github.com/google/docsy#readme). Even if you plan to run the website in a container, we strongly recommend pulling in the submodule and other development dependencies by running the following:
33+
The Kubernetes website uses git submodules. Even if you plan to run the website in a container, we strongly recommend pulling in the submodule and other development dependencies by running the following:
3434

3535
### Windows
3636

assets/scss/_custom.scss

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,7 @@ body.td-home main[role="main"] > section:first-of-type .content p:first-child {
9898

9999
body.td-404 main .error-details {
100100
max-width: 1100px;
101-
margin-left: auto;
102-
margin-right: auto;
103-
margin-top: 4em;
104-
margin-bottom: 0;
101+
margin: 0 auto;
105102
}
106103

107104
/* Global - Mermaid.js diagrams */
@@ -1591,7 +1588,7 @@ html.no-js body div#announcement {
15911588
// default background is blue; overrides are possible
15921589
color: #fff;
15931590
display: none; // When javascript is available, Let javascript handle the state of the announcement
1594-
1591+
15951592
.announcement-main {
15961593
margin-left: auto;
15971594
margin-right: auto;
@@ -1828,7 +1825,7 @@ div.alert > em.javascript-required {
18281825
align-items: center;
18291826
background-color: #fff;
18301827
border: 1px solid #4c4c4c;
1831-
border-radius: 20px;
1828+
border-radius: 20px;
18321829
vertical-align: middle;
18331830
flex-grow: 1;
18341831
overflow-x: hidden;
@@ -1857,7 +1854,7 @@ div.alert > em.javascript-required {
18571854
#search .pagefind-ui form input {
18581855
background-color: #fff;
18591856
border: 1px solid #4c4c4c;
1860-
border-radius: 20px;
1857+
border-radius: 20px;
18611858
overflow-x: hidden;
18621859
width: auto;
18631860
padding: 6px 10px !important;
@@ -1912,7 +1909,7 @@ body.td-search #search {
19121909
}
19131910

19141911
/* CSS for 'figure' full-screen display */
1915-
1912+
19161913
/* Define styles for full-screen overlay */
19171914
.figure-fullscreen-overlay {
19181915
position: fixed;
@@ -1941,7 +1938,7 @@ body.td-search #search {
19411938
/* Define styles for close button */
19421939
.figure-close-button {
19431940
position: absolute;
1944-
top: 1%;
1941+
top: 1%;
19451942
right: 2%;
19461943
cursor: pointer;
19471944
font-size: calc(5vw + 10px);
@@ -1954,6 +1951,10 @@ body.td-search #search {
19541951
padding: 0.2rem;
19551952
}
19561953

1954+
.includecode .highlight {
1955+
margin-top: 0;
1956+
margin-bottom: 0;
1957+
}
19571958

19581959
// handle main page features on narrow viewports
19591960
@media screen and (max-width: 768px) {

hugo.toml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title = "Kubernetes"
33

44
# Hugo allows theme composition (and inheritance). The precedence is from left to right.
55
theme = ["docsy"]
6+
themesDir = "node_modules"
67

78
# Language settings
89
contentDir = "content/en"
@@ -248,44 +249,44 @@ no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY
248249
[[params.links.user]]
249250
name_key = "community_youtube_name"
250251
url = "https://youtube.com/kubernetescommunity"
251-
icon = "fab fa-youtube"
252+
icon = "fa-brands fa-youtube"
252253

253254
[[params.links.user]]
254255
name_key = "community_forum_name"
255256
url = "https://discuss.kubernetes.io"
256-
icon = "fa fa-envelope"
257+
icon = "fa-solid fa-envelope"
257258

258259
[[params.links.user]]
259260
name_key = "community_server_fault_name"
260261
url = "https://serverfault.com/questions/tagged/kubernetes"
261-
icon = "fab fa-stack-overflow"
262+
icon = "fa-brands fa-stack-overflow"
262263

263264
[[params.links.user]]
264265
name_key = "community_x_name"
265266
url = "https://twitter.com/kubernetesio"
266-
icon = "fab fa-twitter"
267+
icon = "fa-brands fa-twitter"
267268
# Replace with fa-x-twitter once available
268269

269270
# Developer relevant links. These will show up on right side of footer and in the community page if you have one.
270271
[[params.links.developer]]
271272
name_key = "community_contributor_site_name"
272273
url = "https://k8s.dev/"
273-
icon = "fas fa-laptop-code"
274+
icon = "fa-solid fa-laptop-code"
274275

275276
[[params.links.developer]]
276277
name_key = "community_github_name"
277278
url = "https://github.com/kubernetes/kubernetes"
278-
icon = "fab fa-github"
279+
icon = "fa-brands fa-github"
279280

280281
[[params.links.developer]]
281282
name_key = "community_slack_name"
282283
url = "https://slack.k8s.io"
283-
icon = "fab fa-slack"
284+
icon = "fa-brands fa-slack"
284285

285286
[[params.links.developer]]
286287
name_key = "community_calendar_name"
287288
url = "https://calendar.google.com/calendar/embed?src=calendar%40kubernetes.io"
288-
icon = "fas fa-calendar-alt"
289+
icon = "fa-solid fa-calendar-days"
289290

290291
# Language definitions.
291292

@@ -357,7 +358,7 @@ languageNameLatinScript = "Deutsch"
357358

358359
[languages.hi]
359360
title = "Kubernetes"
360-
languageName = "हिन्दी (Hindi)"
361+
languageName = "हिन्दी (Hindi)"
361362
weight = 6
362363
contentDir = "content/hi"
363364
languagedirection = "ltr"

layouts/404.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{{ define "main" }}
22
{{ partial "handle-version-switch-404.html" . }}
3+
<div class="td-content">
34
<section id="error-404" class="error-details">
45
<p>
56
{{ T "error_404_were_you_looking_for" }}
@@ -11,4 +12,5 @@
1112
{{ end }}
1213
</ul>
1314
</section>
15+
</div>
1416
{{ end }}

layouts/blog/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
><!-- inside main element -->
3535
{{ with .CurrentSection.OutputFormats.Get "rss" -}}
3636
<a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href="{{ .Permalink | safeURL }}" target="_blank">
37-
RSS <i class="fa fa-rss ml-2 "></i>
37+
RSS <i class="fa-solid fa-rss ml-2 "></i>
3838
</a>
3939
{{ end -}}
4040
{{ block "main" . }}{{ end }}

layouts/partials/blog-meta-links.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<div class="td-page-blog-meta ml-2 pb-1 pt-2 mb-4">
22
{{ with site.Home.OutputFormats.Get "rss" -}}
33
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}" title="{{ site.Title }}">
4-
<a class="widget-link" href="{{ .Permalink | safeURL }}" target="_blank"><div> <i class="fas fa-rss fab-icon"> </i> <span class="widget-link-text">RSS Feed</span></div> </a>
4+
<a class="widget-link" href="{{ .Permalink | safeURL }}" target="_blank"><div> <i class="fa-solid fa-rss"> </i> <span class="widget-link-text">RSS Feed</span></div> </a>
55
{{ end -}}
6-
<a class="widget-link" href="https://kubernetes.io/docs/contribute/new-content/blogs-case-studies/" target="_blank"><div> <i class="fa fa-edit fab-icon"></i> <span class="widget-link-text">Submit a Post</span></div></a>
7-
<a class="widget-link" href="https://twitter.com/kubernetesio" target="_blank"><div> <i class="fab fa-twitter-square fab-icon"> </i> <span class="widget-link-text"> @Kubernetesio</span></div></a>
8-
<a class="widget-link" href="https://github.com/kubernetes/kubernetes" target="_blank"><div> <i class="fab fa-github-square fab-icon"></i> <span class="widget-link-text"> on GitHub </span></div></a>
9-
<a class="widget-link" href="http://slack.k8s.io" target="_blank"><div><i class="fab fa-slack fab-icon"> </i> <span class="widget-link-text">#kubernetes-users </span></div></a>
10-
<a class="widget-link" href="https://stackoverflow.com/questions/tagged/kubernetes" target="_blank"><div><i class="fab fa-stack-overflow fab-icon"></i> <span class="widget-link-text"> Stack Overflow</span></div></a>
11-
<a class="widget-link" href="https://discuss.kubernetes.io" target="_blank"><div> <i class="fab fa-discourse fab-icon"></i><span class="widget-link-text"> Forum </span></div></a>
12-
<a class="widget-link" href="https://kubernetes.io/docs/setup"><div><i class="fa fa-download fab-icon"></i> <span class="widget-link-text"> Kubernetes</span></div></a>
6+
<a class="widget-link" href="https://kubernetes.io/docs/contribute/new-content/blogs-case-studies/" target="_blank"><div> <i class="fa-solid fa-pen-to-square"></i> <span class="widget-link-text">Submit a Post</span></div></a>
7+
<a class="widget-link" href="https://twitter.com/kubernetesio" target="_blank"><div> <i class="fa-brands fa-twitter-square"> </i> <span class="widget-link-text"> @Kubernetesio</span></div></a>
8+
<a class="widget-link" href="https://github.com/kubernetes/kubernetes" target="_blank"><div> <i class="fa-brands fa-square-github"></i> <span class="widget-link-text"> on GitHub </span></div></a>
9+
<a class="widget-link" href="http://slack.k8s.io" target="_blank"><div><i class="fa-brands fa-slack"> </i> <span class="widget-link-text">#kubernetes-users </span></div></a>
10+
<a class="widget-link" href="https://stackoverflow.com/questions/tagged/kubernetes" target="_blank"><div><i class="fa-brands fa-stack-overflow"></i> <span class="widget-link-text"> Stack Overflow</span></div></a>
11+
<a class="widget-link" href="https://discuss.kubernetes.io" target="_blank"><div> <i class="fa-brands fa-discourse"></i><span class="widget-link-text"> Forum </span></div></a>
12+
<a class="widget-link" href="https://kubernetes.io/docs/setup"><div><i class="fa-solid fa-download"></i> <span class="widget-link-text"> Kubernetes</span></div></a>
1313
</div>

layouts/partials/blog-sidebar.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{/* The blog nav organizes posts grouped by year, which represents a customized version of the
1+
{{/* The blog nav organizes posts grouped by year, which represents a customized version of the
22
sidebar-tree in use elsewhere on the site. */}}
33

44
{{/* We cache this partial for bigger sites and set the active class client side. */}}
@@ -8,10 +8,10 @@
88

99
<form class="td-sidebar__search d-flex align-items-center">
1010
{{ partial "search-input.html" . }}
11-
<button class="btn btn-link td-sidebar__toggle d-md-none p-0 ml-3 fas fa-bars" type="button" data-toggle="collapse" data-target="#td-section-nav" aria-controls="td-docs-nav" aria-expanded="false" aria-label="Toggle section navigation">
11+
<button class="btn btn-link td-sidebar__toggle d-md-none p-0 ml-3 fa-solid fa-bars" type="button" data-toggle="collapse" data-target="#td-section-nav" aria-controls="td-docs-nav" aria-expanded="false" aria-label="Toggle section navigation">
1212
</button>
1313
</form>
14-
14+
1515
<nav class="collapse td-sidebar-nav pt-2 pl-4" id="td-section-nav">
1616
<!-- {{ if (gt (len .Site.Home.Translations) 0) }}
1717
<div class="nav-item dropdown d-block d-lg-none">

layouts/partials/head.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
{{ partial "css.html" . }}
5656
<!-- Content for social media sharing previews -->
5757
<!-- Facebook uses the og: stuff, while Twitter and others use twitter: -->
58-
<meta name="description" content="{{ if .Params.description }}{{ .Params.description }}{{ else }}{{ .Summary }}{{ end }}">
59-
<meta property="og:description" content="{{ if .Params.description }}{{ .Params.description }}{{ else }}{{ .Summary }}{{ end }}">
60-
<meta name="twitter:description" content="{{ if .Params.description }}{{ .Params.description }}{{ else }}{{ .Summary }}{{ end }}">
58+
<meta name="description" content="{{ template "partials/page-description.html" . }}">
59+
<meta property="og:description" content="{{ template "partials/page-description.html" . }}">
60+
<meta name="twitter:description" content="{{ template "partials/page-description.html" . }}">
6161
<meta property="og:url" content="{{ .Permalink }}">
6262
<meta property="og:title" content="{{ if .Params.title }}{{ .Title }}{{ else }}{{ .Summary | truncate 10 }}{{ end }}">
6363
<meta name="twitter:title" content="{{ if .Params.title }}{{ .Title }}{{ else }}{{ .Summary | truncate 10 }}{{ end }}">

layouts/partials/page-meta-links.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,31 +29,31 @@
2929
<!-- Loop through the API reference links -->
3030
{{- range $apiReferenceMetaLinks -}}
3131
{{- $apiRefPageLink := . -}}
32-
{{- $apiRefPageLink | replaceRE "<a([^>]*)>" "<a$1><i class=\"fa fa-code fa-fw\"></i> " | safeHTML -}}
32+
{{- $apiRefPageLink | replaceRE "<a([^>]*)>" "<a$1><i class=\"fa-solid fa-code fa-fw\"></i> " | safeHTML -}}
3333
{{- end -}}
3434
{{- end -}}
3535

3636
{{ if not (.Param "auto_generated") }}
37-
<a href="{{ $editURL }}" target="_blank"><i class="fa fa-edit fa-fw"></i> {{ T "post_edit_this" }}</a>
37+
<a href="{{ $editURL }}" target="_blank"><i class="fa-solid fa-pen-to-square fa-fw"></i> {{ T "post_edit_this" }}</a>
3838
{{- if .HasShortcode "thirdparty-content" -}}
39-
<a href="#third-party-content-disclaimer" class="third-party-disclaimer-link"><i class="fa fa-icon-circle fa-fw"></i> {{ T "thirdparty_message_edit_disclaimer" | safeHTML }}</a>
39+
<a href="#third-party-content-disclaimer" class="third-party-disclaimer-link"><i class="d-inline-block fa-fw"></i> {{ T "thirdparty_message_edit_disclaimer" | safeHTML }}</a>
4040
{{- end }}
4141

42-
<a href="{{ $newPageURL }}" target="_blank"><i class="fa fa-edit fa-fw"></i> {{ T "post_create_child_page" }}</a>
42+
<a href="{{ $newPageURL }}" target="_blank"><i class="fa-solid fa-pen-to-square fa-fw"></i> {{ T "post_create_child_page" }}</a>
4343
{{ end }}
4444

45-
<a href="{{ $issuesURL }}" target="_blank"><i class="fab fa-github fa-fw"></i> {{ T "post_create_issue" }}</a>
45+
<a href="{{ $issuesURL }}" target="_blank"><i class="fa-brands fa-github fa-fw"></i> {{ T "post_create_issue" }}</a>
4646
{{ if $gh_project_repo }}
4747
{{ $project_issueURL := printf "%s/issues/new" $gh_project_repo }}
48-
<a href="{{ $project_issueURL }}" target="_blank"><i class="fas fa-tasks fa-fw"></i> {{ T "post_create_project_issue" }}</a>
48+
<a href="{{ $project_issueURL }}" target="_blank"><i class="fa-solid fa-list-check fa-fw"></i> {{ T "post_create_project_issue" }}</a>
4949
{{ end }}
5050
{{- if (.Param "auto_generated") -}}
51-
<a href="#auto-generated-edit-notice" class="auto-generated-notice-link"><i class="fa fa-icon-circle fa-fw"></i> {{ T "auto_generated_edit_notice" | safeHTML }}</a>
51+
<a href="#auto-generated-edit-notice" class="auto-generated-notice-link"><i class="d-inline-block fa-fw"></i> {{ T "auto_generated_edit_notice" | safeHTML }}</a>
5252
{{- end -}}
5353

5454
{{ end }}
5555
{{ with .CurrentSection.AlternativeOutputFormats.Get "print" }}
56-
<a id="print" href="{{ .Permalink | safeURL }}"><i class="fa fa-print fa-fw"></i> {{ T "print_entire_section" }}</a>
56+
<a id="print" href="{{ .Permalink | safeURL }}"><i class="fa-solid fa-print fa-fw"></i> {{ T "print_entire_section" }}</a>
5757
{{ end }}
5858
</div>
5959
{{ end }}

layouts/partials/scripts.html

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
1-
<script src="/js/jquery-3.6.0.min.js" integrity="sha384-vtXRMe3mGCbOeY7l30aIg8H9p3GdeSe4IFlP6G8JMa7o7lXvnz3GFKzPxzJdPfGK" crossorigin="anonymous"></script>
2-
<script src="/js/popper-1.16.1.min.js" intregrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
3-
<script src="/js/bootstrap-4.6.1.min.js" integrity="sha384-VHvPCCyXqtD5DqJeNxl2dtTyhF78xXNXdkwX1CZeRusQfRKp+tA7hAShOK/B/fQ2" crossorigin="anonymous"></script>
41
<script src="{{ "js/script.js" | relURL }}"></script>
52

3+
{{ $jsBs := resources.Get "vendor/bootstrap/dist/js/bootstrap.bundle.js" -}}
64
{{ $jsBase := resources.Get "js/base.js" }}
75
{{ $jsAnchor := resources.Get "js/anchor.js" }}
86
{{ $jsSearch := resources.Get "js/search.js" | resources.ExecuteAsTemplate "js/search.js" .Site.Home }}
97
{{ $jsMermaid := resources.Get "js/mermaid.js" | resources.ExecuteAsTemplate "js/mermaid.js" . }}
108
{{ if .Site.Params.offlineSearch }}
119
{{ $jsSearch = resources.Get "js/offline-search.js" }}
1210
{{ end }}
13-
{{ $js := (slice $jsBase $jsAnchor $jsSearch $jsMermaid) | resources.Concat "js/main.js" }}
14-
{{ if hugo.IsServer }}
15-
<script src="{{ $js.RelPermalink }}"></script>
16-
{{ else }}
17-
{{ $js := $js | minify | fingerprint }}
18-
<script src="{{ $js.RelPermalink }}" integrity="{{ $js.Data.Integrity }}" crossorigin="anonymous"></script>
19-
{{ end }}
20-
{{ with .Site.Params.prism_syntax_highlighting }}
21-
<!-- scripts for prism -->
22-
<script src='/js/prism.js'></script>
23-
{{ end }}
11+
{{ $js := (slice $jsBs $jsBase $jsAnchor $jsSearch $jsMermaid) | resources.Concat "js/main.js" -}}
12+
{{ if hugo.IsProduction -}}
13+
{{ $js := $js | minify | fingerprint -}}
14+
<script src="{{ $js.RelPermalink }}" integrity="{{ $js.Data.Integrity }}" crossorigin="anonymous"></script>
15+
{{ else -}}
16+
<script src="{{ $js.RelPermalink }}"></script>
17+
{{ end -}}
18+
19+
{{ if .Site.Params.prism_syntax_highlighting -}}
20+
<script src='{{ "js/prism.js" | relURL }}'></script>
21+
{{ else if false -}}
22+
{{ $c2cJS := resources.Get "js/click-to-copy.js" -}}
23+
{{ if hugo.IsProduction -}}
24+
{{ $c2cJS = $c2cJS | minify | fingerprint -}}
25+
{{ end -}}
26+
<script defer src="{{ $c2cJS.RelPermalink }}" {{ with $c2cJS.Data.Integrity -}}
27+
integrity="{{ . }}" {{ end -}}
28+
crossorigin="anonymous"></script>
29+
{{ end -}}
2430

2531
<!--for the splitter-->
2632
<script>
@@ -51,5 +57,4 @@
5157
}
5258
</script>
5359

54-
5560
{{ partial "hooks/body-end.html" . }}

0 commit comments

Comments
 (0)