My personal blog hauleth.dev
blog
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: URL-only webmentions should wrap anywhere

+9 -7
+2 -2
sass/_post.scss
··· 159 159 margin: 2em 0; 160 160 } 161 161 162 - .webmentions li { 163 - line-break: loose; 162 + .webmentions .url-only { 163 + line-break: anywhere; 164 164 }
+7 -5
templates/page.html
··· 68 68 <ul> 69 69 {%- for mention in webmentions.children -%} 70 70 <li> 71 - <a href="{{ mention.url }}" class="webmention"> 72 - {%- if mention.name -%} 71 + {%- if mention.name -%} 72 + <a href="{{ mention.url }}"> 73 73 {{ mention.name }} 74 + </a> 74 75 {%- else -%} 76 + <a href="{{ mention.url }}" class="url-only"> 75 77 {{ mention.url }} 76 - {%- endif -%} 77 - </a> 78 + </a> 79 + {%- endif -%} 78 80 {%- if mention.author.name != "" -%} 79 - by <a href="{{ mention.author.url }}">{{ mention.author.name }}</a> 81 + by <a href="{{ mention.author.url }}">{{ mention.author.name | truncate(length=15) }}</a> 80 82 {%- endif -%} 81 83 </li> 82 84 {%- endfor -%}