Menu icon Foundation

My Posts


My Comments

Arsalan commented on Arsalan's post over 1 year

I added my work in Github repo for easy understanding.
https://github.com/mabc224/foundation-for-emails-mandrill-example

Arsalan commented on Arsalan's post over 1 year

I have solved this problem with a little trick.default.html in layout dir
<html><head>  <title>Definitely STILL an Email!</title></head><body>  {{> body}}</body></html>
 
Customfile.html in pages dir
{{newLink}}
{{#each comments}}
<h2><a href="{{id}}">{{title}}</a></h2>
<div>{{date}}</div>
{{/each}}

{{#if title}}
  <h2>Print me </h2>>
{{/if}}
 
It will produce
<html>
<head>
  <title>Definitely STILL an Email!</title>
</head>
<body>
  {{newLink}}
  {{#each comments}}
  <h2><a href="{{id}}">{{title}}</a></h2>
  <div>{{date}}</div>
  {{/each}}
  {{#if title}}
  <h2>Print me </h2>>
  {{/if}}
</body>
</html>
 
 

Posts Followed

No Content

Following

    No Content

Followers

My Posts

My Comments

You commented on Arsalan's post over 1 year

I added my work in Github repo for easy understanding.
https://github.com/mabc224/foundation-for-emails-mandrill-example

You commented on Arsalan's post over 1 year

I have solved this problem with a little trick.default.html in layout dir
<html><head>  <title>Definitely STILL an Email!</title></head><body>  {{> body}}</body></html>
 
Customfile.html in pages dir
{{newLink}}
{{#each comments}}
<h2><a href="{{id}}">{{title}}</a></h2>
<div>{{date}}</div>
{{/each}}

{{#if title}}
  <h2>Print me </h2>>
{{/if}}
 
It will produce
<html>
<head>
  <title>Definitely STILL an Email!</title>
</head>
<body>
  {{newLink}}
  {{#each comments}}
  <h2><a href="{{id}}">{{title}}</a></h2>
  <div>{{date}}</div>
  {{/each}}
  {{#if title}}
  <h2>Print me </h2>>
  {{/if}}
</body>
</html>
 
 

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content