Implements Atom feed generation for blog posts, photos, and the main site feed. This allows users to subscribe to content using Atom-compatible feed readers. Includes an XSLT stylesheet for rendering Atom feeds in a human-readable format in browsers.
15 lines
737 B
HTML
15 lines
737 B
HTML
<meta name="fediverse:creator" content="@fundor333@mastodon.social">
|
|
|
|
<link rel="webmention" href="https://webmention.io/fundor333.com/webmention" />
|
|
<link rel="pingback" href="https://webmention.io/fundor333.com/xmlrpc" />
|
|
<link rel="stylesheet" href="/css/webmention.css" />
|
|
|
|
<script src="https://kit.fontawesome.com/2f3b6e2e4c.js" crossorigin="anonymous"></script>
|
|
|
|
{{- $style := resources.Get "sass/add.scss" | resources.ExecuteAsTemplate "add.scss" . | toCSS (dict "targetPath" "add.css") | minify | fingerprint }}
|
|
<link href="{{ $style.RelPermalink }}" rel="stylesheet">
|
|
|
|
{{ with .OutputFormats.Get "atom" }}
|
|
<link href="{{ .RelPermalink }}" rel="alternate" type="{{.MediaType.Type}}" title="{{ $.Site.Title }}">
|
|
{{ end }}
|