Browse Source

trying to get webmentions to see the bridgy fed link

master
jk 3 years ago
parent
commit
643218894e
  1. 1
      config.toml
  2. 4
      themes/hugo-atom-feed/layouts/_default/list.atom.xml
  3. 3
      themes/nipponalba/layouts/_default/single.html

1
config.toml

@ -55,6 +55,7 @@ siteLogo = "images/na-sm.png"
keywords = ""
favicon = "favicons/"
feedSections =["article","note","photo"]
email = "jk@nipponalba.scot"
[languages.en.Params]

4
themes/hugo-atom-feed/layouts/_default/list.atom.xml

@ -38,10 +38,10 @@
<logo>{{ (. | fingerprint).Permalink }}</logo>
{{- end }}
{{ end }}
{{ with site.Author.name -}}
{{ with Site.Params.author -}}
<author>
<name>{{ . }}</name>
{{ with site.Author.email }}
{{ with Site.Params.email }}
<email>{{ . }}</email>
{{ end -}}
</author>

3
themes/nipponalba/layouts/_default/single.html

@ -98,11 +98,10 @@
{{ if eq .Params.posttype "in-reply-to" }} replied to <i class="fa fa-comment fa-1.5x fa-fw" aria-hidden="true" title="Likes"></i> <a href="{{ .Params.xAuthorUrl }}" target="_blank">{{ .Params.xAuthor }}</a>'s <a href="{{ index .Params "in-reply-to" }}" class="u-in-reply-to u-target">{{ .Params.xPostType }}</a>{{ end }}
{{ if eq .Params.posttype "repost-of" }} shared <i class="fa fa-share fa-1.5x fa-fw" aria-hidden="true" title="Likes"></i> <a href="{{ .Params.xAuthorUrl }}" target="_blank">{{ .Params.xAuthor }}</a>'s <a href="{{ index .Params "repost-of" }}" class="u-repost-of u-target">{{ .Params.xPostType }}</a>{{ end }}</p>
{{ if .Params.xContent }}<section class="h-cite"><span class="remotePhoto"><a href="{{ .Params.xAuthorUrl }}" target="_blank"><img src="{{ .Params.xPhoto }}" title="{{ .Params.xAuthor }}" alt="{{ .Params.xAuthor }}'s avatar"/></a></span><span class="response-date">{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" .Params.xPublished }}</span><br/><span class="response-text">{{ plainify .Params.xContent }}</span></section>{{end}}
{{ if .Content }}<section class="p-name p-content"><br/>{{ .Content }}</section>{{ end }}
{{ if .Content }}<section class="p-name e-content"><br/>{{ .Content }}</section>{{ end }}
{{ if not (eq .Type "article") }}<section class="info">
<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><span class="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a></span><br/>
</section>{{ end }}
</article>
<a class="u-url" style="display:none;" href="https://fed.brid.gy/">https://fed.brid.gy/</a>
</section>
{{end}}