mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-21 15:56:29 -05:00
Added aliases to webmention grabbing
This commit is contained in:
parent
713d4ed876
commit
50ebf56114
1 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue