diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ae3c150..1e439fe 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,34 +2,36 @@
+ {{ partial "brand.html" . }} - {{ partial "content.header.html" . }} -
- {{ range .Data.Pages.GroupByDate "2006" }} -
- {{ .Key }} ({{ len .Pages }}) - {{ range .Pages.GroupByDate "January" }} -
    -
  • -
    - {{ .Key }} ({{ len .Pages }}) - {{ range .Pages }} -
      -
    • - {{ .Date.Format "Jan 2" }} · - {{.Title}} -
    • -
    - {{ end }} -
    -
  • -
+ +{{ partial "content.header.html" . }} + +
+{{ range .Data.Pages.GroupByDate "2006" }} +
    +
  • {{ .Key }} ({{ len .Pages }})
  • + {{ range .Pages.GroupByDate "January" }} +
      +
    • {{ .Key }} ({{ len .Pages }})
    • + {{ range .Pages }} +
        +
      • + {{ .Date.Format "Jan 2" }} · + {{.Title}} +
      • +
      {{ end }} -
+ + {{ end }} -
+ + {{ end }} + + {{ partial "footer.html" . }} +
-{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/index.html b/layouts/index.html index 1bded08..2de960a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,25 +1,26 @@ {{ define "main" }}
-
- {{ partial "brand.html" . }} - {{ range where .Site.RegularPages "Type" "post"}} - -

- {{ if .IsNode }} - {{ .Title}} - {{ else }} - {{ .Title }}{{ if .Draft }} :: Draft {{end}} - {{ end }} -

+
+ {{ partial "brand.html" . }} + {{ with .Content }} +
+ {{ . }} +
+ {{ end }} + {{ range where .Site.RegularPages "Type" "posts" }} +

+ {{ if .IsNode }} + {{ .Title}} + {{ else }} + {{ .Title }}{{ if .Draft }} :: Draft {{end}} + {{ end }} +

-

{{ truncate 120 .Summary }}

- {{/* {{ if .Truncated }} */}} -

Read On →

- {{/* {{ end }} */}} +

{{ truncate 140 .Summary }}

- {{ end }} - {{ partial "footer.html" . }} -
+ {{ end }} + {{ partial "footer.html" . }} +
-{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/partials/content.header.html b/layouts/partials/content.header.html index d47e048..f81fc9a 100644 --- a/layouts/partials/content.header.html +++ b/layouts/partials/content.header.html @@ -1,42 +1,44 @@
- -

- {{ if .IsNode }} - {{ .Title}} - {{ else }} - {{ .Title }}{{ if .Draft }} :: Draft {{end}} - {{ end }} -

- {{ if .IsPage }} - {{ if .Params.subtitle }} -

{{ .Params.subtitle }}

- {{ end }} - {{ if or (eq .Type "post") (.Params.meta) }} - - {{ if .Params.author }} -   -  {{ .Params.author }}
- {{ end }} - - - {{ if not .Params.hidedate }} - -  {{ .Date.Format "Jan 2, 2006" }} - {{end }} - - {{ if not .Params.hidereadtime }} -   -  {{ .ReadingTime }} min read - {{ end }} - - {{ if .Params.categories }} -
- - {{ range .Params.categories }} - {{ . }} - {{ end }} - {{ end }} -
- {{ end }} + +

+ {{ if .IsNode }} + {{ .Title }} + {{ else }} + {{ .Title }}{{ if .Draft }} :: Draft {{end}} {{ end }} -

\ No newline at end of file + + +{{ if .IsPage }} + {{ if .Params.subtitle }} +

{{ .Params.subtitle }}

+ {{ end }} + + {{ if or (eq .Type "post") (.Params.meta) }} + + {{ if .Params.author }} +   +  {{ .Params.author }}
+ {{ end }} + + {{ if not .Params.hidedate }} + +  {{ .Date.Format "Jan 2, 2006" }} + {{end }} + + {{ if not .Params.hidereadtime }} +   +  {{ .ReadingTime }} min read + {{ end }} + + {{ if .Params.categories }} +
+ + {{ range .Params.categories }} + {{ . }} + {{ end }} + {{ end }} +
+ {{ end }} +{{ end }} + + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index c779bc8..7c1c6d3 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,90 +1,90 @@