fix: metas and opengraph
All checks were successful
Deploy workflow / deploy (push) Successful in 35s
All checks were successful
Deploy workflow / deploy (push) Successful in 35s
This commit is contained in:
parent
ae2accd6db
commit
ac68014559
9 changed files with 15 additions and 28 deletions
|
|
@ -12,7 +12,7 @@
|
|||
{{ range .Paginator.Pages }}
|
||||
<li class="news-item">
|
||||
<a href="{{ .RelPermalink }}" class="news-item__image">
|
||||
{{ $featuredImage := (resources.Get (printf "%s" ("cover/cover.jpg" | safeURL))) }}
|
||||
{{ $featuredImage := (resources.Get (.Site.Params.defaultCoverImage.src | safeURL)) }}
|
||||
|
||||
{{ if .Params.featured_image }}
|
||||
{{ $featuredImage = .Resources.GetMatch (.Params.featured_image.src | safeURL) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue