factor out simple templates into a separate SimpleTemplateDir
there's no need to bloat TreehouseDir with that logic
This commit is contained in:
parent
b792688776
commit
550c062327
7 changed files with 211 additions and 156 deletions
|
@ -2,6 +2,7 @@ use core::fmt;
|
|||
|
||||
use super::{Dir, Query, VPath};
|
||||
|
||||
/// This Dir exists to serve as a compatibility layer for very old links that end with .html.
|
||||
pub struct HtmlCanonicalize<T> {
|
||||
inner: T,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue