diff --git a/content/getting-started/installing.md b/content/getting-started/installing.md index 4dfe62fef..419e34e39 100644 --- a/content/getting-started/installing.md +++ b/content/getting-started/installing.md @@ -10,7 +10,7 @@ authors: ["Michael Henderson"] tags: [install,fundamentals,pc,windows,linux,mac,osx,binary,tarball] weight: 30 draft: false -aliases: [/tutorials/installing-on-windows/,/tutorials/installing-on-mac/,/overview/installing/,/getting-started/install,/install/] +aliases: [/tutorials/installing-on-windows/,/tutorials/installing-on-mac/,/overview/installing/,/getting-started/install,/install/,/docs/] toc: true --- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 383bce3dd..cb1687cc9 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,14 +2,18 @@ {{- partial "site-head.html" . -}} - {{- partial "site-header.html" . -}} - {{- partial "site-search.html" . -}} + {{ block "header" . }} + {{- partial "site-header.html" . -}} + {{- partial "site-search.html" . -}} + {{ end }}
- {{ block "main" . }} - {{ end}} + {{ block "main" . }} + {{ end}}
{{- partial "site-footer.html" . -}} {{- partial "site-navigation.html" . -}} {{- partial "site-scripts.html" . -}} + {{ block "addscripts" . }} + {{ end }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 4e0af9998..5c439d0cd 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,26 +1,10 @@ +{{ define "header" }} + {{- partial "homepage/homepage-header.html" . -}} + {{- partial "site-search.html" . -}} +{{ end }} {{ define "main" }} -
-
- Official full-size Hugo logo -
- -
+{{ partial "homepage/homepage-content.html" . }} +{{ end }} +{{ define "addscripts" }} + {{ end }} \ No newline at end of file diff --git a/layouts/partials/head/site-style.html b/layouts/partials/head/site-style.html index 9ef3cccc3..a49dda9d0 100644 --- a/layouts/partials/head/site-style.html +++ b/layouts/partials/head/site-style.html @@ -1,10 +1,7 @@ -{{if .Site.Params.usefontawesome}} - -{{end}} - {{ if .IsHome }} + {{ end }} \ No newline at end of file diff --git a/layouts/partials/homepage/homepage-content.html b/layouts/partials/homepage/homepage-content.html new file mode 100644 index 000000000..5942baec5 --- /dev/null +++ b/layouts/partials/homepage/homepage-content.html @@ -0,0 +1,11 @@ +
+
+
+ {{ partial "svg-icons/hugo-home.svg" . }} + UGO +
+
+
+ +
+
\ No newline at end of file diff --git a/layouts/partials/homepage/homepage-header.html b/layouts/partials/homepage/homepage-header.html new file mode 100644 index 000000000..7485fcfb9 --- /dev/null +++ b/layouts/partials/homepage/homepage-header.html @@ -0,0 +1,14 @@ + diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html index fbde4a241..107805257 100644 --- a/layouts/partials/site-footer.html +++ b/layouts/partials/site-footer.html @@ -1,5 +1,5 @@ -