Skip to content

Commit

Permalink
fix missing SEO image
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakrecoer committed May 7, 2024
1 parent ba726a5 commit 55c6b4e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ enableRobotsTXT = "false"
google_analytics_id = ""
logo = "assets/img/dowse-logo.svg"
icon = "assets/img/dyne-icon.svg"
footerIcon = "/ssets/img/dyne-icon.svg"
footerIcon = "assets/img/dyne-icon.svg"
email = "[email protected]"
download = "download"
documentation = "https://github.com/dyne/dowse/wiki"
Expand All @@ -35,7 +35,7 @@ enableRobotsTXT = "false"

[params.homepage_meta_tags]
meta_og_type = "website"
meta_og_image = "images/.jpeg"
meta_og_image = "images/dowse.png"
meta_twitter_site = "@dyneorg"
meta_twitter_creator = "@dyneorg"

Expand Down
Binary file added docs/static/images/dowse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions docs/themes/dyne-soft/layouts/partials/head/seo.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@
<meta property="og:site_name" content="{{ .Site.Title }}" />
<meta property="og:type" content="webpage" />
<meta property="article:published_time" content="{{ .Lastmod }}" />
<meta property="og:image" content="{{ .Site.Params.homepage_meta_tags.meta_og_image }}" />
<meta property="og:image" content="{{ .Site.Params.homepage_meta_tags.meta_og_image | absURL }}" />

<!-- Twitter Card -->

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{{ $title }}" />
<meta name="twitter:description" content="{{ $description }}" />
<meta name="twitter:image" content="{{ .Site.BaseURL }}{{ .Site.Params.homepage_meta_tags.meta_og_image }}" />
<meta name="twitter:image" content="{{ .Site.Params.homepage_meta_tags.meta_og_image | absURL }}" />

<!-- Linked Data JSON -->

Expand All @@ -66,7 +66,7 @@
"@type": "Organization",
"name": "{{ .Site.Title }}",
"url": "{{ .Site.BaseURL }}",
"sameAs": [
"sameAs": [
{{ range $index, $e := .Site.Data.social }}{{ if $index }}, {{ end }}{{ .URL }}{{ end }}
],
"logo": "{{ .Site.BaseURL }}siteicon.png",
Expand All @@ -85,4 +85,4 @@


<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}feed.xml" title="{{ .Site.Title }}" />
<!-- END seo.html -->
<!-- END seo.html -->

0 comments on commit 55c6b4e

Please sign in to comment.