Update template

pull/12/head
beucismis 11 months ago
parent 834004b408
commit 31b79b141b
  1. 11
      ozgursozluk/templates/base.html
  2. 6
      ozgursozluk/templates/macros.html
  3. 2
      ozgursozluk/templates/settings.html

@ -1,7 +1,8 @@
<!DOCTYPE html>
<html>
<html lang="tr">
<head>
<meta charset="utf-8">
<meta charset="UTF-8">
<meta content="origin" name="referrer">
{% block meta %}{% endblock %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="{{ url_for('static', filename='favicon.png') }}">
@ -12,9 +13,7 @@
{% set filename = '{}.css'.format(request.cookies.get('theme')) %}
<link rel="stylesheet" href="{{ url_for('static', filename=filename) }}">
{% endif %}
<title>
{% block title %}{% endblock %}
</title>
<title>{% block title %}{% endblock %}</title>
</head>
<body>
<header>
@ -22,7 +21,7 @@
<a href="{{ url_for('random') }}">random</a>
<a href="{{ url_for('donate') }}">donate</a>
<a href="{{ url_for('settings') }}">settings</a>
<a href="{{ source }}" target="_blank">source code</a>
<a href="{{ source_code }}" target="_blank">source code</a>
</div>
</header>
<main>

@ -39,9 +39,7 @@
{% macro render_gundem(topic) %}
<a href="{{ url_for('topic', path=topic.path, a='popular') }}" class="entry">
<div style="display: flex; justify-content: space-between;">
<div>
{{ topic.title }}
</div>
<div>{{ topic.title }}</div>
<div>
{% if topic.pinned %}<small style="opacity: 0.5;">pinned</small>{% endif %}
{% if topic.entry_count %}
@ -50,4 +48,4 @@
</div>
</div>
</a>
{% endmacro %}
{% endmacro %}

@ -73,7 +73,7 @@
v{{ version }}
-
last commit:
<a href="{{ source }}/commit/{{ last_commit }}" target="_blank">{{ last_commit[:8] }}</a>
<a href="{{ source_code }}/commit/{{ last_commit }}" target="_blank">{{ last_commit[:8] }}</a>
-
made with <3 on the <a href="{{ url_for('topic', path='thinkpad-t61--1883047') }}">t61</a>
</br></br>

Loading…
Cancel
Save