<%- include('./components/navbar.ejs') %>
<%= profile.username %>
<% if (profile.id === user.id) { %>
Edit profile
<% } %>
<%= profile.description %>
<%= profile.createdAt %>
<% if (blogs.length != 0) { %> <% blogs.forEach(blog => { %> <%- include('./components/blog.ejs', { blog: blog, link: true }) %> <% }) %> <% } else {%>
This user havent blogs.
<% }%>