Make it work everywhere
This commit is contained in:
parent
90aff28fb8
commit
eeaff80c1c
2
Makefile
2
Makefile
|
@ -17,7 +17,7 @@ build:
|
||||||
|
|
||||||
serve:
|
serve:
|
||||||
@echo "Served on http://localhost:8000"
|
@echo "Served on http://localhost:8000"
|
||||||
cd _site && http
|
cd _site && httplz
|
||||||
.PHONY: serve
|
.PHONY: serve
|
||||||
|
|
||||||
deploy: clean build index
|
deploy: clean build index
|
||||||
|
|
2
ext/post
2
ext/post
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
# encoding: utf-8
|
# 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'
|
EDITOR = ENV['EDITOR'] || 'vim'
|
||||||
EXTENSION=".md"
|
EXTENSION=".md"
|
||||||
HEADER = <<EOF
|
HEADER = <<EOF
|
||||||
|
|
Loading…
Reference in a new issue