Kefwmag / kefwmag.github.io

Website of KEFW's school magazine
http://backchat.kefw.org/
3 stars 2 forks source link

Add edition value to each post #68

Closed ir-g closed 8 years ago

ir-g commented 8 years ago

Should we add an edition variable to the front matter of all of the posts, so we can generate individual edition pages at a later date?

ChilliByte commented 8 years ago

This is a very good idea, and should be coupled with #67 ALSO DIBS NEXT ISSUE

ChilliByte commented 8 years ago

Can this not be done with a simple lookup table of when each edition was released?

ir-g commented 8 years ago

@ChilliByte I guess, but it would be less reliable, and less useful when taking into account the fact that in the future, article publication could be staggered.

benjimarshall commented 8 years ago

I'll write a tiny python script to do this. Shouldn't take long

ir-g commented 8 years ago

Awesome, use edition: 1 in the post metadata.

benjimarshall commented 8 years ago

@isaacrg I was torn between using a tag and a completely custom field such as edition Should I use edition then?

ir-g commented 8 years ago

Use edition, as we then get to run numerical comparisons more easily.