diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-28 08:52:54 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-28 11:15:40 +0200 |
commit | 728514d65697d1cb922d72194d58f413b8064a0b (patch) | |
tree | eac98c06a37bae6266faf15f8abf663edf4ec8d5 /notes | |
parent | bump jekyll-theme (diff) | |
download | blog-728514d65697d1cb922d72194d58f413b8064a0b.tar.gz blog-728514d65697d1cb922d72194d58f413b8064a0b.zip |
bump jekyll-theme
Diffstat (limited to 'notes')
-rw-r--r-- | notes/index.html | 13 |
1 files changed, 4 insertions, 9 deletions
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 --- -<h1>{% include jekyll-theme/categories/label.html category='Notes' feed=true %}</h1> +<h1>{% include jekyll-theme/categories/label.html category='Notes' monospace=true %}</h1> {% 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 %} <a href="{{ note.url | relative_url }}" class="feed-entry"> - <div class="post-header"> - <h5 class="text-monospace">{{ note.title }}</h5> - <div class="post-date"> - <p class="text-muted font-size-90"> - <span class="glyphicon glyphicon-menu-right"></span> <span class="text-monospace">{{ note.subtitle }}</span> - </p> - </div> - </div> + {% capture title %}<h5 class="text-monospace">{{ note.title }}</h5>{% endcapture %} + {% capture label %}<p><span class="glyphicon glyphicon-menu-right"></span> <span class="text-monospace">{{ note.subtitle }}</span></p>{% endcapture %} + {% include jekyll-theme/flex-header.html title=title right=label %} </a> {% endfor %} {% else %} |