From c0bd5b5bb899343ef8b18cceec1982ab8980b236 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 4 Feb 2020 22:24:36 +0100 Subject: #90, Move inline scripts to file in assets to allow overwrite --- layouts/partials/docs/menu.html | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'layouts/partials/docs') diff --git a/layouts/partials/docs/menu.html b/layouts/partials/docs/menu.html index 0db676f..a0d3c45 100644 --- a/layouts/partials/docs/menu.html +++ b/layouts/partials/docs/menu.html @@ -13,12 +13,7 @@ - +{{ $script := resources.Get "menu-reset.js" | resources.Minify }} +{{ with $script.Content }} + +{{ end }} -- cgit v1.2.3