aboutsummaryrefslogtreecommitdiff
path: root/src/tmpl/nag.rs
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-09-20 21:05:44 -0400
committerXe Iaso <me@christine.website>2022-09-20 21:05:44 -0400
commit67005bc59dd918eadcbd9c7c9285aed0c3422292 (patch)
treede54bbad6aa651d4e56517af56a6773f02766fcf /src/tmpl/nag.rs
parent839c44e535d03f8ae747139acd27109e897c76e4 (diff)
downloadxesite-67005bc59dd918eadcbd9c7c9285aed0c3422292.tar.xz
xesite-67005bc59dd918eadcbd9c7c9285aed0c3422292.zip
move markdown and templates into a dedicated crate
This does not move the ructe templates around, only the newer Maud ones. The only template I can't move easily is the salary history one, but I should get rid of that anyways.
Diffstat (limited to 'src/tmpl/nag.rs')
-rw-r--r--src/tmpl/nag.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpl/nag.rs b/src/tmpl/nag.rs
index a41447b..4ba165e 100644
--- a/src/tmpl/nag.rs
+++ b/src/tmpl/nag.rs
@@ -1,9 +1,9 @@
-use super::xeblog_conv;
use crate::post::Post;
use chrono::prelude::*;
use lazy_static::lazy_static;
use maud::{html, Markup};
use regex::Regex;
+use xesite_templates::conv as xeblog_conv;
lazy_static! {
static ref HN: Regex = Regex::new(r#"^https?://news.ycombinator.com"#).unwrap();