mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-07-31 14:12:01 +00:00
Fixed HTML errors
This commit is contained in:
parent
525b28e98b
commit
be207e0df3
2 changed files with 1 additions and 2 deletions
|
@ -3,6 +3,6 @@
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
<body>
|
<body>
|
||||||
{{ block "main" . }}{{ end }}
|
{{ block "main" . }}{{ end }}
|
||||||
|
{{ partial "footer.html" . }}
|
||||||
</body>
|
</body>
|
||||||
{{ partial "footer.html" . }}
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
<input type="hidden" name="target" value="{{ .Permalink }}">
|
<input type="hidden" name="target" value="{{ .Permalink }}">
|
||||||
<button type="submit">Submit</button>
|
<button type="submit">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
</main>
|
|
||||||
{{ $webmentionjs := resources.Get "js/webmention.min.js" }}
|
{{ $webmentionjs := resources.Get "js/webmention.min.js" }}
|
||||||
{{ $aliasesCombined := delimit (apply .Aliases "absURL" ".") "|" }}
|
{{ $aliasesCombined := delimit (apply .Aliases "absURL" ".") "|" }}
|
||||||
<script src="{{ $webmentionjs.Permalink }}" {{ printf "add-urls=%s" $aliasesCombined | safeHTMLAttr }} async></script>
|
<script src="{{ $webmentionjs.Permalink }}" {{ printf "add-urls=%s" $aliasesCombined | safeHTMLAttr }} async></script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue