This is a guide outlining how to update and edit the Culture Squad website with our Discourse website building framework.
Content feeds through tags and ids
Almost all content is served to the the website through tags or through post IDs.
Post IDs are used in the case where content is delivered to a single section, for example the text in the ‘Join us’ section. Tags are used when many pieces of content should be listed in a section, for example in ‘Featured work’ or ‘Events’. In these cases, the framework displays all posts with those tags. Note that the post does not have to be in this category, it can be anywhere on the platform. That goes for all content served to the website. As long as the tag or id is right, it will get to the right place.
We have also defined a few different styles of content, that are displayed slightly differently on the site.
A handful of images and text strings are not fetched from Discourse, but coded directly into the website template. Those need to be changed in the code.
Frontpage
Header
Content for the header is coded into the template, and must be updated in the code.
Intro paragraph
Content comes from a single post on the platform, available here.
About us
Title and content comes from a single post on the platform, available here.
Events
Events are posts tagged with webcontent-culturesquad-event
. In order for the event to be displayed correctly it must have:
- A Discourse date tag on the first line of the post
- An image on the second line of the post
- A description below the image
Long descriptions will be capped so the box doesn’t stretch too far. Events also get their own page on the site, rendered with the same content, but which allow for a full description.
To add a new event to the page, simply make a new post with the tag webcontent-culturesquad-event
. To remove an event from the site, just remove the tag.
Featured work
To add new featured work, add posts with the webcontent-culturesquad-featured
tag.
Very similar to events, but without the date tag. First row is an image, and the rest is description. Clicking on the headline takes you to the thread to join the conversation around that work. Again, remember that this post does not have to be in this category – in fact it is probably better that it is a post in the usual Culture Squad category.
Featured content
This is a list of all posts with the webcontent-culturesquad-post
tag.
Join us
Title and content comes from a single post on the platform, available here.
Footer
Content for the footer is coded into the template, and must be updated in the code.
Team page
Team site description
Title and content comes from a single post on the platform, available here.
Team members
Team members are added by creating new posts with the tag webcontent-culturesquad-member
. Title of the post is the name and the first row of the post should be the image.
Partners
Title and content comes from a single post on the platform, available here.