diff --git a/content/getting-started/installing.md b/content/getting-started/installing.md index 419e34e39..8f65f0ecd 100644 --- a/content/getting-started/installing.md +++ b/content/getting-started/installing.md @@ -122,7 +122,7 @@ Whenever installing with Homebrew, it's a good idea to update the formulae and H {{% code file="update-brew.sh" %}} ```bash -$ brew update +brew update ``` {{% /code %}} @@ -130,7 +130,7 @@ You can then install Hugo using `brew`: {{% code file="install-brew.sh" %}} ```bash -$ brew install hugo +brew install hugo ``` {{% /code %}} @@ -152,7 +152,7 @@ if you want the absolute latest version in development. ```bash $ # show the location of the hugo executable -$ which hugo +which hugo /usr/local/bin/hugo $ # show the installed version diff --git a/layouts/_default/section.html b/layouts/_default/section.html index a87b2a4d5..694a22ed5 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -5,7 +5,7 @@
{{partial "breadcrumb.html" . }}

- {{- partial "list-icon.html" . -}} + {{- .Title | markdownify -}}

{{partial "content-header-links.html" . }} {{partial "tags.html" . }} diff --git a/layouts/partials/breadcrumb.html b/layouts/partials/breadcrumb.html index c77148c3b..3f4bd36f1 100644 --- a/layouts/partials/breadcrumb.html +++ b/layouts/partials/breadcrumb.html @@ -1,18 +1,12 @@ +{{if and (ne .Kind "section") (ne .Section "")}} +{{end}} diff --git a/layouts/partials/contents-list.html b/layouts/partials/contents-list.html index df52b114e..7f4080523 100644 --- a/layouts/partials/contents-list.html +++ b/layouts/partials/contents-list.html @@ -1,14 +1,11 @@ {{$kind := .Kind}} -{{if eq $kind "section"}} -{{$section := replace (humanize .Section | title) "And" "and"}} -

Contents:

-{{end}} {{range .Data.Pages}}
-

{{- partial "list-icon.html" . -}}{{.Title | markdownify}}{{with .Params.sitelink }} {{end}}

+ +

{{.Title | markdownify}}{{with .Params.sitelink }} {{end}}

{{.Description | markdownify }}

diff --git a/layouts/partials/homepage/homepage-content.html b/layouts/partials/homepage/homepage-content.html index cc1646016..c2b848b13 100644 --- a/layouts/partials/homepage/homepage-content.html +++ b/layouts/partials/homepage/homepage-content.html @@ -4,12 +4,16 @@ {{ partial "svg-icons/hugo-home.svg" . }} UGO -
- brew install && brew install hugo
- hugo new site my-hugo-site && cd my-hugo-site
- hugo server
- mind
- blown +
The world's fastest static website engine.
Written in Golang.
+
+
+
+
+ $ brew install go
+ $ brew install hugo
+ $ have fun
diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html index 107805257..d68f35269 100644 --- a/layouts/partials/site-footer.html +++ b/layouts/partials/site-footer.html @@ -5,13 +5,15 @@ By spf13 and friends. Made with Hugo Logo -