Skip to content

Commit

Permalink
chore: Start using site.Params.facebook_admin instead of .Site.Social…
Browse files Browse the repository at this point in the history
….facebook_admin
  • Loading branch information
Filipe Carneiro committed Sep 13, 2024
1 parent 5216081 commit 5ea7b34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion layouts/partials/head/facebook-admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
https://developers.facebook.com/docs/plugins/comments/#moderation-setup-instructions
-->
*/}}
{{- with .Site.Social.facebook_admin }}
{{ $facebook_admin := or site.Params.facebook_admin .Site.Social.facebook_admin }}
{{- with $facebook_admin }}
<meta property="fb:admins" content="{{ . }}">
{{ end }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"hugo-installer": "^4.0.1"
},
"otherDependencies": {
"hugo": "0.129.0"
"hugo": "0.131.0"
}
}

0 comments on commit 5ea7b34

Please sign in to comment.