all repos — vite @ 6b7947f82db15780f91b97b0b2360577551c2d05

a fast (this time, actually) and minimal static site generator

Fix id generation (strip URI)
Anirudh Oppiliappan x@icyphox.sh
Fri, 06 Aug 2021 14:35:07 +0530
commit

6b7947f82db15780f91b97b0b2360577551c2d05

parent

ac5f96ba72cde564901fa95c523d077f309ab39c

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M atom/feed.goatom/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"]), ),