Fix id generation (strip URI)
Anirudh Oppiliappan x@icyphox.sh
Fri, 06 Aug 2021 14:35:07 +0530
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
atom/feed.go
→
atom/feed.go
@@ -64,9 +64,10 @@
entry := AtomEntry{ Title: p.Meta["title"], Updated: rfc3339, + // tag:icyphox.sh,2019-10-23:blog/some-post/ ID: fmt.Sprintf( "tag:%s,%s:%s", - config.URL, + config.URL[8:], // strip https:// dateStr, filepath.Join(srcDir, p.Meta["slug"]), ),