this repo has no description

fix: webmentions should be loosely wrapped

Changed files
+5 -4
sass
templates
+2 -3
sass/_post.scss
···
margin: 2em 0;
}
-
.webmention {
-
overflow: hidden;
-
text-overflow: ellipsis;
}
···
margin: 2em 0;
}
+
.webmentions li {
+
line-break: loose;
}
+3 -1
templates/page.html
···
{{ mention.url }}
{%- endif -%}
</a>
-
by <a href="{{ mention.author.url }}">{{ mention.author.name }}</a>
</li>
{%- endfor -%}
</ul>
···
{{ mention.url }}
{%- endif -%}
</a>
+
{%- if mention.author.name != "" -%}
+
by <a href="{{ mention.author.url }}">{{ mention.author.name }}</a>
+
{%- endif -%}
</li>
{%- endfor -%}
</ul>