1
Fork 0

Make it work everywhere

This commit is contained in:
Jan-Erik Rediger 2023-06-18 15:59:30 +02:00
parent 90aff28fb8
commit eeaff80c1c
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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