-
-
Notifications
You must be signed in to change notification settings - Fork 219
Description
The goal is to have two completely independent projects.
Split
Main Website
This should contain everything except the blog posts. The biggest issue here is the homepage that should still list the most recent blog posts. In the long run, these can be fetched from our CMS. In the meantime, I would just remove them from the homepage so that you can get started on the overall split.
Blog
The blog should only contain the articles and their pictures. In the end, this content will be moved to our CMS. At that point, the blog project will just host the overall structure, it won't host the articles themselves. We can get started on splitting the repo though already, and replace where the data is coming from once the CMS is set up.
Shared Snippets
One issue I see is the duplication of snippets for the navigation bar and so on. It would be nice to find a solution to share these reusable components across different projects. I currently don't have a preferred solution for this, but one option would be a shared git submodule. Another solution would be to have a snippets schema in our CMS, which hosts snippets that can be pulled by jekyll at build time via the API. I personally think it's better to have them in git though, because it's a bit weird if the website is open source except for some essential snippets.