[tracker-website] prepend site.url



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]