Skip to content

Commit d7759fb

Browse files
committed
Remove underscore from FontAwesome directory
1 parent f84e670 commit d7759fb

10 files changed

+15
-15
lines changed

src/renderer/html_handlebars/hbs_renderer.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -155,37 +155,37 @@ impl HtmlHandlebars {
155155
write_file(destination, "clipboard.min.js", &theme.clipboard_js)?;
156156
write_file(
157157
destination,
158-
"_FontAwesome/css/font-awesome.css",
158+
"FontAwesome/css/font-awesome.css",
159159
theme::FONT_AWESOME,
160160
)?;
161161
write_file(
162162
destination,
163-
"_FontAwesome/fonts/fontawesome-webfont.eot",
163+
"FontAwesome/fonts/fontawesome-webfont.eot",
164164
theme::FONT_AWESOME_EOT,
165165
)?;
166166
write_file(
167167
destination,
168-
"_FontAwesome/fonts/fontawesome-webfont.svg",
168+
"FontAwesome/fonts/fontawesome-webfont.svg",
169169
theme::FONT_AWESOME_SVG,
170170
)?;
171171
write_file(
172172
destination,
173-
"_FontAwesome/fonts/fontawesome-webfont.ttf",
173+
"FontAwesome/fonts/fontawesome-webfont.ttf",
174174
theme::FONT_AWESOME_TTF,
175175
)?;
176176
write_file(
177177
destination,
178-
"_FontAwesome/fonts/fontawesome-webfont.woff",
178+
"FontAwesome/fonts/fontawesome-webfont.woff",
179179
theme::FONT_AWESOME_WOFF,
180180
)?;
181181
write_file(
182182
destination,
183-
"_FontAwesome/fonts/fontawesome-webfont.woff2",
183+
"FontAwesome/fonts/fontawesome-webfont.woff2",
184184
theme::FONT_AWESOME_WOFF2,
185185
)?;
186186
write_file(
187187
destination,
188-
"_FontAwesome/fonts/FontAwesome.ttf",
188+
"FontAwesome/fonts/FontAwesome.ttf",
189189
theme::FONT_AWESOME_TTF,
190190
)?;
191191

src/theme/index.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<link rel="shortcut icon" href="{{ favicon }}">
1919

2020
<!-- Font Awesome -->
21-
<link rel="stylesheet" href="_FontAwesome/css/font-awesome.css">
21+
<link rel="stylesheet" href="FontAwesome/css/font-awesome.css">
2222

2323
<link rel="stylesheet" href="highlight.css">
2424
<link rel="stylesheet" href="tomorrow-night.css">

src/theme/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ pub static TOMORROW_NIGHT_CSS: &'static [u8] = include_bytes!("tomorrow-night.cs
2121
pub static HIGHLIGHT_CSS: &'static [u8] = include_bytes!("highlight.css");
2222
pub static AYU_HIGHLIGHT_CSS: &'static [u8] = include_bytes!("ayu-highlight.css");
2323
pub static CLIPBOARD_JS: &'static [u8] = include_bytes!("clipboard.min.js");
24-
pub static FONT_AWESOME: &'static [u8] = include_bytes!("_FontAwesome/css/font-awesome.min.css");
24+
pub static FONT_AWESOME: &'static [u8] = include_bytes!("FontAwesome/css/font-awesome.min.css");
2525
pub static FONT_AWESOME_EOT: &'static [u8] =
26-
include_bytes!("_FontAwesome/fonts/fontawesome-webfont.eot");
26+
include_bytes!("FontAwesome/fonts/fontawesome-webfont.eot");
2727
pub static FONT_AWESOME_SVG: &'static [u8] =
28-
include_bytes!("_FontAwesome/fonts/fontawesome-webfont.svg");
28+
include_bytes!("FontAwesome/fonts/fontawesome-webfont.svg");
2929
pub static FONT_AWESOME_TTF: &'static [u8] =
30-
include_bytes!("_FontAwesome/fonts/fontawesome-webfont.ttf");
30+
include_bytes!("FontAwesome/fonts/fontawesome-webfont.ttf");
3131
pub static FONT_AWESOME_WOFF: &'static [u8] =
32-
include_bytes!("_FontAwesome/fonts/fontawesome-webfont.woff");
32+
include_bytes!("FontAwesome/fonts/fontawesome-webfont.woff");
3333
pub static FONT_AWESOME_WOFF2: &'static [u8] =
34-
include_bytes!("_FontAwesome/fonts/fontawesome-webfont.woff2");
35-
pub static FONT_AWESOME_OTF: &'static [u8] = include_bytes!("_FontAwesome/fonts/FontAwesome.otf");
34+
include_bytes!("FontAwesome/fonts/fontawesome-webfont.woff2");
35+
pub static FONT_AWESOME_OTF: &'static [u8] = include_bytes!("FontAwesome/fonts/FontAwesome.otf");
3636

3737

3838
/// The `Theme` struct should be used instead of the static variables because

0 commit comments

Comments
 (0)