Skip to content

Add page to the website

Wouter edited this page Nov 23, 2021 · 1 revision

minimal mistakes

The website is using github templates from minimal mistakes.

adding a new page

  • The content should be in markdown.
  • new file is placed in folder _pages

page header

The page header contains the info of the title and the url to the page.

---
layout: single
title: Getting Started FAQ  <--- title of the page
overview: true
permalink: /gs_faq/    <--- url in website

sidebar:
  nav: "gso_nav"   <--- side bar navigation

toc: true    <--- enable TOC navigation on the right
toc_label: Table of Contents
toc_icon: cog
toc_sticky : true
---

images

new images should be placed in folder: /assets/images

home page

The main page is described in _pages/home.md

navigation

The navigation structure is defined in _data/navigation.yml

  • main is the top navigation
  • others are the sidebar navigation on the left per page.

note that the TOC navigation is per page, indicated in the header.

Clone this wiki locally