From 27fe305640bc651b921c8172ddf03e93a2adb41d Mon Sep 17 00:00:00 2001 From: Jade Date: Mon, 27 Feb 2023 00:55:27 +0100 Subject: [PATCH] added that if you click the logo you get to / --- README.md | 5 ++++- templates/header.html | 12 ++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5aa9db4..8684283 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,13 @@ Please do not ask for help in the issues of the original MicroBin repository, I' - [ ] Non-env/args configurations - [ ] encrypted pastas - [ ] image embeds + - [x] in pasta view + - [ ] easy to copy image embed url - [ ] Markdown pastas - [ ] further endpoint configuration + - [x] customizable `pasta`, `url` and `raw` endpoints - [ ] disable remove -- [ ] Click logo/name to get to root +- [x] Click logo/name to get to root - [ ] Move frontend interactive code to rust as well - [x] removed light mode diff --git a/templates/header.html b/templates/header.html index 8bd4a5b..dc003d7 100644 --- a/templates/header.html +++ b/templates/header.html @@ -48,9 +48,13 @@ {% if !args.hide_logo %} - - + + + {%- endif %} {% if args.title.as_ref().is_none() %} MicroBin {%- else %} {{ args.title.as_ref().unwrap() }} {%- endif %} @@ -64,4 +68,4 @@
- {%- endif %} \ No newline at end of file + {%- endif %}