diff --git a/views/issue.eta b/views/issue.eta index 6101414..e150c71 100644 --- a/views/issue.eta +++ b/views/issue.eta @@ -10,8 +10,7 @@

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

-

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

+

#<%= it.issue.number %><%= title %>

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

<%= it.issue.body %> diff --git a/views/spanwords.eta b/views/spanwords.eta deleted file mode 100644 index 7e7a736..0000000 --- a/views/spanwords.eta +++ /dev/null @@ -1,5 +0,0 @@ -<% /* - satori, the HTML-to-SVG engine we use, has no concept of "inline" or "inline-block" - CSS display values. So, we must emulate them with flex-wrap and making each word a ... -*/ %> -<% for (const word of it.text.split(/\s+/)) { %><%= word %><% } %> \ No newline at end of file diff --git a/views/user.eta b/views/user.eta index e30a3c7..55cdbc3 100644 --- a/views/user.eta +++ b/views/user.eta @@ -14,9 +14,8 @@ <%= it.user.full_name || it.user.username %> @<%= it.user.username %>

-

<%= description %> -

-
+

<%= description %>

+
<% if (it.user.avatar_url) { %>