In index.md, there are two configurable variables where you could set the parameters according to your preferences:
layout: ["main-layout" or "tech-layout" (unquoted) to indicate page header style]
navbar: ["true" or "false" (unquoted) to indicate whether to show navigation bar]If you would like to add your custom styles, include your .css file into the /assets/css directory.
To include your customised text and images in the webpage, please ensure that the related:
-
Text files (
.txtor.md) are included in/text. -
Images files (
.png,.jpg,.svg, etc.) are included in/assets/img.
In index.md, include the following line formatted with the desired attributes and values to match the sections and assets you want to customise. You can include it as many times for different FILE_NAME (refer list below).
include FILE_NAME ATTRIBUTE1="VALUE1" ATTRIBUTE2="VALUE2" ...
(wrap the above in {% ... %})
- Block is listed according to sequence appearing in the webpage.
- Blank Block - To include an extra section below header (navigation bar) for adding text or image. Can be left blank.
- FILE_NAME: blank_block.html
- ATTRIBUTE: color (string or hexadecimal number), file (text file)
- First Block - To include image block.
- FILE_NAME: first_block.html
- ATTRIBUTE: first_block_img (image file)
- Second Block - To include the "Who We Are" introduction section.
- FILE_NAME: second_block.html
- ATTRIBUTE: second_block_img (image file), file (text file)
- Text Column - To include a text block with two columns.
- FILE_NAME: text_column.html
- ATTRIBUTE: left_flex (size of left column), right_flex (size of right column), color (left column color), file_left (text file for left column), file_right (text file for right column)
- Image Column - To include a block with left image column and right text column.
- FILE_NAME: image_column.html
- ATTRIBUTE: left_flex (size of left column), right_flex (size of right column), img (image file for left column), file (text file for right column)
- Last Block - To include the "Join us today" section.
- FILE_NAME: last_block.html
- ATTRIBUTE: last_block_img (image file), file (text file)
In _config.yml, edit the following attributes to customise:
- Header section
title:
subtitle:
name:
description:- Footer section
baseurl:
icon:
year:- Navigation Bar
nav:
...
title:
url:- Social Media Links
email:
github:
Home:
social:
...