From de3f36ee187677957d5d89d56bf129790cc6926a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 16 Jul 2015 18:02:13 -0700 Subject: some cleanup. Upadte the CSS, remove some files, etc. --- Makefile | 14 ----- README.md | 7 ++- _config.yml | 15 ++++- _includes/cover.html | 0 _includes/footer.html | 2 +- _includes/header.html | 24 +++++++ _layouts/default.html | 41 +++--------- _layouts/post.html | 4 -- _layouts/static.html | 12 ---- about/franckcuny-pubkey.gpg | 42 ------------- about/index.md | 2 +- articles/index.html | 4 +- index.html | 16 +++-- static/css/project.css | 2 +- static/css/style.css | 104 +++++++++++++------------------ static/imgs/authorsmap.png | Bin 334453 -> 0 bytes static/imgs/back.png | Bin 726899 -> 0 bytes static/imgs/batmoose_1024cut-300x225.png | Bin 64955 -> 0 bytes static/imgs/chart.png | Bin 20160 -> 0 bytes static/imgs/cpanhq-dep.png | Bin 51356 -> 0 bytes static/imgs/draft_cpan_prelimsmall.png | Bin 175159 -> 0 bytes static/imgs/general.png | Bin 542921 -> 0 bytes static/imgs/github-europe-preview.png | Bin 863577 -> 0 bytes static/imgs/github-perl-preview.png | Bin 699931 -> 0 bytes static/imgs/github-poster-v2.png | Bin 154016 -> 0 bytes static/imgs/jitterbug.png | Bin 73917 -> 0 bytes static/imgs/list_feed.png | Bin 18337 -> 0 bytes static/imgs/logo.png | Bin 5995 -> 0 bytes static/imgs/moosedist.png | Bin 354920 -> 0 bytes static/imgs/nrepl-it-works.png | Bin 227767 -> 0 bytes static/imgs/plack_chrome.png | Bin 87482 -> 0 bytes static/imgs/remote-nrepl.png | Bin 44750 -> 0 bytes static/imgs/routes-300x249.png | Bin 44059 -> 0 bytes static/imgs/rss.png | Bin 5069 -> 0 bytes static/imgs/show_entry.png | Bin 99152 -> 0 bytes static/imgs/stargit.png | Bin 233422 -> 0 bytes static/imgs/test-remote-nrepl.png | Bin 41576 -> 0 bytes static/imgs/zoom.png | Bin 396766 -> 0 bytes 38 files changed, 110 insertions(+), 179 deletions(-) delete mode 100644 _includes/cover.html create mode 100644 _includes/header.html delete mode 100644 _layouts/static.html delete mode 100644 about/franckcuny-pubkey.gpg delete mode 100644 static/imgs/authorsmap.png delete mode 100644 static/imgs/back.png delete mode 100644 static/imgs/batmoose_1024cut-300x225.png delete mode 100644 static/imgs/chart.png delete mode 100644 static/imgs/cpanhq-dep.png delete mode 100644 static/imgs/draft_cpan_prelimsmall.png delete mode 100644 static/imgs/general.png delete mode 100644 static/imgs/github-europe-preview.png delete mode 100644 static/imgs/github-perl-preview.png delete mode 100644 static/imgs/github-poster-v2.png delete mode 100644 static/imgs/jitterbug.png delete mode 100644 static/imgs/list_feed.png delete mode 100644 static/imgs/logo.png delete mode 100644 static/imgs/moosedist.png delete mode 100644 static/imgs/nrepl-it-works.png delete mode 100755 static/imgs/plack_chrome.png delete mode 100644 static/imgs/remote-nrepl.png delete mode 100644 static/imgs/routes-300x249.png delete mode 100644 static/imgs/rss.png delete mode 100644 static/imgs/show_entry.png delete mode 100644 static/imgs/stargit.png delete mode 100644 static/imgs/test-remote-nrepl.png delete mode 100644 static/imgs/zoom.png diff --git a/Makefile b/Makefile index af0945c..4dd3acf 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,3 @@ -PNGS=$(shell find static -name "*.png") -JPGS=$(shell find static -name "*.jpg") - -PNG2WEBP := $(patsubst %.png,%.webp,$(PNGS)) -JPG2WEBP := $(patsubst %.jpg,%.webp,$(JPGS)) - -images: $(PNG2WEBP) $(JPG2WEBP) - -%.webp: %.png %.jpg - cwebp -q 100 "$<" -o "$@" - build: clean bundle exec jekyll build @@ -18,8 +7,5 @@ clean: server: clean bundle exec jekyll server --port 3001 --watch --drafts -publish: build images - rsync -avz --delete _site/ lumberjaph.net:/srv/www/lumberjaph.net/ - deps: bundle install --path vendor/bundle diff --git a/README.md b/README.md index 5f2ed45..4c0de23 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,12 @@ Ruby's [bundler](http://bundler.io/) is required to set up the blog. Follow the ## Work on the blog -I don't really care about a clean history for the blog. +I don't really care about a clean history for the blog. While writing an article, there's a couple +of useful commands: + ++ `make server`: will start a server on http://localhost:3001 ++ `make build`: will build the static site ++ `make clean`: will delete all the generated files ## Write an article diff --git a/_config.yml b/_config.yml index c2bb5c0..82a9133 100644 --- a/_config.yml +++ b/_config.yml @@ -4,5 +4,16 @@ markdown: redcarpet name: lumberjaph.net future: false redcarpet: - extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "strikethrough", "superscript"] -exclude: ['vendor', 'README.md', 'Gemfile', 'Gemfile.lock', 'Makefile'] + extensions: + - no_intra_emphasis + - fenced_code_blocks + - autolink + - strikethrough + - superscript +exclude: + - CNAME + - vendor + - README.md + - Gemfile + - Gemfile.lock + - Makefile diff --git a/_includes/cover.html b/_includes/cover.html deleted file mode 100644 index e69de29..0000000 diff --git a/_includes/footer.html b/_includes/footer.html index 4c0394b..6518781 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,7 +1,7 @@