aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-10-02 02:09:59 +0300
committerYaroslav <contact@yaroslavps.com>2020-10-02 02:09:59 +0300
commitec29bebbda2a278e78da1a0f91bd7a8e100d5dd7 (patch)
tree77d0d4e47ea085db02405530b6fe3885e7fd7c31 /templates
parent358c7b06be5ac06de4cc10c85093ffac8044458a (diff)
downloadyaroslavps.com-ec29bebbda2a278e78da1a0f91bd7a8e100d5dd7.tar.gz
yaroslavps.com-ec29bebbda2a278e78da1a0f91bd7a8e100d5dd7.zip
Style changes
Mainly changes to the color palette of the site, but also added a background image and increased the maximum width of the main container. Also added separate links for the RSS feeds of the weblog and recipe book.
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html11
-rw-r--r--templates/index.html11
-rw-r--r--templates/weblog.html8
-rw-r--r--templates/weblog_archive.html2
4 files changed, 19 insertions, 13 deletions
diff --git a/templates/base.html b/templates/base.html
index c64b27d..f341e32 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -51,9 +51,6 @@
<a href="https://git.yaroslavps.com/yaroslav" title="Git server">
<span class="icon"><img src="/svg/icons/git.svg"/></span>
</a>
- <a href="/feed.xml" title="RSS feed">
- <span class="icon"><img src="/svg/icons/rss.svg"/></span>
- </a>
</div>
<h3>Navigation</h3>
<ul class="navigation-list">
@@ -69,8 +66,12 @@
</ul>
</li>
</ul>
- <h3>Contact</h3>
- <p>If you want to tell me something, you can contact me by email at:</p>
+ <h3>RSS Feeds</h3>
+ <ul class="rss-list">
+ <li><a href="/weblog/feed.xml">Weblog RSS</a></li>
+ <li><a href="/food/feed.xml">Recipe book RSS</a></li>
+ </ul>
+ <h3>Email</h3>
<a href="mailto:contact@yaroslavps.com">contact@yaroslavps.com</a>
<h3>PGP</h3>
<a href="https://www.yaroslavps.com/files/yaroslavpub.gpg">BD900E5D624046DC</a>
diff --git a/templates/index.html b/templates/index.html
index a9ef8c2..4dfd843 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -13,17 +13,22 @@
<a href="https://git.yaroslavps.com/yaroslav" title="Git server">
<span class="icon"><img src="/svg/icons/git.svg"/></span>
</a>
- <a href="/feed.xml" title="RSS feed">
- <span class="icon"><img src="/svg/icons/rss.svg"/></span>
- </a>
</div>
<p>Welcome, my name is Yaroslav de la Peña Smirnov. I keep this site to
sometimes write about what I do or think on my weblog, or to remind myself
of how to do certain things. You can take a look around, maybe you'll find
something interesting or useful.</p>
+ <h2>Getting in contact</h2>
<p>If you want to contact me, you can do so by email at:
<a href="mailto:contact@yaroslavps.com">contact@yaroslavps.com</a>
</p>
<p>Public PGP key: <a href="https://www.yaroslavps.com/files/yaroslavpub.gpg">BD900E5D624046DC</a></p>
+ <h2>RSS feeds</h2>
+ <p>If you are interested in following what I may publish here (however often it
+ may be), you can add these RSS/Atom urls to your favorite RSS reader:</p>
+ <pre class="rss-links-list">
+ https://www.yaroslavps.com/weblog/feed.xml
+ https://www.yaroslavps.com/food/feed.xml
+ </pre>
</div>
{% endblock %}
diff --git a/templates/weblog.html b/templates/weblog.html
index 06673ee..253f79e 100644
--- a/templates/weblog.html
+++ b/templates/weblog.html
@@ -35,12 +35,12 @@
{% if paginator.number_pagers > 1 %}
<div class="paginator">
{% if paginator.previous %}
- <a href="{{ paginator.first }}"><span class="icon"></span> First</a>
- <a href="{{ paginator.previous }}"><span class="icon"></span> Page {{ paginator.current_index - 1 }}</a>
+ <a href="{{ paginator.first }}"><span class="icon">|←</span> First</a>
+ <a href="{{ paginator.previous }}"><span class="icon">←</span> Page {{ paginator.current_index - 1 }}</a>
{% endif %}
{% if paginator.next %}
- <a href="{{ paginator.next }}">Page {{ paginator.current_index + 1 }} <span class="icon"></span></a>
- <a href="{{ paginator.last }}">Last <span class="icon"></span></a>
+ <a href="{{ paginator.next }}">Page {{ paginator.current_index + 1 }} <span class="icon">→</span></a>
+ <a href="{{ paginator.last }}">Last <span class="icon">→|</span></a>
{% endif %}
</div>
{% endif %}
diff --git a/templates/weblog_archive.html b/templates/weblog_archive.html
index b06bdb2..cd507ba 100644
--- a/templates/weblog_archive.html
+++ b/templates/weblog_archive.html
@@ -9,7 +9,7 @@ Weblog archive - Yaroslav's weblog
{% set section = get_section(path="weblog/_index.md") %}
<div class="post-container">
{% for year, posts in section.pages | group_by(attribute="year") %}
- <h3>{{ year }}</h3>
+ <h2>{{ year }}</h2>
<ul>
{% for post in posts %}
<li><span class="publish-date">{{ post.date | date }}</span> - <a href="{{ post.permalink }}">{{ post.title }}</a></li>