Compare commits

...

2 Commits

Author SHA1 Message Date
289eb9eacf Add MetaData Params 2022-03-25 13:18:27 +01:00
376b598c21 Fix titles 2022-03-25 13:18:19 +01:00
3 changed files with 2 additions and 5 deletions

View File

@@ -8,7 +8,7 @@
} }
</style> </style>
{{ $title := .Title | default .Site.Title }} {{ $title := $.Param "MetaTitle" | default .Title | default .Site.Title }}
{{ $description := .Description | default .Site.Params.Description }} {{ $description := .Description | default .Site.Params.Description }}
{{ $image := .Params.image | default .Site.Params.AvatarURL }} {{ $image := .Params.image | default .Site.Params.AvatarURL }}
{{ $siteKeywords := .Site.Params.MetaKeywords | default (slice) }} {{ $siteKeywords := .Site.Params.MetaKeywords | default (slice) }}

View File

@@ -1,6 +1,6 @@
<div class="container list-posts"> <div class="container list-posts">
<h1 class="list-title">{{ .Name }}</h2> <h1 class="list-title">{{ .Name }}</h1>
{{ range (where .Pages "Params.type" "post" ).GroupByDate "2006" }} {{ range (where .Pages "Params.type" "post" ).GroupByDate "2006" }}

View File

@@ -391,9 +391,6 @@ table td {
} }
/* LIST */ /* LIST */
.list-posts .list-title {
text-align: center;
}
.list-posts .posts-year { .list-posts .posts-year {
margin-top: 70px; margin-top: 70px;
} }