Base project to built a website with AMP, Nunjucks and Gulp
Report bug
·
Request feature
- 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
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.
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.
Ismael Ramos
Code and documentation copyright 2011-2018 the authors. Code released under the MIT License.
Enjoy 🤘