This CMS uses jekyll. No plugins are currently in use, allowing deployment to GitHub Pages.
Pages live in their language-specific directory. Since we are launching with English only, currently all pages are located in en or a sub-directory thereof. To edit e.g. the FAQ, simply locate that file on GitHub and click on the pen icon in the upper right-hand corner:
All pages start with a block containing Jekyll "front matter" followed by the actual content written in Markdown. The only front matter used at this time is layout
(which can be page
or front
in the special case of the landing page), title
and section_id
(which is used to group menu items). Valid values for section_id
are statements
, about
, documentation
and get_involved
. In case of the FAQ, set it to documentation
since they are a child of that section in the menu:
Once you are done with editing an individual file, commit the changes right to the master
branch:
This will cause changes to be visible directly on http://rightsstatements.github.io. When you are done making all changes you wish to publish to the live site, click on "New pull request":
Create a pull request from the master
to the production
branch:
To add content, navigate to en or a sub-directory thereof and click on "New file":
Then, assign a file name with the .md
extension, add the front matter and finally your content:
When you are done, commit the file to master
and create a pull request as described above.
If you have assets such as images or PDFs to add, navigate to the files directory:
Then, click on "Upload files":
When done adding files, again commit them to the master
branch and create a pull request as described above. To reference an asset from a page, take a note of the file name and create a link or embed an image like so:
[Link caption]({{ site.baseurl }}/files/document.pdf)
![Image text]({{ site.baseurl }}/files/images/picture.png)
The menu is built from the nav.yml. All top level entries consist of a name
, the path
and a section_id
. Currently only one level of child entries is supported, these entries only have a name
and the path
. Any paths starting with http://
are interpreted as external links, the others are interpreted as internal and prefixed with the current language automatically.