Skip to content

rightsstatements/rightsstatements.github.io

Repository files navigation

rightsstatements.org CMS

This CMS uses Jekyll.

Deployment

Create a new OAuth app on GitHub https://github.com/settings/applications/new

Oauth

On Netlify create a new deploy choosing the repository and using this configuration.

Build & deploy -> Build settings

Build & deploy -> Deploy contexts

On Identity, enable identity with GitHub as external provider.

In Access control -> OAuth, install an new GitHub provider and set the Client ID and Client Secret generated on GitHub.

Implementing translations

Transifex is used to carry out translations of the website. The relevant resources are tagged with the category website. Please get in touch with the maintainers to add a new language to the project.

To incorporate updates or new translations:

  • Install tx and run tx pull.
  • Edit _config.yml and _config_production.yml to add keys and associated translations for the language you're editing.
  • If provided, add any PDF documentation related to the translation to the files directory.

Editing content

Access CMS

Open /admin/ and log in with your GitHub account.

Creating a new post

Add a title, date, body and click save.

By default new post are not published and have the status draft, to publish them is necessary to click the Publish button

Is also possible to see a preview of the post by clicking View Preview, this link takes a while to load since new previews trigger separate build.

Changing the status will only affect how is shown in the workflow view and not publish it.

Managing assets

Click media on the top bar.

Click upload and choose your asset.

New images can be added by pressing the button in the editor.

Other files must be added as markdown.

[PDF](/files/160611proposal_for_implementation_UND.pdf)