mirror of
https://github.com/ada-dmitry/ada-dmitry.github.io.git
synced 2026-09-24 01:10:35 +00:00
Изменить сортировку заметок с "title" на "basename"
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ permalink: /notes/
|
||||
### {{ folder }} ({{ g.items | size }})
|
||||
|
||||
<ul>
|
||||
{%- assign items = g.items | sort: "title" -%}
|
||||
{%- assign items = g.items | sort: "basename" -%}
|
||||
{%- for n in items -%}
|
||||
<li><a href="{{ n.url | relative_url }}">{{ n.title }}</a></li>
|
||||
{%- endfor -%}
|
||||
|
||||
Reference in New Issue
Block a user