% if (typeof profileSection !== "undefined" && profileSection) { %> <% const birthday = getBirthday(user.id); %>
<% if (birthday) { %> <% } %> <% } else { %> <%- include("../../../src/web/views/partials/layout-top", { title }) %>Birthday profile
Birthday: <%= formatBirthdayDateOnly(birthday) %>
<% } else { %>This user's birthday is not visible to you.
<% } %>