mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-20 01:45:30 -04:00
fix; move function to another file
This commit is contained in:
@@ -47,6 +47,10 @@
|
||||
{{ $jsCode := resources.Get "js/code.js" }}
|
||||
{{ $assets.Add "js" (slice $jsCode) }}
|
||||
{{ end }}
|
||||
{{ if eq .Site.Params.header.layout "hamburger" }}
|
||||
{{ $jsMenu := resources.Get "js/menu.js" }}
|
||||
{{ $assets.Add "js" (slice $jsMenu) }}
|
||||
{{ end }}
|
||||
{{ if eq (site.Language.LanguageDirection | default "ltr") "rtl" }}
|
||||
{{ $jsRTL := resources.Get "js/rtl.js" }}
|
||||
{{ $assets.Add "js" (slice $jsRTL) }}
|
||||
|
||||
Reference in New Issue
Block a user