diff --git a/exampleSite/content/posts/sticky.md b/exampleSite/content/posts/sticky.md new file mode 100644 index 0000000..7d02912 --- /dev/null +++ b/exampleSite/content/posts/sticky.md @@ -0,0 +1,12 @@ +--- +title: "Simple sticky posts" +weight: 1 +date: 2020-07-13T00:06:00+02:00 +authors: + - john-doe +tags: + - Open Source + - DevOps +--- + +Stickey (or pinned) posts implementation is currently really simple and handled by `weight: 1` in a post front matter. diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 56f8205..7156efb 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -22,13 +22,20 @@