Merge pull request #10 from umuterozan/main

Hotfix
pull/11/head
beucismis 1 year ago committed by GitHub
commit d8c1b78f08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ozgursozluk/static/style.css
  2. 14
      ozgursozluk/templates/index.html

@ -119,6 +119,8 @@ form input, form select, form button {
}
.topic > .entry {
display: block;
text-decoration: none;
padding: 0.5rem;
margin: 1rem 0 1rem 0;
background-color: var(--entry-bg);

@ -25,12 +25,10 @@
</div>
{% for topic in gundem %}
{% if request.cookies.get('display_pinned_topics') == 'true' %}
<div class="entry">
<a href="{{ url_for('topic', path=topic.path, a='popular') }}" class="entry">
<div style="display: flex; justify-content: space-between;">
<div>
<a style="text-decoration: none;" href="{{ url_for('topic', path=topic.path, a='popular') }}">
{{ topic.title }}
</a>
{{ topic.title }}
</div>
<div>
{% if topic.pinned %}<small style="opacity: 0.5;">pinned</small>{% endif %}
@ -42,12 +40,10 @@
</div>
{% else %}
{% if not topic.pinned %}
<div class="entry">
<a href="{{ url_for('topic', path=topic.path, a='popular') }}" class="entry">
<div style="display: flex; justify-content: space-between;">
<div>
<a style="text-decoration: none;" href="{{ url_for('topic', path=topic.path, a='popular') }}">
{{ topic.title }}
</a>
{{ topic.title }}
</div>
<div>
{% if topic.entry_count %}
@ -55,7 +51,7 @@
{% endif %}
</div>
</div>
</div>
</a>
{% endif %}
{% endif %}
{% endfor %}

Loading…
Cancel
Save