chore: Remove conditional CSS import and improve alt attributes
This commit is contained in:
@@ -30,9 +30,6 @@
|
||||
-->
|
||||
<title>{{ title }}</title>
|
||||
|
||||
{% if css_file %}
|
||||
<link href="/static/css/{{ css_file }}" rel="stylesheet">
|
||||
{% endif %}
|
||||
<style>
|
||||
html {
|
||||
overflow-y: scroll;
|
||||
@@ -73,8 +70,8 @@
|
||||
<div class="info">
|
||||
{{ story.score }} points
|
||||
by <a href="{{ story.author_link }}">{{ story.author }}</a>
|
||||
​ {{ story.date | fromnow }}
|
||||
​ on <a href="{{ story.link }}">{{ story.source }}</a> | ​
|
||||
{{ story.date | fromnow }}
|
||||
on <a href="{{ story.link }}">{{ story.source }}</a> |
|
||||
<a href="/{{ story.id }}/c">
|
||||
{{ story.num_comments }} comment{{ 's' if story.num_comments != 1 }}
|
||||
</a>
|
||||
@@ -115,7 +112,7 @@
|
||||
<div class='item'>
|
||||
<div class='title'>
|
||||
<a class='link' href='/{{ story.id }}'>
|
||||
<img class='source-logo' src='/logos/{{ story.source }}.png' alt='source logo' /> {{ story.title }}
|
||||
<img class='source-logo' src='/logos/{{ story.source }}.png' alt='{{ story.source }}:' /> {{ story.title }}
|
||||
</a>
|
||||
<span class='source'>
|
||||
(<a class='source' href='{{ story.url or story.link }}'>{{ story.hostname }}</a>)
|
||||
|
||||
Reference in New Issue
Block a user