Jeremy Newman : moving some of the theme images over to the CDN

Jeremy Newman jnewman at winehq.org
Fri Jan 27 12:55:07 CST 2017


Module: website
Branch: master
Commit: 8bec4b5030c7a9ca090013e4ca71fcdef61ade39
URL:    http://source.winehq.org/git/website.git/?a=commit;h=8bec4b5030c7a9ca090013e4ca71fcdef61ade39

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Fri Jan 27 12:54:48 2017 -0600

moving some of the theme images over to the CDN

---

 css/styles.css                              | 2 +-
 templates/en/global/layout/content.template | 8 ++++----
 templates/fr/global/layout/content.template | 8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/css/styles.css b/css/styles.css
index 87017f9..ae2481b 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -27,7 +27,7 @@ PRE {
 BODY                {
                      background-color: #000000;
                      color: #000000;
-                     background-image: url('../images/bg.jpg');
+                     background-image: url('https://dl.winehq.org/share/images/bg.jpg');
                      background-repeat: no-repeat;
                      background-attachment: fixed;
                     }
diff --git a/templates/en/global/layout/content.template b/templates/en/global/layout/content.template
index 226edc8..dc54550 100644
--- a/templates/en/global/layout/content.template
+++ b/templates/en/global/layout/content.template
@@ -29,7 +29,7 @@
 
 <!--EXEC:[google_analytics]-->
 
-    <link rel="shortcut icon" type="image/png" href="{$root}/images/winehq_logo_16.png">
+    <link rel="shortcut icon" type="image/png" href="https://dl.winehq.org/share/images/winehq_logo_16.png">
     {$rss_link}
 </head>
 <body class="page-{$page_name}{$page_body_class}">
@@ -46,8 +46,8 @@
 </div>
 <div class="clear"></div>
 
-<div id="whq-logo-glass"><a href="{$root}/"><img src="{$root}/images/winehq_logo_glass.png" alt=""></a></div>
-<div id="whq-logo-text"><a href="{$root}/"><img src="{$root}/images/winehq_logo_text.png" alt="WineHQ" title="WineHQ"></a></div>
+<div id="whq-logo-glass"><a href="{$root}/"><img src="https://dl.winehq.org/share/images/winehq_logo_glass.png" alt=""></a></div>
+<div id="whq-logo-text"><a href="{$root}/"><img src="https://dl.winehq.org/share/images/winehq_logo_text.png" alt="WineHQ" title="WineHQ"></a></div>
 
 <div id="whq-search-box">
     <form action="{$root}/search" id="cse-search-box">
@@ -70,7 +70,7 @@
         <div class="col-xs-6 text-right">
             <a href="https://wiki.winehq.org/WineHQ_Wiki:Privacy_policy">Privacy Policy</a><br><br>
             {trans($hosted_by)}
-            <a href="https://www.codeweavers.com/"><img src="{$root}/images/cw_logo_sm.png" alt="CodeWeavers"
+            <a href="https://www.codeweavers.com/"><img src="https://dl.winehq.org/share/images/cw_logo_sm.png" alt="CodeWeavers"
             title="{trans($hosted_by_alt)}"></a>
         </div>
     </div>
diff --git a/templates/fr/global/layout/content.template b/templates/fr/global/layout/content.template
index fa3ccfd..969dcb6 100644
--- a/templates/fr/global/layout/content.template
+++ b/templates/fr/global/layout/content.template
@@ -29,7 +29,7 @@
 
 <!--EXEC:[google_analytics]-->
 
-    <link rel="shortcut icon" type="image/png" href="{$root}/images/winehq_logo_16.png">
+    <link rel="shortcut icon" type="image/png" href="https://dl.winehq.org/share/images/winehq_logo_16.png">
     {$rss_link}
 </head>
 <body class="page-{$page_name}{$page_body_class}">
@@ -46,8 +46,8 @@
 </div>
 <div class="clear"></div>
 
-<div id="whq-logo-glass"><a href="{$root}/"><img src="{$root}/images/winehq_logo_glass.png" alt=""></a></div>
-<div id="whq-logo-text"><a href="{$root}/"><img src="{$root}/images/winehq_logo_text.png" alt="WineHQ" title="WineHQ"></a></div>
+<div id="whq-logo-glass"><a href="{$root}/"><img src="https://dl.winehq.org/share/images/winehq_logo_glass.png" alt=""></a></div>
+<div id="whq-logo-text"><a href="{$root}/"><img src="https://dl.winehq.org/share/images/winehq_logo_text.png" alt="WineHQ" title="WineHQ"></a></div>
 
 <div id="whq-search-box">
     <form action="{$root}/search" id="cse-search-box">
@@ -69,7 +69,7 @@
         </div>
         <div class="col-xs-6 text-right">
             {trans($hosted_by)}
-            <a href="https://www.codeweavers.com/"><img src="{$root}/images/cw_logo_sm.png" alt="CodeWeavers"
+            <a href="https://www.codeweavers.com/"><img src="https://dl.winehq.org/share/images/cw_logo_sm.png" alt="CodeWeavers"
             title="{trans($hosted_by_alt)}"></a>
         </div>
     </div>




More information about the wine-cvs mailing list