fix: metas and opengraph
This commit is contained in:
parent
53c41662bd
commit
4ac2ea869a
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