[tracker-website] prepend site.url
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-website] prepend site.url
- Date: Tue, 2 Aug 2022 09:24:33 +0000 (UTC)
commit 0962ecf9410c7ea6f9cbc04ea3a98232abb46a5e
Author: Jakub Steiner <jimmac gmail com>
Date: Tue Aug 2 11:24:06 2022 +0200
prepend site.url
- images for cards need absolute urls
_includes/head.html | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/_includes/head.html b/_includes/head.html
index 03d4aa2..53ea6a4 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -11,12 +11,12 @@
<link rel="stylesheet" href="{{ "/style.css" | prepend: site.baseurl }}" />
- <link rel="icon" type="image/png" href="{{ "/favicon.png" | prepend: site.baseurl }}" />
- <link rel="icon" sizes="144x144" href="{{ "/apple-touch-icon.png" | prepend: site.baseurl }}" />
+ <link rel="icon" type="image/png" href="{{ "/favicon.png" | prepend: site.baseurl | prepend: site.url }}"
/>
+ <link rel="icon" sizes="144x144" href="{{ "/apple-touch-icon.png" | prepend: site.baseurl | prepend:
site.url }}" />
<!-- Twitter -->
<meta property="twitter:title" content="{{site.title}}">
- <meta property="twitter:image" content="{{ "/assets/card.png" | prepend: site.baseurl }}" />
+ <meta property="twitter:image" content="{{ "/assets/card.png" | prepend: site.baseurl | prepend: site.url
}}" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:description" content="{{site.description}}" />
@@ -24,5 +24,5 @@
<meta property="og:title" content="{{ site.title }}" />
<meta property="og:url" content="{{ site.url }}" />
<meta property="og:description" content="{{ site.description }}" />
- <meta property="og:image" content="{{ "/assets/card.png" | prepend: site.baseurl }}" />
+ <meta property="og:image" content="{{ "/assets/card.png" | prepend: site.baseurl | prepend: site.url }}" />
</head>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]