Skip to content

Commit

Permalink
Improve meta tags
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
  • Loading branch information
jviotti committed Oct 4, 2024
1 parent 0b3407f commit fc8946f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ title = 'Sourcemeta'
staticDir = [ './vendor/bootstrap-icons/font/fonts', './static' ]

[Params]
description = 'Sourcemeta'
description = 'We develop high-performance software foundations for IoT, Robotics, and APIs'
github = 'https://github.com/sourcemeta'
email = 'hello@sourcemeta.com'
5 changes: 5 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
<link rel="canonical" href="{{ .Site.BaseURL }}">
<meta name="description" content="{{ block "description" . }}{{ .Site.Params.Description }}{{ end }}">

<meta property="og:title" content="{{ block "title" . }}{{ .Site.Title }}{{ end }}">
<meta property="og:description" content="{{ block "description" . }}{{ .Site.Params.Description }}{{ end }}">
<meta property="og:url" content="{{ .Site.BaseURL }}">
<meta property="og:image" content="{{ .Site.BaseURL }}logo.svg">

{{ $style := resources.Get "main.scss" | toCSS (dict "outputStyle" "compressed") }}
<link rel="stylesheet" href="{{ $style.Permalink }}">

Expand Down

0 comments on commit fc8946f

Please sign in to comment.