[Xfce4-commits] [www/blog.xfce.org] 01/01: Update CSS and favicon to point to cdn.xfce.org

noreply at xfce.org noreply at xfce.org
Tue May 21 01:06:11 CEST 2019


This is an automated email from the git hooks/post-receive script.

k   n   o   m   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository www/blog.xfce.org.

commit 90a922c0feb4931cb3329a21043814170e534f18
Author: Pasi Lallinaho <pasi at shimmerproject.org>
Date:   Tue May 21 02:05:45 2019 +0300

    Update CSS and favicon to point to cdn.xfce.org
---
 wp-content/themes/xfce-2017/functions.php | 2 +-
 wp-content/themes/xfce-2017/index.php     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/wp-content/themes/xfce-2017/functions.php b/wp-content/themes/xfce-2017/functions.php
index ccf2097..ac9e5a5 100644
--- a/wp-content/themes/xfce-2017/functions.php
+++ b/wp-content/themes/xfce-2017/functions.php
@@ -51,7 +51,7 @@ if( function_exists( 'register_nav_menu' ) ) {
 add_action( 'wp_enqueue_scripts', 'xfce_styles' );
 
 function xfce_styles( ) {
-	wp_enqueue_style( 'xfce-base', 'https://www.xfce.org/style/css.php?site=blog' );
+	wp_enqueue_style( 'xfce-base', '//cdn.xfce.org/css.php?site=blog' );
 }
 
 ?>
diff --git a/wp-content/themes/xfce-2017/index.php b/wp-content/themes/xfce-2017/index.php
index a0e0df5..0165a2f 100644
--- a/wp-content/themes/xfce-2017/index.php
+++ b/wp-content/themes/xfce-2017/index.php
@@ -8,7 +8,7 @@
 	<meta name="copyright" content="Copyright 2003–<?php echo date( 'Y' ); ?> Xfce Development Team" />
 	<meta name="description" content="<?php bloginfo( 'name' ); ?><?php if( strlen( get_bloginfo( 'description' ) ) > 0 ) { ?> – <?php bloginfo( 'description' ); } ?>" />
 
-	<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri( ); ?>/images/favicon.ico">
+	<link rel="shortcut icon" href="//cdn.xfce.org/style/favicon.ico">
 	<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />
 
 	<?php wp_head( ); ?>
@@ -62,7 +62,7 @@
 	</div>
 
 	<div id="footer" class="group">
-		<p>Copyright 2003-2017 <a href="https://xfce.org/about/credits">Xfce Development Team</a>.</p>
+		<p>Copyright 2003–2017 <a href="https://xfce.org/about/credits">Xfce Development Team</a>.</p>
 		<?php wp_footer( ); ?>
 	</div>
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list