diff --git a/assets/js/main.js b/assets/js/main.js index 57e6416b..ce8a8dd8 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -54,6 +54,10 @@ const performClap = (e) => { const clapKey = (action) => `clap:${(new URL(action)).pathname}`; const setClapCount = (btn, clapCount) => { + if (clapCount === 0) { + return + } + const count = clapCountEl(btn); if (count) { count.textContent = Math.max(count.textContent, clapCount) diff --git a/content/notes/twitter/15374742611/index.md b/content/notes/twitter/15374742611/index.md index 7a6912aa..44610121 100644 --- a/content/notes/twitter/15374742611/index.md +++ b/content/notes/twitter/15374742611/index.md @@ -1,7 +1,16 @@ --- date: "2010-06-03T23:35:28Z" +type: repost tags: - imported - from-twitter +repostOf: https://www.seoptimise.com/blog/2010/06/interviews-with-facebook-users.html +references: + - url: https://www.seoptimise.com/blog/2010/06/interviews-with-facebook-users.html + archiveURL: https://web.archive.org/web/20100607030612/http://www.seoptimise.com/blog/2010/06/interviews-with-facebook-users.html + name: Interviews with UK's First Facebook Users + author: Richard Fergie + type: article + date: 2010-06-03 --- -.@richardfergie interviews me & peers on being a facebook early adopter - I am a massive nerd :P [http://www.seoptimise.com/blog/2010/06/interviews-with-facebook-users.html](http://www.seoptimise.com/blog/2010/06/interviews-with-facebook-users.html) +{{< friend "Richard Fergie" >}} interviews me & peers on being a facebook early adopter - I am a massive nerd :P diff --git a/layouts/partials/rich-link.html b/layouts/partials/rich-link.html index 3d2c541e..b28faa34 100644 --- a/layouts/partials/rich-link.html +++ b/layouts/partials/rich-link.html @@ -18,4 +18,5 @@ {{- end -}} {{- end -}} {{- $ref := partial "reference.obj" (dict "url" $url "references" .references) -}} +{{- $url = $ref.archiveURL | default $url }} {{ $text | safeHTML }} \ No newline at end of file