diff options
-rw-r--r-- | site/site.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/site/site.go b/site/site.go index 00814ce..8020c87 100644 --- a/site/site.go +++ b/site/site.go @@ -74,6 +74,11 @@ func (s *Site) ReadPosts() { continue } + // ignore dotfiles + if file.Name()[:1] == "." { + continue + } + p := post.NewPost(s) p.Read(file) |