Hi there! Internet Explorer is no longer supported.

Please use a modern web browser such as Firefox, Chromium or Edge. Thank you!

Content Management System

How to use the Sveltia CMS for the FreeCAD website.

The FreeCAD website takes advantage of a headless Content Management System (CMS). It is intended for content editors, translators, and contributors to ease the process of adding and editing the website content. For detailed CMS features, refer to the official Sveltia CMS documentation.

CMS overview

The website content can be managed through a web-based CMS:

Reading the website guidelines GuidelinesGuidelines for contributing to the website. is highly recommended. Thank you!

Note

Changes made in the CMS are saved in the website git repository. Depending on the workflow chosen below, some additional steps and review time are required before the changes appear on the public website.

Logging in

Open the Admin page FreeCAD Admin CMS or if building locally, open the localhost admin address:

CMS login screen

CMS login screen

There are two main workflows: a local one (1) and a git server-based one (2). Both workflows require a GitHub account, the main git platform currently used by the FreeCAD project for now.

1. Local workflow

The local workflow means a standard git-based process with branches, commits and pull requests is required to submit changes to upstream, as is the case with FreeCAD development in general.

2. Git server

GitHub PAT request

GitHub PAT request

Access Token login

Access Token login

Using the CMS

After successful login, the CMS dashboard will open:

CMS dashboard

CMS dashboard

The top-left FreeCAD icon links to the public website, followed by the Collections and Assets tabs (1). The top-center search field (2) looks for entries in the whole repository, with the menus (3) on the top-right.

General menus

General menus

The available menus are general entry addition (1), help (2), and CMS settings (3).

Collection large thumbnails view

Collection large thumbnails view

By default, the Collections tab is shown (1). Its left sidebar contains all editable content sections, collections, and files. The selected collection lists its pages (2) either as cards with large thumbnails or as a compact vertical list:

Collection compact vertical list view

Collection compact vertical list view

Sorting (1), filtering (2) and grouping (3) view options are available on the right of the Collection panel:

View options

View options

Edit existing content

Open an entry in the collection list to edit its content:

Content editor

Content editor

The languages and preview are accessible on the top (1). Below, all page metadata fields are displayed (2).

The Body field is where the main content of the page is stored in Markdown.

Rich Text editor

Rich Text editor

By default, it is displayed as a Rich Text editor with user-friendly buttons for both common Markdown formatting (1) and custom shortcodes ShortcodesBundled Trigo Theme and Hugo shortcodes to enhance content. (2). The Markdown code can be seen by clicking on the Markdown icon on the right of the Body field.

Nested shortcodes can be added as well and their preview is shown on the preview side:

Nested shortcodes

Nested shortcodes

Note the hierarchy between the Body field (1), the Block shortcodes (2) and the nested Group shortcodes (3).

Some shortcodes are displayed as compact buttons opening a dialog, such as the Button shortcode shown here.

After making changes, use the Save button on the top-right.

Create New Content

Upload Images or Files

Images and documents can be uploaded directly from image or file fields in the Content editor.

Additional resources can be added via the assets panel (1):

Assets tab

Assets tab

Assets are grouped by collections and special folders (2). Management features (3) and information on the selected files (4) are available on the right side.

Manage Translations

As seen previously, pages that support multiple languages display the list of enabled and disabled translations on the top of the content editor:

Translations list

Translations list

New translations can be enabled and the original content copied easily in one go to be translated manually.

Some automatic online translation services are also available via an API key:

Automatic translation services

Automatic translation services

Need Help?

In case of problems:

  1. Go back to the general Dashboard and try again. Draft content can be discarded.
  2. Check that the correct language is selected.
  3. Fill in all required fields.
  4. Sometimes writing in plain Markdown instead of using the Rich Text editor can help.
  5. Don’t forget to save.
  6. Contact the website maintainers and provide all useful information: reproduction steps, screenshots, relevant pages, and CMS version visible in the help menu.