mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 06:14:22 +01:00
link to author profile in telegram instant view.
This commit is contained in:
@@ -29,15 +29,22 @@
|
||||
<article>
|
||||
<h1>
|
||||
{{ if not (eq "" .Subject) }} {{.Subject}} {{ else }}
|
||||
{{.Metadata.ShortName}} on Nostr: {{ end }}
|
||||
<a href="/{{.Metadata.Npub}}">{{.Metadata.ShortName}}</a> on Nostr: {{ end
|
||||
}}
|
||||
</h1>
|
||||
|
||||
{{ if not (eq "" .ParentLink) }}
|
||||
<h2>in reply to {{ .ParentLink }}</h2>
|
||||
{{ else if not (eq "" .Summary) }}
|
||||
<h2>{{ .Summary }}</h2>
|
||||
<aside>in reply to {{ .ParentLink }}</aside>
|
||||
{{ end }}
|
||||
<!---->
|
||||
{{ if not (eq "" .Summary) }}
|
||||
<aside>{{ .Summary }}</aside>
|
||||
{{ end }}
|
||||
|
||||
<!---->
|
||||
{{.Content}}
|
||||
{{.Content}} {{ if not (eq "" .Subject) }}
|
||||
<aside>
|
||||
<a href="/{{.Metadata.Npub}}">{{.Metadata.ShortName}}</a>
|
||||
</aside>
|
||||
{{ end }}
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user