minddust / minddust.github.io

www.minddust.com
100 stars 82 forks source link

Add post = page assignment #11

Closed bertmelis closed 6 years ago

bertmelis commented 7 years ago

I've read your post about categories and tags on github pages. It was exactly what I was looking for. However, I could only get it working untill I saw that I've missed something.

You have to add this: {% assign post = page %} at the top of the post layout. Alternatively, you could replace post by page in the subsequent code. I know the earlier post does contain this statement. But when writing code examples, the code should be complete.

MarcelReig commented 7 years ago

Thanks Bert your comment helped me! This is an important point for newbies like me :)