@@ -66,6 +66,7 @@ <h1>Redirecting…</h1>
66
66
67
67
{{ $style := resources.Get "sass/application.scss" | resources.ExecuteAsTemplate "application.scss" . | css.Sass | resources.Minify | fingerprint }}
68
68
< link rel ="stylesheet " href ="{{ $style.RelPermalink }} "{{ if (hasPrefix .Site.BaseURL "https://") }} integrity="{{ $style.Data.Integrity }} "{{ end }} >
69
+ < script src ="{{ relURL "js /modernizr.js" }}"> </ script >
69
70
<!--[if (gte IE 6)&(lte IE 8)]>
70
71
<script src="{{ relURL "js/selectivizr-min.js" }}"></script>
71
72
<![endif]-->
@@ -83,7 +84,7 @@ <h1>Redirecting…</h1>
83
84
< div id ="content-wrapper ">
84
85
< div class ="inner ">
85
86
{{ partial "site-root.html" . }}
86
- {{ partial "footer.html" . }}
87
+ {{ partialCached "footer.html" . }}
87
88
</ div > <!-- .inner -->
88
89
</ div > <!-- #content-wrapper -->
89
90
{{ else if (isset .Params "book") }}
@@ -111,7 +112,7 @@ <h1>{{ .Params.book.section.cs_number }} {{ .Params.book.chapter.title }} - {{ .
111
112
{{ end }}
112
113
</ div >
113
114
</ div >
114
- {{ partial "footer.html" . }}
115
+ {{ partialCached "footer.html" . }}
115
116
</ div >
116
117
{{ else if (isset .Params "docname") }}
117
118
< div class ="inner ">
@@ -144,7 +145,7 @@ <h3 hidden="true" data-pagefind-weight="{{ $weight }}">{{ $command_name }}</h3>
144
145
</ div >
145
146
</ div >
146
147
</ div >
147
- {{ partial "footer.html" . }}
148
+ {{ partialCached "footer.html" . }}
148
149
</ div >
149
150
{{ else }}
150
151
< div class ="inner ">
@@ -181,7 +182,8 @@ <h1 data-pagefind-meta="title">About{{ if (isset .Params "subtitle") }} - {{ .Pa
181
182
{{ end }}
182
183
</ div >
183
184
</ div >
184
- {{ partial "footer.html" . }}
185
+ {{ if eq (.Scratch.Get "section") "search" }}< script src ="{{ relURL "pagefind /pagefind-ui.js" }}"> </ script > {{ end }}
186
+ {{ partialCached "footer.html" . }}
185
187
</ div >
186
188
{{ end }}
187
189
0 commit comments