Commit 00566d84 authored by kaiyou's avatar kaiyou

Fix source and help links

parent 881fafe4
......@@ -3,6 +3,8 @@ app = Flask(__name__)
app.config.update(
SITE_NAME="TedImg",
SOURCE_URL="https://git.tedomum.net/kaiyou/tedimg",
HELP_URL="https://git.tedomum.net/kaiyou/tedimg",
FULL_STORAGE="/tmp/images",
THUMB_STORAGE="/tmp/images/thumb",
FULL_WEB="image",
......
......@@ -12,8 +12,8 @@
<nav class="blue" role="navigation">
<div class="nav-wrapper container"><a href="/" class="brand-logo">{{ config["SITE_NAME"] }}</a>
<ul class="right">
<li><a href="#">Source code</a></li>
<li><a href="#">Help</a></li>
<li><a href="{{ config["SOURCE_URL"] }}">Source code</a></li>
<li><a href="{{ config["HELP_URL"] }}">Help</a></li>
</ul>
</div>
</nav>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment