<% if (vanishingMessages.length == 0) { %>
You don't have any vanishing messages yet
<% } else { %>
Vanishing Messages
<% vanishingMessages.reverse().map(message => { %>
<%= message.value.content.text %>
<% }) %>
<% } %>
<%= profile.name %>
<%= profile.description %>
Your Wall
<% if (posts.length > 0) { %>
<%- include('_posts', { posts }) %>
<% } else { %>
You have no posts yet, publish something!
<% } %>
<% if (friends.requestsReceived.length) { %>
Friend Requests
<%- include('_friends', { friends: friends.requestsReceived }) %>
<% } %>
Friends
<%- include('_friends', { friends: friends.friends }) %>
Requests Sent
<%- include('_friends', { friends: friends.requestsSent }) %>
<%- include('_footer') %>