Added aliases to webmention grabbing

This commit is contained in:
Brandon Rozek 2022-05-20 16:56:06 -04:00
parent 713d4ed876
commit 50ebf56114

View file

@ -8,4 +8,5 @@
</form>
</main>
{{ $webmentionjs := resources.Get "js/webmention.min.js" }}
<script src="{{ $webmentionjs.Permalink }}" async></script>
{{ $aliasesCombined := delimit (apply .Aliases "absURL" ".") "|" }}
<script src="{{ $webmentionjs.Permalink }}" {{ printf "add-urls=%s" $aliasesCombined | safeHTMLAttr }} async></script>