> On Jun 15, 2017, at 3:18 PM, John Clingan <
jcli...@redhat.com> wrote:
>
> 2) We should probably remove the survey from the home page. I think we're already well on our way with a lot of projects to keep us busy.
We could probably replace that with a project carousel.
> 3) How do we (or marketing) update the presentations page? Related to this …
Looks like it’s hardcoded, so we’ll definitely want to move them out. Thiago, can we put the presentation PDFs in microprofile-site-config along with a microprofile-site-config/presentations.yaml file where we can have an entry for each presentation?
The goal is that anything that must be routinely updated is 1000 feet away from anything that is code. The content repo is meant to be plain text, code free and feel safe to update. The intended split is:
- microprofile-site (the code)
- microprofile-site-config (content & config)
So the presentation list and presentation files should really be in microprofile-site-config. The content is actually spread across all the github repos, like microprofile-config, etc. That content is auto-reloaded if there is a webhook is installed in the github repo or on the hour otherwise.
For ease of speaking about #4, we call this “gitpress”; templates backed by multiple git repos. Wordpress is templates backed by a database.
> 4) ... one thing we had discussed was taking an approach that merged wordpress and the current approach. The goal is to balance the ability for marketing to manage some content while the developers could manage other aspects (like the awesome project pages). IIRC, you mentioned that
tomitribe.io takes this approach. How do we get to such a setup? Marketing may want to create a marketing calendar, write blog entries, create sub-pages, etc.
We can definitely do that. As I noted on the call “gitpress” is really designed to enable developers to participate with a low bar in the marketing in areas where they are the content creators. Projects, presentations, etc.
That’s not everywhere.
To sew in something like wordpress, we’d just need an httpd (or similar) proxy with a couple lines of mod_rewrite to send pages that match specific URL patterns to “gitpress”, say /projects/(.*), with the rest going to wordpress. There is actually a proxy there already.
The “this is no fun” moment tends to be keeping the templates in sync. Adding a link to the top of every page or changing the footer is one of those things that would involve updating the templates of both "gitpress" and wordpress. Adding new pages to either system does not require an update in the other.
-David