<% layout('layout') %> <% let title = it.issue.title const titleCharLimit = 50 if (title.length > titleCharLimit) { title = title.slice(0, titleCharLimit) + '...' } let body = it.issue.body const bodyCharLimit = 50 if (body.length > bodyCharLimit) { body = body.slice(0, bodyCharLimit) + '...' } %>

@<%= it.issue.repository?.full_name || it.issue.base.repo.full_name %>

#<%= it.issue.number %><%~ include('spanwords', {text: title}) %>

<% if (it.issue.body) { %>

<%~ include('spanwords', {text: body})%>

<% } %>

<%= it.issue.user.full_name || it.issue.user.login %>

opened on <%= new Intl.DateTimeFormat('en-US', { dateStyle: 'long' }).format(new Date(it.issue.created_at)) %>