Merge remote-tracking branch 'origin/main' into style/herman

This commit is contained in:
Caio Lente 2023-10-19 00:31:02 -03:00
commit 7bee3815bd
No known key found for this signature in database
GPG Key ID: E66D381776EFC03A
4 changed files with 5 additions and 5 deletions

View File

@ -187,7 +187,7 @@ enableRobotsTXT = true
# to your site. Ignored if `generateSocialCard = true`. For more information
# about previews, see https://gohugo.io/templates/internal#twitter-cards and
# https://gohugo.io/templates/internal#open-graph
images = ["/hugo-bearcub/images/share.webp"]
images = ["images/share.webp"]
# This title is used as the site_name on the Hugo's internal opengraph
# structured data template

View File

@ -53,7 +53,7 @@ enableRobotsTXT = true
# to your site. Ignored if `generateSocialCard = true`. For more information
# about previews, see https://gohugo.io/templates/internal#twitter-cards and
# https://gohugo.io/templates/internal#open-graph
images = ["/hugo-bearcub/images/share.webp"]
images = ["images/share.webp"]
# This title is used as the site_name on the Hugo's internal opengraph
# structured data template

View File

@ -1,2 +1,2 @@
{{ with .Site.Params.favicon }}
<link rel="shortcut icon" href="{{ . }}" />{{ end }}
<link rel="shortcut icon" href="{{ absURL . }}" />{{ end }}

View File

@ -1,7 +1,7 @@
<!-- Dynamic social card generation -->
{{ $font := resources.GetRemote "https://github.com/google/fonts/raw/main/ofl/firamono/FiraMono-Bold.ttf" }}
{{ $fg := resources.Get "/images/social_card_fg.png"}}
{{ $bg := resources.Get "/images/social_card_bg.png"}}
{{ $fg := resources.Get "images/social_card_fg.png"}}
{{ $bg := resources.Get "images/social_card_bg.png"}}
{{ $fg = $fg.Filter (images.Text .Title (dict
"font" $font