Add support for 'mention-of' type webmentions
							parent
							
								
									e3aefacd70
								
							
						
					
					
						commit
						fcf897a797
					
				|  | @ -5,6 +5,7 @@ | |||
|     {{ $likes := index (index .Site.Data.webmentions $urlized) "like-of" }} | ||||
|     {{ $replys := index (index .Site.Data.webmentions $urlized) "in-reply-to" }} | ||||
|     {{ $reposts := index (index .Site.Data.webmentions $urlized) "repost-of"}} | ||||
|     {{ $mentions := index (index .Site.Data.webmentions $urlized) "mention-of"}} | ||||
|     {{ if $likes }} | ||||
|     <h4>Likes</h4> | ||||
|     {{ range $i, $like := $likes }} | ||||
|  | @ -20,6 +21,15 @@ | |||
|     {{ end }} | ||||
|     {{ end }} | ||||
| 
 | ||||
|     {{ if $mentions }} | ||||
|     <h4>Mentions</h4> | ||||
|     <ul> | ||||
|     {{ range $i, $mention := $mentions }} | ||||
|         <li><a href="{{$mention.url}}">{{$mention.url}}</a></li> | ||||
|     {{ end }} | ||||
|     </ul> | ||||
|     {{ end }} | ||||
| 
 | ||||
|     {{ if $replys }} | ||||
|     <h4>Comments and Replies</h4> | ||||
|     {{ range $i, $reply := $replys }} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue