aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/base.html8
-rw-r--r--templates/index.html24
2 files changed, 14 insertions, 18 deletions
diff --git a/templates/base.html b/templates/base.html
index efb1e7d..d28c0c8 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -5,15 +5,11 @@
{% elif page %}
{% set permalink = page.permalink %}
{% endif %}
-<html>
+<html lang="{{ lang }}">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
- <title>
- {% block title %}
- Yaroslav de la Peña Smirnov
- {% endblock %}
- </title>
+ <title>{% block title %}Yaroslav de la Peña Smirnov{% endblock %}</title>
<link rel="stylesheet" href="{{ get_url(path="css/yaroslavps.css") }}">
<link rel="icon" type="image/png" href="{{ get_url(path="favicon32x32.png") }}">
<link rel="icon" type="image/png" href="{{ get_url(path="favicon64x64.png") }}">
diff --git a/templates/index.html b/templates/index.html
index a47e545..be5c135 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -75,7 +75,7 @@
<div class="nav-container">
<a class="see-more" href="{{ weblog.permalink }}">{{ trans(key="see_more", lang=lang) }}</a>
<a href="{{ weblog.permalink }}archive">{{ trans(key="archive", lang=lang) }}</a>
- <a href="{{ weblog.permalink }}feed.xml"><span class="icon"><img src="/svg/icons/rss.svg"/></span> RSS</a>
+ <a href="{{ weblog.permalink }}feed.xml"><span class="icon"><img alt="rss-icon" src="/svg/icons/rss.svg"/></span> RSS</a>
</div>
<h2>{{ trans(key="recipes", lang=lang) }}</h2>
@@ -103,7 +103,7 @@
<div class="nav-container">
<a class="see-more" href="{{ recipes.permalink }}">{{ trans(key="see_more", lang=lang) }}</a>
<a href="{{ recipes.permalink }}archive">{{ trans(key="archive", lang=lang) }}</a>
- <a href="{{ recipes.permalink }}feed.xml"><span class="icon"><img src="/svg/icons/rss.svg"/></span> RSS</a>
+ <a href="{{ recipes.permalink }}feed.xml"><span class="icon"><img alt="rss-icon" src="/svg/icons/rss.svg"/></span> RSS</a>
</div>
<h2>{{ trans(key="photos", lang=lang) }}</h2>
@@ -118,16 +118,16 @@
</p>
<div class="album-container">
<a href="https://www.yaroslavps.com/photos/st-petersburg-summer-2019/_DSC3948">
- <img class="thumbnail" src="https://www.yaroslavps.com/photos/st-petersburg-summer-2019/_DSC3948/_DSC3948_thumb.jpg">
+ <img alt="" class="thumbnail" src="https://www.yaroslavps.com/photos/st-petersburg-summer-2019/_DSC3948/_DSC3948_thumb.jpg">
</a>
<a href="https://www.yaroslavps.com/photos/st-petersburg-summer-2019/_DSC1690">
- <img class="thumbnail" src="https://www.yaroslavps.com/photos/st-petersburg-summer-2019/_DSC1690/_DSC1690_thumb.jpg">
+ <img alt="" class="thumbnail" src="https://www.yaroslavps.com/photos/st-petersburg-summer-2019/_DSC1690/_DSC1690_thumb.jpg">
</a>
<a href="https://www.yaroslavps.com/photos/navy-day-2019/_DSC3892">
- <img class="thumbnail" src="https://www.yaroslavps.com/photos/navy-day-2019/_DSC3892/_DSC3892_thumb.jpg">
+ <img alt="" class="thumbnail" src="https://www.yaroslavps.com/photos/navy-day-2019/_DSC3892/_DSC3892_thumb.jpg">
</a>
<a href="https://www.yaroslavps.com/photos/tallinn-2019/_DSC4468">
- <img class="thumbnail" src="https://www.yaroslavps.com/photos/tallinn-2019/_DSC4468/_DSC4468_thumb.jpg">
+ <img alt="" class="thumbnail" src="https://www.yaroslavps.com/photos/tallinn-2019/_DSC4468/_DSC4468_thumb.jpg">
</a>
</div>
<div class="nav-container">
@@ -186,15 +186,15 @@
<h2>{{ trans(key="other_links", lang=lang) }}</h2>
<div class="nav-container">
{% if lang == "en" %}
- <a href="/donate" title="Leave a tip"><span class="icon"><img src="/svg/icons/btc.svg"/></span> Leave a tip</a>
+ <a href="/donate" title="Leave a tip"><span class="icon"><img alt="btc-icon" src="/svg/icons/btc.svg"/></span> Leave a tip</a>
{% elif lang == "es" %}
- <a href="/es/donate" title="Leave a tip"><span class="icon"><img src="/svg/icons/btc.svg"/></span> Dejar propinar</a>
+ <a href="/es/donate" title="Dejar propinar"><span class="icon"><img alt="btc-icon" src="/svg/icons/btc.svg"/></span> Dejar propinar</a>
{% elif lang == "ru" %}
- <a href="/ru/donate" title="Leave a tip"><span class="icon"><img src="/svg/icons/btc.svg"/></span> Оставить чайвые</a>
+ <a href="/ru/donate" title="Оставить чайвые"><span class="icon"><img alt="btc-icon" src="/svg/icons/btc.svg"/></span> Оставить чайвые</a>
{% endif %}
- <a href="https://git.yaroslavps.com/" title="Git server"><span class="icon"><img src="/svg/icons/git.svg"/></span> Git server</a>
- <a href="https://github.com/Yaroslav-95" title="GitHub"><span class="icon"><img src="/svg/icons/github.svg"/></span> Github</a>
- <a href="https://sr.ht/~yaroslav/" title="sourcehut"><span class="icon"><img src="/svg/icons/srht.svg"/></span> sourcehut</a>
+ <a href="https://git.yaroslavps.com/" title="Git server"><span class="icon"><img alt="git-icon" src="/svg/icons/git.svg"/></span> Git server</a>
+ <a href="https://github.com/Yaroslav-95" title="GitHub"><span class="icon"><img alt="github-icon" src="/svg/icons/github.svg"/></span> Github</a>
+ <a href="https://sr.ht/~yaroslav/" title="sourcehut"><span class="icon"><img alt="srht-icon" src="/svg/icons/srht.svg"/></span> sourcehut</a>
</div>
<hr>
<div class="nav-container">