this repo has no description

fix: whitespace around links

Changed files
+10 -14
templates
+6 -6
flake.lock
···
"nodes": {
"flake-utils": {
"locked": {
-
"lastModified": 1656065134,
-
"narHash": "sha256-oc6E6ByIw3oJaIyc67maaFcnjYOz1mMcOtHxbEf9NwQ=",
+
"lastModified": 1656928814,
+
"narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=",
"owner": "numtide",
"repo": "flake-utils",
-
"rev": "bee6a7250dd1b01844a2de7e02e4df7d8a0a206c",
+
"rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249",
"type": "github"
},
"original": {
···
},
"nixpkgs": {
"locked": {
-
"lastModified": 1655567057,
-
"narHash": "sha256-Cc5hQSMsTzOHmZnYm8OSJ5RNUp22bd5NADWLHorULWQ=",
+
"lastModified": 1658430343,
+
"narHash": "sha256-cZ7dw+dyHELMnnMQvCE9HTJ4liqwpsIt2VFbnC+GNNk=",
"owner": "NixOS",
"repo": "nixpkgs",
-
"rev": "e0a42267f73ea52adc061a64650fddc59906fc99",
+
"rev": "e2b34f0f11ed8ad83d9ec9c14260192c3bcccb0d",
"type": "github"
},
"original": {
+4 -8
templates/page.html
···
{%- for mention in webmentions.children -%}
<li>
{%- if mention.name -%}
-
<a href="{{ mention.url }}">
-
{{ mention.name }}
-
</a>
+
<a href="{{ mention.url }}">{{ mention.name }}</a>
{%- else -%}
-
<a href="{{ mention.url }}" class="url-only">
-
{{ mention.url }}
-
</a>
+
<a href="{{ mention.url }}" class="url-only">{{ mention.url }}</a>
{%- endif -%}
-
{%- if mention.author.name != "" -%}
-
by <a href="{{ mention.author.url }}">{{ mention.author.name | truncate(length=15) }}</a>
+
{% if mention.author.name != "" %}
+
by&nbsp;<a href="{{ mention.author.url }}">{{ mention.author.name | truncate(length=15) }}</a>
{%- endif -%}
</li>
{%- endfor -%}