diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 00000000..cf294daa --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,24 @@ + + + + + {{ partial "head.html" . }} + + + + {{ partial "header.html" (dict "hero" "" "baseUrl" ($.Param " baseURL ") "page" .) }} + +
+
+ {{ block "main" . }} + + {{ end }} +
+
+ {{ partial "footer.html" . }} + + + + + + \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 90faff09..84ec381f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,22 +1,3 @@ - - - - - {{ partial "head.html" . }} - - - - {{ partial "header.html" (dict "hero" "" "baseUrl" ($.Param " baseURL ") "page" .) }} - -
-
- {{ .Content }} -
-
- {{ partial "footer.html" . }} - - - - - - +{{ define "main"}} +{{ .Content }} +{{ end }} \ No newline at end of file diff --git a/content/index.html b/layouts/index.html similarity index 100% rename from content/index.html rename to layouts/index.html diff --git a/package.json b/package.json index cdb85086..fe2c3f7a 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "browserify": "^14.4.0", "dnslink-deploy": "^1.0.7", "factor-bundle": "^2.5.0", - "hugo-bin": "0.18.1", + "hugo-bin": "0.45.2", "imagemin-cli": "^3.0.0", "imagemin-jpegtran": "^5.0.2", "imagemin-optipng": "^5.2.1",