From 728514d65697d1cb922d72194d58f413b8064a0b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 28 Oct 2022 08:52:54 +0200 Subject: bump jekyll-theme --- _config.yml | 2 +- _includes/notes.html | 4 ++-- notes/index.html | 13 ++++--------- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/_config.yml b/_config.yml index 52413dd..6499767 100644 --- a/_config.yml +++ b/_config.yml @@ -59,7 +59,7 @@ repository: egor-tensin/blog # jekyll-paginate paginate: 10 # jekyll-remote-theme -remote_theme: egor-tensin/jekyll-theme@7cfef661469ffed7d77973adb3f9ecef5fd27668 +remote_theme: egor-tensin/jekyll-theme@a768a7fa84577a5975fa782dd81cdab066dcff12 # Theme settings settings: diff --git a/_includes/notes.html b/_includes/notes.html index 7783490..54055d7 100644 --- a/_includes/notes.html +++ b/_includes/notes.html @@ -8,9 +8,9 @@ {% for note in note_list %} -
+
{{ note.title }} - +  {{ note.subtitle }}
{% endfor %} diff --git a/notes/index.html b/notes/index.html index a5452c0..91622b6 100644 --- a/notes/index.html +++ b/notes/index.html @@ -8,7 +8,7 @@ sidebar: notes: hide: true --- -

{% include jekyll-theme/categories/label.html category='Notes' feed=true %}

+

{% include jekyll-theme/categories/label.html category='Notes' monospace=true %}

{% if site.notes.size > 0 %} {% comment %} Sorting can be done in _config.yml with Jekyll 4.0 or later. @@ -16,14 +16,9 @@ sidebar: {% assign note_list = site.notes | sort_natural: 'title' %} {% for note in note_list %} -
-
{{ note.title }}
- -
+ {% capture title %}
{{ note.title }}
{% endcapture %} + {% capture label %}

 {{ note.subtitle }}

{% endcapture %} + {% include jekyll-theme/flex-header.html title=title right=label %}
{% endfor %} {% else %} -- cgit v1.2.3