diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ad65e06..64cc4ed 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -22,7 +22,8 @@ - + {{- block "css" . }}{{- end }} + {{ if eq (getenv "HUGO_ENV") "PRD" }} @@ -46,7 +47,7 @@ {{- end }} {{ .Render "header" }} - + {{ block "header" . }}{{ end }} {{ $full_width := .Params.FullWidth | default false }} @@ -87,4 +88,4 @@ {{- end }} - \ No newline at end of file + diff --git a/layouts/screenshots/single.html b/layouts/screenshots/single.html index b87fa75..9560686 100644 --- a/layouts/screenshots/single.html +++ b/layouts/screenshots/single.html @@ -28,9 +28,12 @@ {{ end }} +{{ define "css" }} + +{{ end }} + {{ define "scripts" }} -