A few months ago we were requested to add a list of featured posts to an index page in Octopress. So we did a bit of research about how Octopress + Jekyll + Lyquid template internally works. And we ended up with a nice solution that you can easily replicate in your own blog.
In this post we will show you how to add your own custom list of featured octopress posts like in Coconauts
The first thing you need to do is to add a new custom tag to your posts, we will call it
1 2 3 4 5 6
Create a new template file called
featured_posts.html inside your
with this content:
1 2 3 4 5 6 7 8 9 10 11 12
Then you can list your three most recent featured posts in every page you want just by adding this code to your markdown or HTML file:
Just remember to adapt your HTML code and your CSS to your needs (this one is based on bootstrap).
It’s another bank holiday in England, and in Coconauts this means: hackday! Last time we did an [infinite recommender for Spotify](http://coconauts.net/blog/2017/05/01/infinify-an-infinite-discovery-mode-for-spotify/), and this time we wanted to get started with a game concept that has been in our …
It’s been a while since we built and deprecated our [Watchduino 2](http://coconauts/projects/watchduino2) smartwatch built with Arduino and BLE technology. The reason why we stopped developing the prototype was because it was not as optimal as we expected, and the bluetooth communication was …
Play now at [retrophies.win](http://retrophies.win)! If there’s one thing that has become a de-facto standard in the gaming industry during the last decade this is game achievements, trophies, or whatever you may call them. Not only on console games, but Apple and Android also provide facilities to …