Skip to content

Boilerplate and base project to create static websites with AMP, Nunjucks and Gulp

License

Notifications You must be signed in to change notification settings

Ismaestro/ampjucks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ampjucks

Base project to built a website with AMP, Nunjucks and Gulp

Demo example
Report bug · Request feature

Table of contents

Features

  • Real template from AMP Start project (e-commerce)
  • Nunjucks templates
  • Gulp tasks for development server, watch changes, livereload, minify files, clean dist folder, etc
  • Free template
  • Internationalization
  • SASS support. Files separated and mixed and minified with gulp tasks
  • Sitemap autogenerated

Quick start

npm i - Installs everything needed

npm run start - Runs the server and watch for file changes in src folder. localhost:8000

npm run build - Creates dist folder ready to deploy it

npm run validate - Validate all html files inside dist folder to be AMP valid

Dist folder:

Build task creates two different folders with the HTML files one per language. Deploy this folders the way you like the most.

  • If you use Webstorm, see this.

Bugs and feature requests

Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Creators

Ismael Ramos

Buy Me a Coffee at ko-fi.com

Copyright and license

Code and documentation copyright 2011-2018 the authors. Code released under the MIT License.

Enjoy 🤘