diff options
| author | Fuwn <[email protected]> | 2022-06-12 02:34:42 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-06-12 02:34:42 -0700 |
| commit | 74eb9b8e9349a5e60c86a66a04e4133f30d58139 (patch) | |
| tree | 7d05c288397a07581943a5a30da64c07c2a1e9ff /src | |
| parent | feat(blog): sub-blog configuration (diff) | |
| download | locus-74eb9b8e9349a5e60c86a66a04e4133f30d58139.tar.xz locus-74eb9b8e9349a5e60c86a66a04e4133f30d58139.zip | |
refactor(content): move static pages
Diffstat (limited to 'src')
| -rw-r--r-- | src/macros.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.rs b/src/macros.rs index 492a38a..5a2a01c 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -67,7 +67,7 @@ macro_rules! mount_page { $at, Box::new(|context| { let content = - include_str!(concat!("../../content/pages/", $file, ".gmi")); + include_str!(concat!("../../content/static/", $file, ".gmi")); $crate::route::cache(&context, &content); $crate::success!(content, context) |