<% if (plugins.fortune) { %>

Fortune

<% if (plugins.fortune.error) { %>
<%= plugins.fortune.error.message %>
<% } else { %>
Your fortune: <%= plugins.fortune.text %>
<% } %>
<% } %>