<%- include('_header', { main_class: "screen-center" }) %>

<%= profile.name %>

<% if (friendshipStatus == "friends") { %>
✅ Friends
<% } %>
<%- escapeMarkdown(profile.description || "").substr(0, 70) %>
<% if (friendshipStatus == "request_received") { %>

<%= profile.name %> sent you a friendship request

<% } else if (friendshipStatus == "request_rejected") { %>

You rejected <%= profile.name %> friendship request

<% } %>
<%- include('../shared/_friendship_button') %> <%- include('secrets/_compose_single') %>
" method="POST">
140

<%= profile.name %>'s Wall

<% if (posts.length == 0) { %>
No posts yet
<% } else { %> <%- include('../shared/_posts', { posts }) %> <% } %>

Friends

<%- include('_friends', { friends: friends.friends }) %> <% if (friends.friends.length == 0) { %>

No friends

<% } %>

Communities

<% communities.map(community => { %> #<%= community %> <% }) %> <% if (communities.length == 0) { %>

No communities

<% } %>
<%- include('_footer') %>