diff --git a/drafts/Improvements part 2.md b/drafts/Improvements part 2.md new file mode 100644 index 0000000..7d58c32 --- /dev/null +++ b/drafts/Improvements part 2.md @@ -0,0 +1,3 @@ + + +The improved _Newt Hare_ made its bigger counterpart, the _Motherhare_, too small. Also, it could be cuter and more bunny-like. So I have you, the _Motherhare 2.0_, or whatever. Now, the trap to avoid is to not constantly try and improve every enemy, every time I get some spare time. diff --git a/images/2017-12-07/a.webm b/images/2017-12-07/a.webm new file mode 100644 index 0000000..faa51d1 Binary files /dev/null and b/images/2017-12-07/a.webm differ diff --git a/postCollection.go b/postCollection.go index ddc35b1..3c39d0d 100644 --- a/postCollection.go +++ b/postCollection.go @@ -29,20 +29,18 @@ var PostsCollection []Post func NewPostsCollection() { verifyFolderModification() initializeCollection() - go acquirePosts(10) + go acquirePosts(100) } func initializeCollection() { PostsCollection = nil filepath.Walk("./posts", newPost) - fmt.Println(len(PostsCollection)) PostsCollection = reversePosts() } func acquirePosts(duration time.Duration) { for { if verifyFolderModification() == true { - fmt.Println("updated") initializeCollection() setPostsCollection() } diff --git a/posts/Improvement.html b/posts/Improvement.html index 74458b2..a862c16 100644 --- a/posts/Improvement.html +++ b/posts/Improvement.html @@ -1,4 +1,4 @@ - +

diff --git a/websiteTemplate b/websiteTemplate index 0eb9642..ac02a68 100755 Binary files a/websiteTemplate and b/websiteTemplate differ diff --git a/websiteTemplate.go b/websiteTemplate.go index fc0bb6d..addb80e 100644 --- a/websiteTemplate.go +++ b/websiteTemplate.go @@ -62,7 +62,6 @@ func blogHandler(w http.ResponseWriter, req *http.Request) { return } length := len(posts) - fmt.Println("Hi, blog handler here. There are ", length, " posts.") posts = posts[:3] //posts = getNewestPosts(3) page := Page{name, posts, "blog"}