Skip to content

Commit c5a00cb

Browse files
committed
Fix header logo; Add RSS link; Add xmlrpc for webmention
1 parent ed455eb commit c5a00cb

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

config.toml.example

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ theme = "indigo"
4848
Auth = "https://indieauth.com/auth"
4949
Token = "https://tokens.indieauth.com/token"
5050
# To get webmention support, just register at webmention.io and paste the link for endpoint here.
51-
#Webmention = "https://webmention.io/<yourusername>/webmention"
51+
# Please leave out /webmention or /xmlrpc in this url, and no trailing slash.
52+
#Webmention = "https://webmention.io/<yourusername>"
5253
# To get micropub support, you'll need to install a Micropub endpoint at your site and put its link there.
5354
# To get an endpoint with Hugo support, use nanopub: https://github.com/dg01d/nanopub
5455
# It will probably require some PHP hackery though, as it's fairly basic.

layouts/partials/head.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
{{ with .Site.Params.endpoints.Microsub }}
2626
<link rel="microsub" href="{{ . }}" />{{ end }}
2727
{{ with .Site.Params.endpoints.Webmention}}
28-
<link rel="webmention" href="{{ . }}" />{{ end }}
28+
<link rel="webmention" href="{{ . }}/webmention" />
29+
<link rel="webmention" href="{{ . }}/xmlrpc" />{{ end }}
2930
{{ with .Site.Params.paymentPointer }}
3031
<!-- Web Monetization payment pointer -->
3132
<meta name="monetization" content={{ . }}>

layouts/partials/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{ partial "head.html" . }}
44
<body>
55
<div id="sitelogo">
6-
<a class="glyph" alt="Home" href="{{ .Site.BaseURL }}"><img src={{ "images/site-logo.svg" | absURL }} alt="Site Logo" height="64px" width="64px"></a>
6+
<a class="glyph" alt="Home" href="{{ .Site.BaseURL }}"><img src={{ .Site.Params.Avatar | absURL }} alt="Site Logo" height="64px" width="64px"></a>
77
</div>
88
<header>
99
{{ partial "pagenav.html" . }}

layouts/partials/social.html

+4
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,9 @@
7676
src={{ "icons/instagram.svg" | absURL }} height="24px" width="24px"></a>
7777
</div>
7878
{{ end }}
79+
<div class="icon-24x24">
80+
<a class="glyph" alt="RSS Feed" href="/index.xml"><img
81+
src={{ "icons/rss.svg" | absURL }} height="24px" width="24px"></a>
82+
</div>
7983
</div>
8084
</aside>

static/icons/rss.svg

+1
Loading

0 commit comments

Comments
 (0)