aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--_config.yml2
-rw-r--r--_includes/notes.html4
-rw-r--r--notes/index.html13
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 @@
</div>
{% for note in note_list %}
<a href="{{ note.url | relative_url }}" class="list-group-item">
- <h5 class="list-group-item-heading post-header">
+ <h5 class="list-group-item-heading flex-header">
<span>{{ note.title }}</span>
- <small class="post-date"><span class="glyphicon glyphicon-menu-right"></span>&nbsp;{{ note.subtitle }}</small>
+ <small class="flex-header-right"><span class="glyphicon glyphicon-menu-right"></span>&nbsp;{{ note.subtitle }}</small>
</h5>
</a>
{% 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
---
-<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>&nbsp;<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>&nbsp;<span class="text-monospace">{{ note.subtitle }}</span></p>{% endcapture %}
+ {% include jekyll-theme/flex-header.html title=title right=label %}
</a>
{% endfor %}
{% else %}