The index.html file - where it all begins

When building a Web Application with Quanta, the index.html file represents the "skeleton" of all of your web pages. 

It acts as a main wrapper for whatever your web pages will contain, so you need to make it generic enough to not have components. 

Your index.html file could be as simple or complicated, as you wish. You can use it to embed all your data and metadata, external scripts, (stats, widgets, etc. etc.).

quanta index
The index.html file must be located in the root of your site/app folder, and can not be moved elsewhere. 

When you firstly install Quanta, a sample index.html file will be created for you. It's a good idea to use it as a starting point, to be extended as you wish.

Let's start by having a look at the index.html site of the Quanta site (yes, the one you are seeing right now!)

<!DOCTYPE html>
<html lang="[LANGUAGE]">
<!-- Headers -->

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="theme-color" content="#333">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src=""></script>
window.dataLayer = window.dataLayer || [];

function gtag() {
gtag('js', new Date());

gtag('config', 'UA-90634835-3');

<!-- Body -->
<body class="canonical grid three-rows [BODY_CLASSES]">
<!-- Display messages (if any) -->
<!-- Site's header -->
<!-- Currently viewed node's content -->
<!-- Site's footer -->