Open epigraphe opened 8 years ago
one way I've accomplished this with Stacey is by defining a variable within a project's .yml file that is a string of classes for isotope.
title: project title
categories: photos videos texts
content:+++
page info
+++
then when you print out each child for your projects, you include the categories as isotope classes
<a class="element-item {{ page.categories }}">{{ page.title }}</a>
Hello. I need to make one project could be in three or four categories. I downloaded the template Assemblage. On the first page it displays all the projects from all categories. Thus, if I create three of the same projects in three different categories, too, there are three, then he should be the one on the main page.
How to make that initially display only a single copy of the project, but when sorting by categories, he would also be displayed.
It should be something like this: http://isotope.metafizzy.co/