Replace Rocket and Tera with Rouille and Maud #88

Merged
glyph merged 67 commits from rouille_maud into main 2022-03-25 08:07:15 +00:00
3 changed files with 6 additions and 0 deletions
Showing only changes of commit 112cfca67b - Show all commits

View File

@ -2,6 +2,8 @@ use maud::PreEscaped;
use crate::{templates, utils::sbot};
// ROUTE: /scuttlebutt/blocks
/// Scuttlebutt blocks list template builder.
pub fn build_template() -> PreEscaped<String> {
// retrieve the list of blocked peers

View File

@ -2,6 +2,8 @@ use maud::PreEscaped;
use crate::{templates, utils::sbot};
// ROUTE: /scuttlebutt/follows
/// Scuttlebutt follows list template builder.
pub fn build_template() -> PreEscaped<String> {
// retrieve the list of follows

View File

@ -2,6 +2,8 @@ use maud::PreEscaped;
use crate::{templates, utils::sbot};
// ROUTE: /scuttlebutt/friends
/// Scuttlebutt friends list template builder.
pub fn build_template() -> PreEscaped<String> {
// retrieve the list of friends