{% macro post(p) %}
<mbp:pagebreak>
<h1>{{ p.title }}</h1>
<em>Original post: <a href="http://redd.it/{{ p.id }}">{{ p.id }}</a></em>
<br />
<em>by /u/{{ p.author }}</em>
<p>{{ markdown(p.selftext) }}</p>
{% endmacro %}

{% macro post(p) %}
<mbp:pagebreak>
<h1>{{ p.title }}</h1>
<em>Original post: <a href="http://redd.it/{{ p.id }}">{{ p.id }}</a></em>
<br />
{% if p.author != '[deleted]' %}
<em>by <a href="http://reddit.com/u/{{ p.author }}">{{ p.author }}</a></em>
{% endif %}
<p>{{ markdown(p.selftext) }}</p>
{% endmacro %}

Handle the case of deleted users. Author name is now a link to user page.
Handle the case of deleted users. Author name is now a link to user page.
