ADD A PAGE
Drop a file in pages folder.
Add the pagename.html
file in assets/pages/
with a front-matter:
-
layout
Basic layout isdefault
, if you need a new one add a filelayout-name.html
in_layouts/
folder. -
title
Used in status bar. -
permalink
URL of the page.
Custom variables
-
script: [ 'customscript.js' ]
If page needs custom scripts add here the filename along with the file inassests/js/
. -
description: page-description
Used in page meta description, overridesite.description
.
Site menù
You can add and edit menù links, just edit the file _data/menu.yml
:
-
name
Clickable text on the menù. -
url
Page permalink. -
description
Title of the link.