aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-03-29 00:13:28 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-03-29 00:13:28 +0300
commita5ca94797945203c3167bb13b7779b396cad527d (patch)
treebeb8a49c3a7a5a79f845af024f37f5c832e03feb /templates/index.html
parentb623aec3cbe0ea2edbecffc16e58296646ba5353 (diff)
downloadyaroslavps.com-a5ca94797945203c3167bb13b7779b396cad527d.tar.gz
yaroslavps.com-a5ca94797945203c3167bb13b7779b396cad527d.zip
Minor style changes and improvements
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html31
1 files changed, 15 insertions, 16 deletions
diff --git a/templates/index.html b/templates/index.html
index e0192fa..1562dde 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -22,7 +22,6 @@
<a href="/es/">🇲🇽 Español</a>
{% endif %}
</div>
-
{% if lang == "ru" %}
<p>
Добро пожаловать в мой уголок интернета. Меня зовут Ярослав. Я занимаюсь
@@ -59,7 +58,11 @@
</p>
{% endif %}
- <h2>{{ trans(key="weblog", lang=lang) }}</h2>
+ <h2>
+ <a href="{{ weblog.permalink }}">
+ {{ trans(key="weblog", lang=lang) }}
+ </a>
+ </h2>
{% set latest_weblog = weblog.pages[0] %}
<p>
{% if lang == "en" %}
@@ -89,7 +92,11 @@
<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>
+ <h2>
+ <a href="{{ recipes.permalink }}">
+ {{ trans(key="recipes", lang=lang) }}
+ </a>
+ </h2>
{% set latest_recipe = recipes.pages[0] %}
<p>
{% if lang == "en" %}
@@ -117,7 +124,11 @@
<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>
+ <h2>
+ <a href="/photos">
+ {{ trans(key="photos", lang=lang) }}
+ </a>
+ </h2>
<p>
{% if lang == "en" %}
A gallery with some photographs I've taken on my free time.
@@ -207,17 +218,5 @@
<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">
- <p>
- The text content in this site is
- <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>,
- the photos are under
- <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>.
- </p>
- <p>
- © 2018—2022 Yaroslav de la Peña Smirnov.
- </p>
- </div>
</div>
{% endblock %}