Code Monkey home page Code Monkey logo

nunjucks-starter-pack's Introduction

alt text

nunjucks-starter-pack

Easily modify multiple HTML files from one place. Use this document as a way to quickly start any new project.

View the demo

Getting Started / Installation

Production

  • Run command gulp prod

Features

  • Gulp.js
  • SASS compiler
  • CSS minify
  • Nunjucks render
  • Static Server + watching scss/html/njk files
  • Bootstrap 4

Structure

  • The src directory contains development code.
  • Compiled code for production can be found in the dist directory. (dist directory will be automatically created after running the command 'gulp prod' )
.
├── app/
|   ├── css/
|   ├── img/
|   └── pages/
|   |   ├── index.njk
|   |   ├── burger-1.njk
|   |   ├── burger-2.njk
|   |   ├── burger-3.njk
|   |   └── burger-4.njk
|   ├── scss/
|   └── templates/
|       ├── layout-home-page.njk
|       └── layout-burger-page.njk
|          └── partials/
|               ├── head.njk
|               ├── nav.njk
|               ├── content.njk
|               ├── content-for-burger.njk
|               └── footer.njk
|
|
└── dist/
    ├── index.html
    ├── burger-1.html
    ├── burger-2.html
    ├── burger-3.html
    ├── burger-4.html
    ├── css/
    └── img/

Example how to set the page title and heading from parent. alt text

For more information

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.