Reorganize
This commit is contained in:
@@ -12,5 +12,3 @@ pub trait Asset {
|
||||
/// The embedded file contents as a byte slice
|
||||
const BYTES: &'static [u8];
|
||||
}
|
||||
|
||||
// TODO: image manipulation
|
||||
|
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 284 KiB |
|
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
@@ -1,6 +1,5 @@
|
||||
use maud::{Markup, Render, html};
|
||||
|
||||
// TODO: turn these into one self-contained struct
|
||||
pub struct MangledBetaEmail {}
|
||||
|
||||
impl Render for MangledBetaEmail {
|
||||
@@ -71,8 +71,6 @@ const OPTS: Options = Options {
|
||||
|
||||
impl Render for Markdown<'_> {
|
||||
fn render(&self) -> Markup {
|
||||
// TODO: cache
|
||||
|
||||
/*
|
||||
let mut ast = markdown::to_mdast(MD_A, &opts.parse).unwrap();
|
||||
let walk = AstWalkMut::new(&mut ast);
|
||||
@@ -1,7 +1,6 @@
|
||||
use assetserver::Asset;
|
||||
use macro_assets::assets;
|
||||
|
||||
// TODO: auto-generate from dir
|
||||
assets! {
|
||||
prefix: "/assets"
|
||||
router: asset_router()
|
||||
@@ -9,10 +9,6 @@ use crate::{
|
||||
routes::assets::Image_Icon,
|
||||
};
|
||||
|
||||
// TODO: emoji
|
||||
// TODO: spellcheck
|
||||
// TODO: check links
|
||||
|
||||
pub async fn links() -> Markup {
|
||||
let meta = PageMetadata {
|
||||
title: "Links".into(),
|
||||
Reference in New Issue
Block a user