Skip to content

Commit e74b4b0

Browse files
Move template files into front-end/templates folder
1 parent 4946c78 commit e74b4b0

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/theme/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ use std::path::{Path, PathBuf};
1313

1414
use crate::errors::*;
1515
use log::warn;
16-
pub static INDEX: &[u8] = include_bytes!("index.hbs");
17-
pub static HEAD: &[u8] = include_bytes!("head.hbs");
18-
pub static REDIRECT: &[u8] = include_bytes!("redirect.hbs");
19-
pub static HEADER: &[u8] = include_bytes!("header.hbs");
20-
pub static TOC_JS: &[u8] = include_bytes!("toc.js.hbs");
21-
pub static TOC_HTML: &[u8] = include_bytes!("toc.html.hbs");
16+
pub static INDEX: &[u8] = include_bytes!("../front-end/templates/index.hbs");
17+
pub static HEAD: &[u8] = include_bytes!("../front-end/templates/head.hbs");
18+
pub static REDIRECT: &[u8] = include_bytes!("../front-end/templates/redirect.hbs");
19+
pub static HEADER: &[u8] = include_bytes!("../front-end/templates/header.hbs");
20+
pub static TOC_JS: &[u8] = include_bytes!("../front-end/templates/toc.js.hbs");
21+
pub static TOC_HTML: &[u8] = include_bytes!("../front-end/templates/toc.html.hbs");
2222
pub static CHROME_CSS: &[u8] = include_bytes!("css/chrome.css");
2323
pub static GENERAL_CSS: &[u8] = include_bytes!("css/general.css");
2424
pub static PRINT_CSS: &[u8] = include_bytes!("css/print.css");

0 commit comments

Comments
 (0)