Skip to content

Commit

Permalink
Update webmentions.html
Browse files Browse the repository at this point in the history
  • Loading branch information
victoriadrake authored Aug 17, 2024
1 parent f986dc1 commit 3958c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/webmentions.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
</a>
{{ end }}

{{ if .Site.IsServer }}
{{ if hugo.IsServer }}
<script src="{{ print .Site.BaseURL }}/js/webmention.js" data-page-url="{{ print .Site.Author.domain .RelPermalink }}" data-wordcount="100"
async></script>
{{ else }}
<script src="/js/webmention.min.js" data-wordcount="100" async></script>
{{ end }}
{{ end }}

0 comments on commit 3958c67

Please sign in to comment.