File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 9292 {{/* Additional Meta Tags */}}
9393 < meta name ="giscus:backlink " content ="{{ .Site.Params.siteProdUrl }}{{ .RelPermalink }} " />
9494 < meta name ="license " content ="© {{ now.Format "2006 " }} {{ .Site.Title }}." />
95+
96+ {{- $mainCss := resources.Get "css/style.css" -}}
97+ {{ if $mainCss -}}
98+ < link rel ="stylesheet " href ="{{ $mainCss.RelPermalink }} " />
99+ {{- end -}}
100+ {{- $langCode := .Site.Language.LanguageCode | default "en" -}}
101+ {{- $langCssPath := printf "css/style.%s.css" $langCode -}}
102+ {{- $langCss := resources.Get $langCssPath -}}
103+ {{ if $langCss }}
104+ < link rel ="stylesheet " href ="{{ $langCss.RelPermalink }} " />
105+ {{- end }}
95106 < link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/css/bootstrap.min.css " rel ="stylesheet " integrity ="sha384-4Q6Gf2aSP4eDXB8Miphtr37CMZZQ5oXLH2yaXMJ2w8e2ZtHTl7GptT4jmndRuHDT " crossorigin ="anonymous " />
96- < link rel ="stylesheet " href ="/css/style.css " />
97107 < script src ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/js/bootstrap.bundle.min.js " integrity ="sha384-j1CDi7MgGQ12Z7Qab0qlWQ/Qqz24Gc6BM0thvEMVjHnfYGF0rmFCozFSxQBxwHKO " crossorigin ="anonymous "> </ script >
98108 < script src ="https://kit.fontawesome.com/3e6b2f4808.js " crossorigin ="anonymous "> </ script >
99109
261271 return new bootstrap . Tooltip ( tooltipTriggerEl ) ;
262272 } ) ;
263273 </ script >
264- < script src ="/js/submenu.js "> </ script >
274+ {{- $submenuJs := resources.Get "js/submenu.js" -}}
275+ {{- if $submenuJs -}}
276+ < script src ="{{ $submenuJs.RelPermalink }} "> </ script >
277+ {{- end -}}
265278 </ body >
266279</ html >
You can’t perform that action at this time.
0 commit comments