|
|
@@ -31,15 +31,24 @@ lazy_static! { |
|
|
|
pub static ref ZOLA_TERA: Tera = { |
|
|
|
let mut tera = Tera::default(); |
|
|
|
tera.add_raw_templates(vec![ |
|
|
|
("404.html", include_str!("builtins/404.html")), |
|
|
|
("rss.xml", include_str!("builtins/rss.xml")), |
|
|
|
("sitemap.xml", include_str!("builtins/sitemap.xml")), |
|
|
|
("robots.txt", include_str!("builtins/robots.txt")), |
|
|
|
("__zola_builtins/404.html", include_str!("builtins/404.html")), |
|
|
|
("__zola_builtins/rss.xml", include_str!("builtins/rss.xml")), |
|
|
|
("__zola_builtins/sitemap.xml", include_str!("builtins/sitemap.xml")), |
|
|
|
("__zola_builtins/robots.txt", include_str!("builtins/robots.txt")), |
|
|
|
("anchor-link.html", include_str!("builtins/anchor-link.html")), |
|
|
|
("shortcodes/youtube.html", include_str!("builtins/shortcodes/youtube.html")), |
|
|
|
("shortcodes/vimeo.html", include_str!("builtins/shortcodes/vimeo.html")), |
|
|
|
("shortcodes/gist.html", include_str!("builtins/shortcodes/gist.html")), |
|
|
|
("shortcodes/streamable.html", include_str!("builtins/shortcodes/streamable.html")), |
|
|
|
( |
|
|
|
"__zola_builtins/shortcodes/youtube.html", |
|
|
|
include_str!("builtins/shortcodes/youtube.html"), |
|
|
|
), |
|
|
|
( |
|
|
|
"__zola_builtins/shortcodes/vimeo.html", |
|
|
|
include_str!("builtins/shortcodes/vimeo.html"), |
|
|
|
), |
|
|
|
("__zola_builtins/shortcodes/gist.html", include_str!("builtins/shortcodes/gist.html")), |
|
|
|
( |
|
|
|
"__zola_builtins/shortcodes/streamable.html", |
|
|
|
include_str!("builtins/shortcodes/streamable.html"), |
|
|
|
), |
|
|
|
("internal/alias.html", include_str!("builtins/internal/alias.html")), |
|
|
|
]) |
|
|
|
.unwrap(); |
|
|
|