Custom content
There is content that is integrated in different locations in the web app. E.g. an optional About page should show up automatically in the navigation and/or footer but not in the table of content. Other examples include:
Examples
- About page
- Copyright/license
- Usage instructions
- Imprint, collaborators, authors
- Contact page
- Disclaimer
These are mostly custom pages that should be accessible via dynamic Next.js routes. Apart from that there is also content that is inserted at certain places (e.g. license or contributors in footer).
Implementation
Custom content are listed in the course manifest file
JSON (compiled source)
"custom_content": [
{
"name": "about",
"title_de": "Über den Kurs",
"title_en": "About the course",
"link_in_nav": true,
"link_in_footer": true
},
{
"name": "license",
"title_de": "Lizenz",
"title_en": "License",
"place_in_footer": true
}
]