Skip to content

Commit

Permalink
Forgot to properly re-use the config parameters. Fixed. Sorry for that
Browse files Browse the repository at this point in the history
Signed-off-by: 1bl4z3r <[email protected]>
  • Loading branch information
1bl4z3r committed Feb 24, 2025
1 parent 0354d44 commit 8e7eb9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ p.img-404 {
display: flex;
justify-content: space-between;
align-items: baseline;
padding: 8px 0;
padding: 10px 0;
}
}

Expand Down
10 changes: 5 additions & 5 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ <h2>{{- .Site.Params.pinned -}}</h2>
<span class="post-title">{{.Title}}</span>
<span class="post-day">{{ .Date.Format .Site.Params.dateformShort }}</span>
</a>
{{- if and .Page.Params.description .Site.Params.descriptionInPosts -}}
{{- if and .Page.Params.description (in .Site.Params.listLayout "description") -}}
<span class="post-description">{{ .Page.Params.description }}</span>
{{- end -}}
{{- if or (in .Site.Params.listLayout "tags") (in .Site.Params.listLayout "categories") -}}<div class="post-taxonomy">
{{- if and .Page.Params.tags .Site.Params.tagsInPosts -}}
{{- if and .Page.Params.tags (in .Site.Params.listLayout "tags") -}}
<span class="post-tags">
{{- range .Page.Params.tags -}}
<a href="{{- printf "/tags/%s" . | urlize -}}" class="tag">{{- . -}}</a>
{{- end -}}
</span>
{{- end -}}
{{- if and .Page.Params.categories .Site.Params.categoriesInPosts -}}
{{- if and .Page.Params.categories (in .Site.Params.listLayout "categories") -}}
<span class="post-categories">
{{- range .Page.Params.categories -}}
<a href="{{- printf "/categories/%s" . | urlize -}}" class="category">{{- . -}}</a>
Expand Down Expand Up @@ -93,14 +93,14 @@ <h2>{{- .Site.Params.pinned -}}</h2>
<span class="post-description">{{ .Page.Params.description }}</span>
{{- end -}}
{{- if or (in .Site.Params.listLayout "tags") (in .Site.Params.listLayout "categories") -}}<div class="post-taxonomy">
{{- if and .Page.Params.tags .Site.Params.tagsInPosts -}}
{{- if and .Page.Params.tags (in .Site.Params.listLayout "tags") -}}
<span class="post-tags">
{{- range .Page.Params.tags -}}
<a href="{{- printf "/tags/%s" . | urlize -}}" class="tag">{{- . -}}</a>
{{- end -}}
</span>
{{- end -}}
{{- if and .Page.Params.categories .Site.Params.categoriesInPosts -}}
{{- if and .Page.Params.categories (in .Site.Params.listLayout "categories") -}}
<span class="post-categories">
{{- range .Page.Params.categories -}}
<a href="{{- printf "/categories/%s" . | urlize -}}" class="category">{{- . -}}</a>
Expand Down

0 comments on commit 8e7eb9a

Please sign in to comment.