From 30437acaf53524ed97175d513b23d8042f3cf375 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Mon, 21 Aug 2023 20:33:58 +0800 Subject: feat: support to pin articles (#50) This feature can allow you to top articles via post front meta property `top`, the value is a number, the smaller the number is, the higher priority the article has. Example: ``` title: My Article top: ``` --- _layouts/post.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to '_layouts/post.html') diff --git a/_layouts/post.html b/_layouts/post.html index c561308..442cfe6 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -50,7 +50,18 @@ sidebar: -- cgit v1.2.3