Skip to content

Content Management System

Eric Svebakk edited this page Sep 20, 2024 · 2 revisions

Overview

The volunteer system uses Sanity.io as the content management system (CMS), with a non-profit growth plan.

The content on cyb.no is editable through Sanity Studio.

Contact [email protected] to request access.


Sanity Studio

Sanity Studio allows editing CYB's information pages, such as the Home or About CYB pages. A page contains the following:

field description
Title The text to be displayed on the top of a page
Header An optional sub-title which can be displayed on a page, under the title (WIP)
Page content A list of page-block information. The page-block contains fields for rich-text* and images

*Currently, there are limited rich-text options for these pages, but bold text and bullet points are included.

available cms web pages cms page editor



Development

Datasets

The CMS offers two datasets: production and development.

development is a playground for local development, while changes to production will be shown on cyb.no.

CORS

Cross-origin resource sharing (CORS) is a mechanism to safely bypass the Same-origin policy. What this means is that it allows a web page to access restricted resources from a server on a domain different than the domain that served the web page. Go the CORS wikipedia for more information.

While the volunteer system can be configured via an environment file to be hosted on any endpoint, the CMS is only accessible via the following endpoints:

Attempting to run the volunteer on any other endpoint will cause the request to be blocked.

However, this can also be configured. To update the allowed endpoints, visit the volunteer systems Sanity Project.

The redirect handler is under construction, but here is a list of available links!

New to CYB?

Organization

Finances

Help

Clone this wiki locally