Is it possible to add individual project pages? #163
-
Hello, I am trying a creat a list of posts or cards under the "Research" page, not about publications. For example, I have three different projects in my group. I want to create three cards or three posts on the page of "Research", so that when people click on one card / post, they will be directed to a separated page about that specific project. Then, on that page, I can add more details of this project, add all publications related to this project, add funding info, etc.. Currently, if I implemented these projects as cards, then they can only be linked to an external page, like a github project page, or some public url. I am thinking something like posts, but certainly different from the current blog posts. I don't know how exactly I could do this. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi, good question. I think this is something many people could potentially want. First, check out these pages of the docs for some background information: Since you want separate pages for each item, you'd want a "collection" (instead of "data"). Here's basically what you can do:
I hope this helps. I may add this as an example in the docs. |
Beta Was this translation helpful? Give feedback.
Hi, good question. I think this is something many people could potentially want.
First, check out these pages of the docs for some background information:
https://greene-lab.gitbook.io/lab-website-template-docs/advanced/custom-components
https://greene-lab.gitbook.io/lab-website-template-docs/advanced/data-and-collections
Since you want separate pages for each item, you'd want a "collection" (instead of "data").
Here's basically what you can do:
_projects
(or whatever you want to name it)._config.yaml
, setoutput: true
for your newprojects
collection so Jekyll generates a separate page for each item.