ccmdesign-archives / open-government-research-exchange

1 stars 3 forks source link

create new `__base-list.html` #24

Closed claudioccm closed 8 years ago

claudioccm commented 8 years ago

this template will have only a property and a value, and the list of papers that this value is featured as that property

claudioccm commented 8 years ago

@mocxd, This issue is actually for you too. Maybe even more for you than Denny.

In this commit, I created a very basic results page that works for the "type" property. In order to take advantage of the functionality we already have in place, I used the __type.html filename to fire the function for the type subsets.

Ideally we will have an easy way for these __filename.html that don't have a matching yaml file, to fallback to a __base-reults.html.

If we want to build it in really dirty way, we could have multiple __propertyName.html to fire the subset function. ;)

@tekd, I tried to use your __authors.html but that wasn't giving me a match. Maybe I missed something stupid.

Let me know what you both think about this, and if it's possible to build a cleaner solution. Hehe.