Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/city-of-helsinki/hel-email-templates
HTML email templates for City of Helsinki Open Software Development
https://github.com/city-of-helsinki/hel-email-templates
Last synced: about 1 month ago
JSON representation
HTML email templates for City of Helsinki Open Software Development
- Host: GitHub
- URL: https://github.com/city-of-helsinki/hel-email-templates
- Owner: City-of-Helsinki
- License: mit
- Created: 2018-09-21T11:47:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-16T01:57:56.000Z (about 1 year ago)
- Last Synced: 2024-04-08T16:41:46.367Z (9 months ago)
- Language: HTML
- Homepage: https://city-of-helsinki.github.io/hel-email-templates/
- Size: 938 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Email templates
### For Helsinki Open Software DevelopmentHTML email templates using the starter project for [Foundation for Emails](http://foundation.zurb.com/emails).
Find out more in [Foundation for Emails github](https://github.com/zurb/foundation-emails).
## Installation
To develop this template, your computer needs [Node.js](https://nodejs.org/en/) 0.12 or greater. The template can be installed with the Foundation CLI, or downloaded and set up manually.
### Using the CLI
Download or clone this repo and run `yarn` inside the project folder.
Email templates and assets are found in `src` folder. Run `yarn run build` to compile templates to `docs` folder to be copied and used in your email application.
## Build Commands
### Developing and Previewing
Run `yarn start` to kick off the build process. A new browser tab will open with a server pointing to your project files. Pages are compiled to `docs` directory with `{{ handlebars }}` replaced with test content.### Compiling Templates
Run `yarn run build` to inline your CSS into your HTML along with the rest of the build process. Pages are compiled to `docs` directory.Pages wrapped with `{{!-- raw --}}` ... `{{!-- /raw --}}` tags are compiled `{{ handlebars }}` intact and `{{!-- handlebar comments --}}` visible. These templates are ready to use in your email application. See the pipeline in `gulpfile.babel.js` if you need to tweak the output syntax to match your email service.