about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-12-24 10:10:42 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-12-24 10:10:42 +0900
commitc697b6f98caa5984c22b97f2e8eec76226529a52 (patch)
treeb89d5200a9e394fe0bd6901f63f9512d54cc830c
parentcd07645af510a6e16d132c6ec96c49707bbceb23 (diff)
downloadphylactery-c697b6f98caa5984c22b97f2e8eec76226529a52.tar.gz
Fix missing Atom feed content HEAD main
-rw-r--r--atom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/atom.go b/atom.go
index d905348..3fc3d4a 100644
--- a/atom.go
+++ b/atom.go
@@ -94,7 +94,7 @@ func synthesizeAtom(r *http.Request, dir string, updated time.Time) AtomFeed {
 		}
 		defer cbz.Close()
 		for i, f := range cbz.File {
-			if isImageFile(f) {
+			if !isImageFile(f) {
 				continue
 			}
 			images = append(images,