File tree Expand file tree Collapse file tree 3 files changed +6924
-0
lines changed Expand file tree Collapse file tree 3 files changed +6924
-0
lines changed Original file line number Diff line number Diff line change 3131 < script src ="{{ "js /lunr/lunr.min.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" defer> </ script >
3232 < script src ="{{ "js /lunr/lunr.stemmer.support.min.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" defer> </ script >
3333 < script src ="{{ "js /lunr/lunr.multi.min.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" defer> </ script >
34+ {{- $tinyseg := false }}
35+ {{- $wordcut := false }}
3436 {{- range $contentlangs }}
37+ {{- if and (not $tinyseg) (or (eq . "ja")) }}
38+ {{- $tinyseg = true }}
39+ < script src ="{{ "js /lunr/tinyseg.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" defer> </ script >
40+ {{- end }}
41+ {{- if and (not $wordcut) (or (eq . "hi") (eq . "th")) }}
42+ {{- $wordcut = true }}
43+ < script src ="{{ "js /lunr/wordcut.js" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" defer> </ script >
44+ {{- end }}
3545 {{- $file := (printf "js/lunr/lunr.%s.min.js" .) }}
3646 < script src ="{{ $file | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }} " defer > </ script >
3747 {{- end }}
You can’t perform that action at this time.
0 commit comments