aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-10-25 12:05:29 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-10-25 12:05:29 +0200
commitcabfb8ec4e4f75575b048e3dcd3ab4622b593c9d (patch)
tree81bd9d8feb26d441f0356b000519470659dc9037 /_includes
parentnotes/latex: hide the ugliness (diff)
downloadblog-cabfb8ec4e4f75575b048e3dcd3ab4622b593c9d.tar.gz
blog-cabfb8ec4e4f75575b048e3dcd3ab4622b593c9d.zip
redesign feed & categories
Diffstat (limited to '_includes')
-rw-r--r--_includes/notes.html10
1 files changed, 2 insertions, 8 deletions
diff --git a/_includes/notes.html b/_includes/notes.html
index 4b739af..7783490 100644
--- a/_includes/notes.html
+++ b/_includes/notes.html
@@ -3,21 +3,15 @@
{% endcomment %}
{% assign note_list = site.notes | sort_natural: 'title' %}
<div class="list-group wide-enough">
- {% assign h = 'h4' %}
- {% if include.sidebar %}
- {% assign h = 'h5' %}
- {% endif %}
- {% if include.sidebar %}
<div class="list-group-item disabled">
<h4 class="list-group-item-heading">notes</h4>
</div>
- {% endif %}
{% for note in note_list %}
<a href="{{ note.url | relative_url }}" class="list-group-item">
- <{{ h }} class="list-group-item-heading post-header">
+ <h5 class="list-group-item-heading post-header">
<span>{{ note.title }}</span>
<small class="post-date"><span class="glyphicon glyphicon-menu-right"></span>&nbsp;{{ note.subtitle }}</small>
- </{{ h }}>
+ </h5>
</a>
{% endfor %}
</div>