Skip to content

Commit

Permalink
rename /src/jade/email/ to /src/jade/templates/
Browse files Browse the repository at this point in the history
  • Loading branch information
Krister Kari committed Jun 15, 2012
1 parent 96450cc commit ca4b05f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Jakefile
Expand Up @@ -5,7 +5,7 @@ fs = require('fs');
// ------------------

stylusDir = 'src/styl/';
jadeEmailDir = 'src/jade/email/';
jadeEmailDir = 'src/jade/templates/';
jadeSettingsDir = 'src/jade/settings/';
libDir = 'lib/';

Expand Down
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -44,9 +44,9 @@ Newsletter template settings are still work in progress, and are most likely goi

Here's how it's done currently:

**Setting files** can be found in `src/jade/settings/` folder. In the setting file you can setup your doctype and the name of your email template located in `src/jade/email/` folder.
**Setting files** can be found in `src/jade/settings/` folder. In the setting file you can setup your doctype and the name of your email template located in `src/jade/templates/` folder.

**Newsletter templates** can be found in `src/jade/email`. This is the file when your newsletter tables and HTML markup should be written. If you change the name of the template file, don't forget to change it in the settings file too.
**Newsletter templates** can be found in `src/jade/templates`. This is the file when your newsletter tables and HTML markup should be written. If you change the name of the template file, don't forget to change it in the settings file too.

**Stylesheets** can be found in the `src/styl` folder. You should write your newsletter's CSS to this file. Please notice, that currently your `.styl` files need to be indented in the same way than in examples. I'm trying to get that fixed. If you change the name of the stylesheet file, don't forget to change it in the newsletter template file too.

Expand Down
6 changes: 3 additions & 3 deletions src/jade/settings/boilerplate.jade
Expand Up @@ -15,12 +15,12 @@
if documentDoctype == 'xhtml'
doctype strict
html(xmlns="http://www.w3.org/1999/xhtml")
include ../email/boilerplate-email
include ../templates/boilerplate-template
else if documentDoctype == 'html4'
doctype html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"
html
include ../email/boilerplate-email
include ../templates/boilerplate-template
else if documentDoctype == 'html5'
doctype html
html
include ../email/boilerplate-email
include ../templates/boilerplate-template
6 changes: 3 additions & 3 deletions src/jade/settings/example.jade
Expand Up @@ -15,12 +15,12 @@
if documentDoctype == 'xhtml'
doctype strict
html(xmlns="http://www.w3.org/1999/xhtml")
include ../email/example-email
include ../templates/example-template
else if documentDoctype == 'html4'
doctype html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"
html
include ../email/example-email
include ../templates/example-template
else if documentDoctype == 'html5'
doctype html
html
include ../email/example-email
include ../templates/example-template
File renamed without changes.
File renamed without changes.

0 comments on commit ca4b05f

Please sign in to comment.