mrmrs / vimgifs

http://vimgifs.com
116 stars 16 forks source link

Move from Posts to a Gifs collection #12

Closed sammdec closed 8 years ago

sammdec commented 8 years ago

Ok so this is pretty big PR now that Im looking at but alot of it is deletion and adding in a slightly new format.

While I think having dates on the tips is great, I dont know if posts is such a good format as you want to be able to manipulate the order and categorisation of gifs far beyond just date, say motion, commands, etc.

I have provided an example here https://github.com/mrmrs/vimgifs/compare/gh-pages...samjbmason:collection-move?expand=1#diff-f450eda2d90dc891ad93de794a9f7642R5 on how you could do that with tags, it would then be very easy use this data to create tag pages

This creates a collection named gifs and contains all the gif articles in there we remove the date from the files and instead put them inside the frontmatter as a variable.

I have cleaned up a few partials and tried to flatten the folder structure a bit as well

I have also included a Gemfile and README update in here to make it a bit easier for someone to get started with it.