diff --git a/Makefile b/Makefile index bc0adf8..eb20d8b 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ build: serve: @echo "Served on http://localhost:8000" - cd _site && http + cd _site && httplz .PHONY: serve deploy: clean build index diff --git a/ext/post b/ext/post index e355faa..a3550b2 100755 --- a/ext/post +++ b/ext/post @@ -1,7 +1,7 @@ #!/usr/bin/env ruby # encoding: utf-8 -OUTPUT_DIR = File.expand_path("~/projects/fnordig.de/_posts") +OUTPUT_DIR = File.expand_path(File.join(File.dirname(__FILE__), "..", "_posts")) EDITOR = ENV['EDITOR'] || 'vim' EXTENSION=".md" HEADER = <