diff --git a/CHANGELOG.md b/CHANGELOG.md index 82b1e83..f1f3c9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,4 +5,4 @@ - Fork from [Hyde](https://github.com/spf13/hyde) - Adapt to [Nate Finch's blog](https://npf.io)'s colors and fonts. - Refactor `basedof.html` and corresponding pages `index.html`, `single.html`, `list.html` - - define blocks `content` and `footer` that will be fulfilled by each different type of layout. \ No newline at end of file + - define blocks `content` and `footer` that will be fulfilled by each different type of layout. diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/index.html b/layouts/index.html index f882cf1..793d38b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,16 +5,18 @@ {{ define "content" -}}
{{ range .Data.Pages -}} -
-

{{ .Title }}

- - {{ .Summary }} - {{ if .Truncated }} - - {{ end }} -
+ {{ if ne .Section "about" }} +
+

{{ .Title }}

+ + {{ .Summary }} + {{ if .Truncated }} + + {{ end }} +
+ {{ end }} {{- end }}
{{- end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7359db7..48a6804 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -17,8 +17,7 @@ - - + {{ if .Site.Params.highlightjs }} diff --git a/layouts/partials/list_content.html b/layouts/partials/list_content.html index f43c65d..79cf3bd 100644 --- a/layouts/partials/list_content.html +++ b/layouts/partials/list_content.html @@ -1,6 +1,6 @@

{{ .Title }}