+3
-2
@@ -3,8 +3,6 @@ use axum::{
|
|||||||
};
|
};
|
||||||
use tower_http::services::ServeDir;
|
use tower_http::services::ServeDir;
|
||||||
use askama::Template;
|
use askama::Template;
|
||||||
// use typst::model;
|
|
||||||
// use typst_html;
|
|
||||||
use std::{collections::HashMap, fs, io::{Error, Write}, process::{Command, Stdio}};
|
use std::{collections::HashMap, fs, io::{Error, Write}, process::{Command, Stdio}};
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
|
|
||||||
@@ -117,6 +115,9 @@ async fn get_post(
|
|||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
|
// unsafe {
|
||||||
|
// std::env::set_var("TYPST_FEATURES", "html");
|
||||||
|
// }
|
||||||
|
|
||||||
let home_html = Html(
|
let home_html = Html(
|
||||||
HomeTemplate {
|
HomeTemplate {
|
||||||
|
|||||||
Reference in New Issue
Block a user