logo logo

G2S Website Builder

G2S Documentation

Other Links

BETA!Our website & documentation is currently in development.

The Default Website

By default you get the following folders and files added to new websites.

Pages Folder:

The pages folder is where you will keep all of your pages, for example, you may have a home page, an about us page and a contact page.

By default, you get a home.html and 404.html file added to the pages folder.

Gallery Folder:

The gallery folder is where you will keep your images and videos.

By default, no files are added to the gallery folder.

Include Folder:

Files added to the include folder will be added to the websites root directory.

By default, you get a robots.txt file, a manifest.json file and a global-head.html file.

The global-head file will not be added to the websites root directory, instead, the G2S will add the heads content to the head node of every page. For example, we may need to add a script node to the head of every page, but instead of adding it to every page individually, we can simply add it to the global-head file and have the G2S add it to every page for us automatically.

CSS Folder:

The css folder is where you will keep your css (style sheet) files.

By default, you get a style.css file added to the css folder. This file contains some basic css to get you started.

JS Folder:

The js folder is where you will keep your JavaScript files.

By default, you get an empty script.js file added to the js folder.

Snippets Folder:

The snippets folder is where you will keep all of your premade HTML snippets. For example, when you create a navbar, you will usually want to add it to the top of every page, but you do not want to add the code to every page, else when making changes to the navbar, you would have to update it on every page, the better way, is to create a snippet containing the navbar's code and simply add a reference to the snippet on every page, this way when you edit the navbar's snippet, all pages will update automatically.

By default, no files are added to the snippets folder.

Next, we will upload our new website to a Microsoft Azure storage account.