added that if you click the logo you get to /

This commit is contained in:
Schrottkatze 2023-02-27 00:55:27 +01:00
parent 1ebbe5d922
commit 27fe305640
2 changed files with 12 additions and 5 deletions

View file

@ -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

View file

@ -48,9 +48,13 @@
<b style="margin-right: 0.5rem">
{% if !args.hide_logo %}
<!-- <i><span style="font-size:2.2rem; margin-right:1rem">μ</span></i> -->
<img width=26 style="margin-bottom: -6px; margin-right: 0.5rem;"
src="{{ args.public_path }}/static/logo.png">
<a href="{{ args.public_path }}/">
<img
width=26
style="margin-bottom: -6px; margin-right: 0.5rem;"
src="{{ args.public_path }}/static/logo.png"
>
</a>
{%- endif %} {% if args.title.as_ref().is_none() %}
MicroBin {%- else %} {{ args.title.as_ref().unwrap() }} {%- endif %}
</b>