aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thumber/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/thumber/main.go b/thumber/main.go
index 77bbed3..ce419e3 100644
--- a/thumber/main.go
+++ b/thumber/main.go
@@ -32,6 +32,10 @@ func makeThumbnail(fname string, info os.FileInfo, err error) error {
return nil
}
+ if strings.HasSuffix(fname, ".html") {
+ return nil
+ }
+
_, err = os.Stat("thumbs/" + filepath.Base(fname) + ".thumb.png")
if err == nil {
log.Printf("skipping %s", fname)