digest_html.naml

<override_macro name="digest_html" requires="subscription,node_list" unindent="true">
    <n.set_local_subscription.this_subscription/>
    <h2><t>Digest Email</t></h2>
    <h3><n.local_subscription.node.subject/></h3>
    <div style="color:#666666;font-weight:bold">
        <n.digest_post_count/>
    </div>

    <n.reset_list_index/>
       <n.loop.>
        <p>
           <n.comment.>Reduced font size, increased chars to 500 and indented</n.comment.>
            <div style="font-size:100%">
              <a href="[n.current_node.url/]"><n.current_node.digest_subject/></a>
           </div>
                <div style="font-size:80%; padding-left:25px">
                    <n.trim.truncate. size="500">
                     <n.compress.current_node.message.as_text/>
                </n.trim.truncate.>
           </div>
           <div style="color:#666666; padding-left:25px; font: 11px tahoma,geneva,helvetica,arial,sans-serif;">
              <t>by <t.author><b><n.current_node.owner.name/></b></t.author></t>
              <t>on <t.date.current_node.when_created.custom_format format="yyyy-MM-dd"/></t>
              <t>in <t.location><i><n.current_node.get_app_node.subject/></i></t.location></t>
           </div>
        </p>
    <br/>
    </n.loop.> 

    <br/>
    <br/>
    <n.unsubscribe_line format="html"/>

    <hr noshade="noshade" size="1" color="#cccccc" />
    <div style="color:#666666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;line-height:1.5em">
        <t>DO NOT REPLY TO THIS EMAIL</t><br/>
        <br/>
        <t>Replies sent to this address are not read or processed.</t>
        <t>If you want to respond to a post for which you received this email,
        please go to the website: <t.url.local_subscription.node.url/></t>
        <br/>
        <n.macro_viewer_email_link macro="digest_html"/>
    </div>
</override_macro>