mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-19 09:03:02 -04:00
Add quicklink
This commit is contained in:
committed by
James Panther
parent
fa3a47c52b
commit
1e3241997d
@@ -43,6 +43,11 @@
|
||||
{{ $jsSearch := resources.Get "js/search.js" }}
|
||||
{{ $assets.Add "js" (slice $jsFuse $jsSearch) }}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.enableQuicklink | default false }}
|
||||
{{ $jsQuicklink := resources.Get "lib/quicklink/quicklink.umd.js" }}
|
||||
{{ $jsQuicklinkInit := resources.Get "js/quicklink.js" }}
|
||||
{{ $assets.Add "js" (slice $jsQuicklink $jsQuicklinkInit) }}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.enableCodeCopy | default false }}
|
||||
{{ $jsCode := resources.Get "js/code.js" }}
|
||||
{{ $assets.Add "js" (slice $jsCode) }}
|
||||
|
||||
Reference in New Issue
Block a user