mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
small fixes
This commit is contained in:
parent
0b7b5a0619
commit
b8def5e2ae
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
@text-color: #a0ccff;
|
||||
@quote-color: #a0ffcc;
|
||||
@spoiler-color: #ffa0cc;
|
||||
@highlight-color: #ffcca0;
|
||||
@highlight-color: #ffff95;
|
||||
@accent-color: white;
|
||||
@link-color: #00aaff;
|
||||
@visited-color: #aa66ff;
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<a class="entry-id" href="/diario#{{ entry.id }}">#{{ entry.id }}</a>
|
||||
<a class="entry-id" href="/diario#entry-{{ entry.id }}">#{{ entry.id }}</a>
|
||||
</div>
|
||||
</blockquote>
|
|
@ -255,7 +255,7 @@ def page_wiki(key: str):
|
|||
@app.route("/diario")
|
||||
def page_diario():
|
||||
db_session = db.Session()
|
||||
diario_entries = db_session.query(db.Diario).all()
|
||||
diario_entries = db_session.query(db.Diario).order_by(db.Diario.timestamp.desc()).all()
|
||||
db_session.close()
|
||||
return render_template("diario.html", config=config, entries=diario_entries)
|
||||
|
||||
|
|
Loading…
Reference in a new issue