mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-18 14:54:24 +01:00
use timestamps as a default title in Atom feed
This commit is contained in:
@@ -24,6 +24,8 @@
|
|||||||
<id>https://{{$.Host}}/{{$ee.Nevent}}</id>
|
<id>https://{{$.Host}}/{{$ee.Nevent}}</id>
|
||||||
{{if not (eq "" $ee.RssTitle)}}
|
{{if not (eq "" $ee.RssTitle)}}
|
||||||
<title>{{$ee.RssTitle}}</title>
|
<title>{{$ee.RssTitle}}</title>
|
||||||
|
{{else}}
|
||||||
|
<title>{{$ee.ModifiedAtStr}}</title>
|
||||||
{{end}}
|
{{end}}
|
||||||
<link rel="alternate" href="https://{{$.Host}}/{{$ee.Nevent}}" />
|
<link rel="alternate" href="https://{{$.Host}}/{{$ee.Nevent}}" />
|
||||||
<content type="html">
|
<content type="html">
|
||||||
|
|||||||
Reference in New Issue
Block a user