changeset 160:6f7960fdca0e

_includes/head.html: Use a png instead of unsupported svg for og:image
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Fri, 07 Sep 2018 01:33:57 +0200
parents d8eb48d642d1
children 62beee286693
files _includes/head.html img/octave-logo.png
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/_includes/head.html	Thu Sep 06 20:15:57 2018 +0200
+++ b/_includes/head.html	Fri Sep 07 01:33:57 2018 +0200
@@ -7,7 +7,7 @@
   <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | lstrip | rstrip | truncate: 140 }}{% else %}{{ site.description | strip_html | lstrip | rstrip | truncate: 140 }}{% endif %}">
   <meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
   <meta property="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | lstrip | rstrip | truncate: 140 }}{% else %}{{ site.description | strip_html | lstrip | rstrip | truncate: 140 }}{% endif %}">
-  <meta property="og:image" content="https://www.gnu.org/software/octave/img/octave-logo.svg">
+  <meta property="og:image" content="{{ "/img/octave-logo.png" | absolute_url }}">
   <meta property="og:image:alt" content="GNU Octave">
   <meta property="og:type" content="website">
   <meta property="og:url" content="{{ page.url | absolute_url }}">
Binary file img/octave-logo.png has changed