diff --git a/archetypes/default.md b/archetypes/default.md index ac36e06..14cfada 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,2 +1,5 @@ -+++ -+++ +--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +date: {{ .Date }} +description: "" +--- diff --git a/archetypes/posts.md b/archetypes/posts.md index ea07ee8..83c5d90 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -1,7 +1,7 @@ --- title: "{{ replace .TranslationBaseName "-" " " | title }}" date: {{ .Date }} -description: "" +description: "" categories: [] featuredImage: "" draft: true diff --git a/layouts/_default/li.html b/layouts/_default/li.html index 1a0e1b0..36492e0 100644 --- a/layouts/_default/li.html +++ b/layouts/_default/li.html @@ -9,9 +9,8 @@

{{ .Title }}

{{ .Description }}

-

Posted

-

|

-

#{{ .Params.categories }}

+

Posted

+

{{ range .Params.categories }}#{{ . }} {{ end }}

\ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e2e1017..bee1cce 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,10 +2,11 @@ {{ partial "head.html" . }} + {{ partial "nav-bar.html" . }}
-

Code It, Break It, Quick, Rewrite It

-

Technologic

+

{{ .Description }}

+

{{ .Title }}

{{ range .Paginator.Pages }} {{ .Render "li" }} diff --git a/layouts/_default/single-li.html b/layouts/_default/single-li.html index 7288dda..a8c9b44 100644 --- a/layouts/_default/single-li.html +++ b/layouts/_default/single-li.html @@ -10,9 +10,8 @@

{{ .Title }}

{{ .Description }}

-

Posted

-

|

-

#{{ .Params.categories }}

+

Posted

+

{{ range .Params.categories }}#{{ . }} {{ end }}

\ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a170b81..8eff257 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -6,7 +6,7 @@
-

{{ .Title }}

+

{{ .Title }}

{{ if isset .Params "featuredimage" }} diff --git a/layouts/partials/nav-bar.html b/layouts/partials/nav-bar.html index 38a8012..b95004a 100644 --- a/layouts/partials/nav-bar.html +++ b/layouts/partials/nav-bar.html @@ -1,3 +1,13 @@ -