Skip to content

Commit 69e37ad

Browse files
Use last version of Font Awesome (4.5.0)
All the references to Font Awesome are now pointing to the 4.5.0 version. The URL in `erb/html5/document.html.erb` is now in https (instead of http)
1 parent d41d7ee commit 69e37ad

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

erb/html5/document.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ elsif attr? :stylesheet
2828
end
2929
if attr? :icons, 'font'
3030
if !(attr 'iconfont-remote', '').nil? %>
31-
<link rel="stylesheet" href="<%= attr 'iconfont-cdn', 'http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.2.1/css/font-awesome.min.css' %>"><%
31+
<link rel="stylesheet" href="<%= attr 'iconfont-cdn', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css' %>"><%
3232
else %>
3333
<link rel="stylesheet" href="<%= normalize_web_path(%(#{attr 'iconfont-name', 'font-awesome'}.css), (attr :stylesdir, '')) %>"><%
3434
end

haml/html5/document.html.haml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
%style=read_asset(normalize_system_path((attr :stylesheet), (attr :stylesdir, '')), true)
2323
- if attr? :icons, 'font'
2424
- if !(attr 'iconfont-remote', '').nil?
25-
%link(rel='stylesheet'){:href=>(attr 'iconfont-cdn', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css')}
25+
%link(rel='stylesheet'){:href=>(attr 'iconfont-cdn', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css')}
2626
- else
2727
%link(rel='stylesheet'){:href=>normalize_web_path("#{attr 'iconfont-name', 'font-awesome'}.css", (attr :stylesdir, ''))}
2828
- case attr 'source-highlighter'

slim/dzslides/document.html.slim

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ html lang=(attr :lang, 'en' unless attr? :nolang) class="aspect-#{attr 'dzslides
1414
link rel='stylesheet' href="http://fonts.googleapis.com/css?#{attr 'dzslides-fonts', 'family=Oswald'}"
1515
- if attr? :icons, 'font'
1616
- if (attr 'iconfont-remote', '')
17-
link rel='stylesheet' href=(attr 'iconfont-cdn', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css')
17+
link rel='stylesheet' href=(attr 'iconfont-cdn', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css')
1818
- else
1919
link rel='stylesheet' href=normalize_web_path("#{attr 'iconfont-name', 'font-awesome'}.css", (attr :stylesdir, ''))
2020
- if attr? 'source-highlighter'

slim/html5/helpers.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
module Slim::Helpers
1616

1717
# URIs of external assets.
18-
FONT_AWESOME_URI = '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css'
18+
FONT_AWESOME_URI = '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css'
1919
HIGHLIGHTJS_BASE_URI = '//cdnjs.cloudflare.com/ajax/libs/highlight.js/7.4'
2020
MATHJAX_JS_URI = '//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_HTMLorMML'
2121
PRETTIFY_BASE_URI = '//cdnjs.cloudflare.com/ajax/libs/prettify/r298'

0 commit comments

Comments
 (0)