Skip to main content


Thank you for purchasing our HTML template. This documentation will help you to:

  • Understand structure and architecture of the template
  • Install all required dependencies and start project locally
  • How to modify templates and extend template features
  • How to build production package and deploy on live server

IF you are not interested in nunjucks templating language, you can just run command npm run start and copy HTML code from generated /dist folder

Tech stack#

File structure#

โ”œโ”€โ”€ travelataโ”‚   โ”œโ”€โ”€ src # Development project with nunjucks and sass filesโ”‚   โ”‚   โ”œโ”€โ”€ _data # Your global data folder (more details hereโ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ site.js # Site data like (title, description, author)โ”‚   โ”‚   โ”œโ”€โ”€ _includes # Folder where you can have reusable components or partsโ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ components # Reusable components like footer, nav, headerโ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ layouts # Site layouts, in our case we have only base.njk layoutโ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ macros # Allows you to define reusable chunks of content (โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ parts # Content parts for pages like home, about, destinations, blogโ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ svg # Place all your SVG in thins folder and use them inline like {% include "svg/logo.svg" %}โ”‚   โ”‚   โ”œโ”€โ”€ assets # Images and Javascript assetsโ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ img # Images folderโ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ js # Main javascript files of the projectโ”‚   โ”‚   โ”œโ”€โ”€ css # All styling filesโ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ styles.css # Main stylesheet fail with tailwind setupโ”‚   โ”‚   โ”œโ”€โ”€ pages # All site pagesโ”‚   โ”‚   โ”œโ”€โ”€ posts # All site postsโ”‚   โ”‚   โ”œโ”€โ”€ index.njk # Main index file of the projectโ”‚   โ”‚   โ”œโ”€โ”€ robots.txt # File to control indexing by search engines (SEO)โ”‚   โ”œโ”€โ”€ dist # Production build (output with HTML, CSS, JS files)โ”‚   โ”œโ”€โ”€ utils # Utils functions for eleventyโ”‚   โ”œโ”€โ”€ node_modules # nodejs package managerโ”‚   โ”œโ”€โ”€ package.json # nodejs configuration file with dependencies managementโ”‚   โ”œโ”€โ”€ tailwind.config.js # tailwind configuration file (โ”‚   โ”œโ”€โ”€ .eleventy.js # eleventy configuration file (


To install production version of template you can just copy all content from dist folder and move to a server.


To install development version of template with support for nunjucks & eleventy files, you need to install nodejs LTS version.

Go to root folder of your project (same level with package.json file) and execute following command in terminal:

cd my-websitenpm install

Running the development server#

To preview your changes as you edit the files, you can run a local development server that will serve your website and reflect the latest changes.

npm run start


Travelata is a modern static website generator so we need to build the website into a directory of static contents and put it on a web server so that it can be viewed. To build the website:

npm run build

This command will build production-ready website, you can find build in my-website/dist folder