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