This is a jekyll relate template code.
Please check relate.html
My blog Program and life
Looks like bellow image:
The first three line is the newest article in your website.
The second block is the articles which after current post published.
And the last block is the articles which before current post published.
This the example of relate function relate function example