[www-doc] [Git][VideoLAN.org/websites][master] 2 commits: fix: don't use local Raleway fonts
Jean-Baptiste Kempf
gitlab at videolan.org
Mon May 28 16:00:16 CEST 2018
Jean-Baptiste Kempf pushed to branch master at VideoLAN organization / websites
Commits:
2f5d582e by David Loiret at 2018-05-28T16:00:05+02:00
fix: don't use local Raleway fonts
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
- - - - -
c8ae2fb2 by David Loiret at 2018-05-28T16:00:05+02:00
Use local jQuery
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
- - - - -
3 changed files:
- www.videolan.org/include/header.php
- www.videolan.org/js/jquery.min.js
- www.videolan.org/style/style.scss
Changes:
=====================================
www.videolan.org/include/header.php
=====================================
--- a/www.videolan.org/include/header.php
+++ b/www.videolan.org/include/header.php
@@ -224,7 +224,7 @@ function start_head( $title,
<?php /* jQuery */ ?>
<?php /* Get the one in the Google CDN to get cached */ ?>
- <script src='//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js' type='text/javascript'></script>
+ <script src="<?= isDeveloper() ? '/js/jquery.min.js': '//images.videolan.org/js/jquery.min.js' ?>" type='text/javascript'></script>
<script async="async" src="<?= isDeveloper() ? '/js/bootstrap.min.js': '//images.videolan.org/js/bootstrap.min.js' ?>" type="text/javascript"></script>
<?php if( isset($additional_js) ) {
foreach($additional_js as $js) {
=====================================
www.videolan.org/js/jquery.min.js
=====================================
The diff for this file was not included because it is too large.
=====================================
www.videolan.org/style/style.scss
=====================================
--- a/www.videolan.org/style/style.scss
+++ b/www.videolan.org/style/style.scss
@@ -62,8 +62,7 @@ $font-path-raleway: "/style/fonts/Raleway";
font-family: "Raleway";
font-style: normal;
font-weight: 100;
- src: local("Raleway Thin"), local("Raleway-Thin"),
- url('#{$font-path-raleway}/Raleway-Thin.eot'),
+ src: url('#{$font-path-raleway}/Raleway-Thin.eot'),
url('#{$font-path-raleway}/Raleway-Thin.eot?#iefix') format('embedded-opentype'),
url('#{$font-path-raleway}/Raleway-Thin.woff2') format('woff2'),
url('#{$font-path-raleway}/Raleway-Thin.woff') format('woff'),
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/compare/f75e20475951e0d1252709c2c4db6f4b7e87dd34...c8ae2fb215de2c09fadf23c84b9a4a2b74fb424e
---
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/compare/f75e20475951e0d1252709c2c4db6f4b7e87dd34...c8ae2fb215de2c09fadf23c84b9a4a2b74fb424e
You're receiving this email because of your account on code.videolan.org.
More information about the www-doc
mailing list