{{ define "title" }} {{ string .Blog.Lang "webmentions" }} - {{ mdtitle .Blog.Title }} {{ end }} {{ define "main" }}

{{ string .Blog.Lang "webmentions" }}

{{ $blog := .Blog }} {{ $current := .Data.Current }} {{ range $i, $mention := .Data.Mentions }}

From: {{ $mention.Source }}
{{ if not (eq $mention.Source $mention.Url ) }}u-url: {{ $mention.Url }}
{{ end }} To: {{ $mention.Target }}
Created: {{ unixtodate $mention.Created }}

{{ if $mention.Author }}{{ $mention.Author }}
{{ end }} {{ with $mention.Title }}{{.}}
{{ end }} {{ with $mention.Content }}{{.}}{{ end }}

{{ if eq $mention.Status "verified" }} {{ end }}
{{ end }} {{ if .Data.HasPrev }}

{{ string .Blog.Lang "prev" }}

{{ end }} {{ if .Data.HasNext }}

{{ string .Blog.Lang "next" }}

{{ end }}
{{ end }} {{ define "webmentionadmin" }} {{ template "base" . }} {{ end }}