File: 0002-Remove-external-reference-to-s3.amazonaws.com.patch

package info (click to toggle)
alabaster 0.7.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-proposed-updates, experimental, sid, trixie
  • size: 220 kB
  • sloc: python: 134; makefile: 3
file content (22 lines) | stat: -rw-r--r-- 1,142 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: "Jeremy T. Bouse" <jbouse@debian.org>
Date: Sun, 13 Jun 2021 15:08:28 -0400
Subject: Remove external reference to s3.amazonaws.com

Forwarded: not-needed
---
 alabaster/layout.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alabaster/layout.html b/alabaster/layout.html
index 0885d03..584f51e 100644
--- a/alabaster/layout.html
+++ b/alabaster/layout.html
@@ -101,7 +101,7 @@
 
     {% if theme_github_banner|lower != 'false' %}
     <a href="https://github.com/{{ theme_github_user }}/{{ theme_github_repo }}" class="github">
-        <img style="position: absolute; top: 0; right: 0; border: 0;" src="{{ pathto('_static/' ~ theme_github_banner, 1) if theme_github_banner|lower != 'true' else 'https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png' }}" alt="Fork me on GitHub"  class="github"/>
+        <img style="position: absolute; top: 0; right: 0; border: 0;" src="{{ pathto('_static/' ~ theme_github_banner, 1) if theme_github_banner|lower != 'true' else pathto('_static/forkme_right_darkblue_121621.png', 1) }}" alt="Fork me on GitHub"  class="github"/>
     </a>
     {% endif %}