gourami

[UNMAINTAINED] Activitypub server in Rust
Log | Files | Refs | README | LICENSE

commit 037431cb3314ac2bf5de3e76497b8393d8bb53bf
parent b54bd3ec0177f38add12e511f067dbcb0f04d871
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Wed, 22 Apr 2020 21:56:45 -0500

remove unused html files

Diffstat:
Msrc/lib.rs | 7-------
Dtemplates/hello.html | 1-
Dtemplates/notifications.html | 0
Dtemplates/status.html | 0
Mtemplates/user.html | 2--
5 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/src/lib.rs b/src/lib.rs @@ -78,13 +78,6 @@ impl<'a> Global<'a> { } } } -// impl default - -#[derive(Template)] -#[template(path = "notifications.html")] -struct NotificationTemplate<'a>{ - name: &'a str, -} pub fn render_template<T: askama::Template>(t: &T) -> http::Response<hyper::body::Body> { match t.render() { diff --git a/templates/hello.html b/templates/hello.html @@ -1 +0,0 @@ -Hello, {{ name }}! diff --git a/templates/notifications.html b/templates/notifications.html diff --git a/templates/status.html b/templates/status.html diff --git a/templates/user.html b/templates/user.html @@ -8,8 +8,6 @@ <b>bio:</b> {{user.bio}} {% if global.user.id == user.id%} <div> - <a href="/user/{{user.id}}/edit">edit</a> - <br> <form method="post" action="/logout" class="inline"> <button type="submit" name="submit_param" value="submit_value" class="link-button">logout</button</form>