Skip to content

WIP: Feature/ec 90 news items

Christopher Johnson requested to merge feature/EC-90-news-items into master

News items in the edge project

Hey Mike,

You said you were interested in seeing the approach I took with getting news items added in to the edge website. I used the handlebars-helper-compose to read the Yaml front matter from each of the news pages defined within the News directory.

Using the helper, I was able to create two views of the news pages:

image

Which is placed on most pages in the website and limited to 5 elements (filter function in gruntfile)

image

And a news page view, which lists all news items along with the preview image.

Merging

I am going to leave this as a work in progress whilst we wait for some real news content to be generated by @mfry or @lucybar

Merge request reports

Loading