diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index d89a9b3..4cc3d20 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,6 +10,21 @@ {{ partial "footer.html" . }} + {{ if and .IsPage (.Page.Scratch.Get "includes_railroad_diagram") }} + + + {{ end }} + + {{ if and .IsPage (.Page.Scratch.Get "includes_p5_sketch") }} + + + {{ end }} + + {{ range $script := .Resources.Match "*.js" }} + {{ $isModule := default true $script.Params.is_module }} + + {{ end }} + - - {{ end }} - - {{ if and .IsPage (.Page.Scratch.Get "includes_p5_sketch") }} - - - {{ end }} - - {{ range $script := .Resources.Match "*.js" }} - {{ $isModule := default true $script.Params.is_module }} - - {{ end }} - {{ if or hugo.IsProduction (eq site.Params.env "production") }}