New version here: https://herget.me/investing-guide
This tutorial is made with vanilla HTML and CSS. Translations and contributions should be as easy as possible. GitHub actions will build and deploy every commit.
- AMP ⚡: It's an AMP-based static site. AMP is a web component framework for easily creating user-first websites.
- GitHub actions: Automatic build and deployment to GitHub pages. No local build required. Files can be commited right in the browser.
- Chart: Made with RoughViz and embedded as static SVG.
- Node & gulp: Node.js, npm and gulp are used to build the translations.
- static-i18n: It's using the static-i18n translation framework (gulp-static-i18n-html) to generate the static html files.
- Analytics: Google Tag Manager for AMP to track page view, time on site and scrolldepth.
- Comments: Disqus comments embedded as amp-iframe. How to use disqus with amp.
Pull requests are the best way to propose changes to the tutorial. We actively welcome your pull requests:
- Fork the repo and create your branch from
master
. - Validate your code using the AMP validator. Add #development=1 to your url and check the browser console for validation errors.
- Issue that pull request!
Run following commands to set up your local environment. It will start a local server and watch for your changes.
npm install
npm start