diff options
| author | Franck Cuny <franckcuny@gmail.com> | 2015-07-16 18:02:13 -0700 |
|---|---|---|
| committer | Franck Cuny <franckcuny@gmail.com> | 2015-07-16 18:02:13 -0700 |
| commit | de3f36ee187677957d5d89d56bf129790cc6926a (patch) | |
| tree | d6b2912bf21582fdcca15399add1df303d056a26 | |
| parent | remove more files (diff) | |
| download | lumberjaph-de3f36ee187677957d5d89d56bf129790cc6926a.tar.gz | |
some cleanup.
Upadte the CSS, remove some files, etc.
38 files changed, 110 insertions, 179 deletions
@@ -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 @@ -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 --- a/_includes/cover.html +++ /dev/null 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 @@ <footer> <div id="footer"> - <p id='copyright'><a href='/'>lumberjaph.net</a> is © 2008 – 2014 Franck Cuny // <a href="https://twitter.com/franckcuny">@franckcuny</a> + <p id='copyright'><a href='/'>lumberjaph.net</a> is © 2008 – present Franck Cuny // <a href="https://twitter.com/franckcuny">@franckcuny</a> [ <a href='/articles'>All posts</a> | <a href='/about'>About</a> ]</p> diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..a6c1e30 --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,24 @@ +<meta charset="utf-8"/> + +<title>{{ page.title }}</title> + +<meta name="description" content="{{ page.summary }}"> +<meta name="author" content="Franck Cuny"> +<meta name="copyright" content="© Copyright 2008 to Present"> + +<meta name="google-site-verification" content="zkHWYduyqP8GQs4IK3ltrU0pnVq4Eq8zpN91PUA34dI" /> + +<meta name="viewport" content="width=device-width, initial-scale=1"> + +<meta name="twitter:account_id" content="14234966"> +<meta name="twitter:card" content="summary"> +<meta name="twitter:creator" content="@franckcuny"/> +<meta name="twitter:site" content="@franckcuny"/> +<meta name="twitter:title" content="{{ page.title }}"/> +<meta name="twitter:domain" content="lumberjaph.net"> +<meta name="twitter:description" content="{{ page.summary }}"> +<meta name="twitter:url" content="{{ page.url }}"> + +<link rel="stylesheet" href="/static/css/style.css" type="text/css"/> + +<link rel="canonical" href="//lumberjaph.net{{ page.url | replace:'index.html','' }}" /> diff --git a/_layouts/default.html b/_layouts/default.html index c741dc9..8fb910f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,39 +1,18 @@ <!DOCTYPE html> -<html lang="en-US"> + <html lang="en-US"> -<head> - <meta charset="utf-8"/> + <head> + {% include header.html %} + </head> - <title>{{ page.title }}</title> + <body> - <meta name="description" content="{{ page.summary }}"> - <meta name="author" content="Franck Cuny"> - <meta name="copyright" content="© Copyright 2008 to Present"> + <div id="container"> + {{ content }} + </div> - <meta name="google-site-verification" content="zkHWYduyqP8GQs4IK3ltrU0pnVq4Eq8zpN91PUA34dI" /> + {% include footer.html %} - <meta name="viewport" content="width=device-width, initial-scale=1"> - - <meta name="twitter:account_id" content="14234966"> - <meta name="twitter:card" content="summary"> - <meta name="twitter:creator" content="@franckcuny"/> - <meta name="twitter:site" content="@franckcuny"/> - <meta name="twitter:title" content="{{ page.title }}"/> - <meta name="twitter:domain" content="lumberjaph.net"> - <meta name="twitter:description" content="{{ page.summary }}"> - <meta name="twitter:url" content="{{ page.url }}"> - - <link rel="stylesheet" href="/static/css/style.css" type="text/css"/> - - <link rel="canonical" href="//lumberjaph.net{{ page.url | replace:'index.html','' }}" /> -</head> - -<body> - - <div id="container"> - {{ content }} - </div> - -</body> + </body> </html> diff --git a/_layouts/post.html b/_layouts/post.html index 0af49c3..1504149 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -7,9 +7,5 @@ layout: default </header> <section> - <div id="entry"> {{ content }} </div> - - {% include footer.html %} - </section> diff --git a/_layouts/static.html b/_layouts/static.html deleted file mode 100644 index 0ecad98..0000000 --- a/_layouts/static.html +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: default ---- - -<header> - <h1><a href="{{page.url}}">{{page.title}}</a></h1> -</header> - -<section> - <div id="entry">{{ content }}</div> - {% include footer.html %} -</section> diff --git a/about/franckcuny-pubkey.gpg b/about/franckcuny-pubkey.gpg deleted file mode 100644 index 30aaacf..0000000 --- a/about/franckcuny-pubkey.gpg +++ /dev/null @@ -1,42 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1 - -mQMuBFKXzrERCAC7KPUVUub247LnrJRX/LhTgi0SkQ64IDT8oHJqxKjvvTyNRZ+f -JhYFQ9eYcSiG87lEWo8qpmiqnPDsGr0AJjFi8P1dkiXpn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QL2/A6U/HdoCIYQQYEQgACQUCUpfO -sQIbDAAKCRDDtZ3ZEWKJOmHcAP0Y6aZ//xRrrNGtup7g9Fy3IA8n3Li0Bz2XUpJK -gK9KlQD+KhJTpOnTPKD36h58bG7Eyi6880k/MDQvsUqG6WyAWpM= -=4yVZ ------END PGP PUBLIC KEY BLOCK----- diff --git a/about/index.md b/about/index.md index b2302f4..29dd31f 100644 --- a/about/index.md +++ b/about/index.md @@ -1,6 +1,6 @@ --- -layout: static title: about +layout: default --- I'm a Site Reliability Engineer, living in Berkeley and working at [Twitter](https://twitter.com). At the moment I'm especially interested in functional programming and operating system. diff --git a/articles/index.html b/articles/index.html index d990a83..ff8a8cf 100644 --- a/articles/index.html +++ b/articles/index.html @@ -1,6 +1,6 @@ --- -layout: static -title: Archives +title: archives +layout: default --- {% for post in site.posts reverse %} @@ -1,18 +1,16 @@ --- -layout: default title: lumberjaph.net +layout: default --- {% for post in site.posts limit:1 %} -<header> - <h1><a href="{{ post.url }}">{{ post.title }}</a></h1> -</header> - -<section> - <div id="entry"> {{ post.content }} </div> + <header> + <h1><a href="{{ post.url }}">{{ post.title }}</a></h1> + </header> - {% include footer.html %} + <section> + <div id="entry"> {{ post.content }} </div> + </section> -</section> {% endfor %} diff --git a/static/css/project.css b/static/css/project.css index 5ea9656..b456063 100644 --- a/static/css/project.css +++ b/static/css/project.css @@ -3,7 +3,7 @@ body { background-color: #bfbfbf; color: #222; - line-height: 1.4em; + line-height: 1.4em; font-family: 'Droid Sans',Verdana, sans-serif; text-align: center; font-size: 13px; diff --git a/static/css/style.css b/static/css/style.css index a637583..ba69070 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,57 +1,42 @@ -* { - font-family: 'verdana', 'helvetica', 'arial', 'sans-serif'; +html { + font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; } body { - padding: 1.5em 0; + font-size: 16px; } -div#container { - width: 900px; - margin: 0 auto; -} - -h1 { - margin: 1.5em 0 1.5em 0; -} - -h1 a { - text-decoration: none; -} - -blockquote { - background-color: #eee; - margin: 1em; - padding: 0.3em 1em; -} - -#entry, #wrapper { - font-size: 13pt; -} - -#entry img { - margin-right: 1em; - margin-bottom: 1em; +#container { + width: 800px; + margin: 0 auto; + text-align: justify; + line-height: 1.5em; } -#entry img.right { - float: right; - margin-left: 1em; +#container img { + width: 100%; } -#entry, #entries, #wrapper, #resume { - width: 90%; - text-align: justify; - line-height: 1.5em; +h1, h2 { + font-size: 20px; + border-bottom: 1px solid #eee; + margin-bottom: 16px; + margin-top: 20px; + padding-bottom: 6px; } -#entries li { - margin: 0.5em; +h1, h2 a { + text-decoration: none; } -.footnotes { - font-size: 88%; - border-top: 1px solid grey; +blockquote { + box-sizing: border-box; + display: block; + padding-bottom: 16px; + padding-left: 16px; + padding-right: 16px; + padding-top: 16px; + background-color: #f7f7f7; } ul.spaced li { @@ -59,8 +44,14 @@ ul.spaced li { } #footer p { + width: 800px; + margin: 0 auto; margin-top: 2em; - text-align: justify; + text-align: center; + border-top: 1px solid #eee; + margin-top: 40px; + padding-top: 40px; + padding-bottom: 40px; } #footer img { @@ -74,12 +65,11 @@ img.portrait { a { text-decoration: none; - color: #31674b; + color: #4078c0; } a:hover { text-decoration: underline; - color: #11472b; } a img { border: 0; } @@ -89,7 +79,7 @@ a.older, a.newer { } pre { - font-family: Menlo, monospace; + font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; -webkit-font-smoothing: subpixel-antialiased; font-smoothing: subpixel-antialiased; background: #eee; @@ -106,18 +96,17 @@ pre { code { background: #eee; - font-family: Menlo, monospace; - font-size: 14px; -} - -.timestamp { - text-align: right; - color: grey; + font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; + font-size: 85%; + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; + border-top-left-radius: 3px; + border-top-right-radius: 3px; + box-sizing: border-box; + padding-top: 0.2em; + padding-bottom: 0.2em; } -#resume h3 { margin-left: -1em; } -#resume dt { font-style: italic; } - @media only screen and (max-width: 960px) { body { font-size: 0.8em; @@ -125,12 +114,9 @@ code { div#container { width: 90%; } - #entry, #entries, #wrapper, #resume { + #entry { width: 90%; margin-left: 0.2em; text-align: justify; } - h1 { - margin-left: 0em; - } } diff --git a/static/imgs/authorsmap.png b/static/imgs/authorsmap.png Binary files differdeleted file mode 100644 index 7f4e740..0000000 --- a/static/imgs/authorsmap.png +++ /dev/null diff --git a/static/imgs/back.png b/static/imgs/back.png Binary files differdeleted file mode 100644 index 6abc3eb..0000000 --- a/static/imgs/back.png +++ /dev/null diff --git a/static/imgs/batmoose_1024cut-300x225.png b/static/imgs/batmoose_1024cut-300x225.png Binary files differdeleted file mode 100644 index 9a770e6..0000000 --- a/static/imgs/batmoose_1024cut-300x225.png +++ /dev/null diff --git a/static/imgs/chart.png b/static/imgs/chart.png Binary files differdeleted file mode 100644 index ba116c8..0000000 --- a/static/imgs/chart.png +++ /dev/null diff --git a/static/imgs/cpanhq-dep.png b/static/imgs/cpanhq-dep.png Binary files differdeleted file mode 100644 index f0d264c..0000000 --- a/static/imgs/cpanhq-dep.png +++ /dev/null diff --git a/static/imgs/draft_cpan_prelimsmall.png b/static/imgs/draft_cpan_prelimsmall.png Binary files differdeleted file mode 100644 index 431b863..0000000 --- a/static/imgs/draft_cpan_prelimsmall.png +++ /dev/null diff --git a/static/imgs/general.png b/static/imgs/general.png Binary files differdeleted file mode 100644 index 578edfb..0000000 --- a/static/imgs/general.png +++ /dev/null diff --git a/static/imgs/github-europe-preview.png b/static/imgs/github-europe-preview.png Binary files differdeleted file mode 100644 index c14690a..0000000 --- a/static/imgs/github-europe-preview.png +++ /dev/null diff --git a/static/imgs/github-perl-preview.png b/static/imgs/github-perl-preview.png Binary files differdeleted file mode 100644 index 45f0806..0000000 --- a/static/imgs/github-perl-preview.png +++ /dev/null diff --git a/static/imgs/github-poster-v2.png b/static/imgs/github-poster-v2.png Binary files differdeleted file mode 100644 index b3edde7..0000000 --- a/static/imgs/github-poster-v2.png +++ /dev/null diff --git a/static/imgs/jitterbug.png b/static/imgs/jitterbug.png Binary files differdeleted file mode 100644 index 123afbc..0000000 --- a/static/imgs/jitterbug.png +++ /dev/null diff --git a/static/imgs/list_feed.png b/static/imgs/list_feed.png Binary files differdeleted file mode 100644 index 8ecf200..0000000 --- a/static/imgs/list_feed.png +++ /dev/null diff --git a/static/imgs/logo.png b/static/imgs/logo.png Binary files differdeleted file mode 100644 index d77aee6..0000000 --- a/static/imgs/logo.png +++ /dev/null diff --git a/static/imgs/moosedist.png b/static/imgs/moosedist.png Binary files differdeleted file mode 100644 index 9e36bf2..0000000 --- a/static/imgs/moosedist.png +++ /dev/null diff --git a/static/imgs/nrepl-it-works.png b/static/imgs/nrepl-it-works.png Binary files differdeleted file mode 100644 index 783054d..0000000 --- a/static/imgs/nrepl-it-works.png +++ /dev/null diff --git a/static/imgs/plack_chrome.png b/static/imgs/plack_chrome.png Binary files differdeleted file mode 100755 index df26638..0000000 --- a/static/imgs/plack_chrome.png +++ /dev/null diff --git a/static/imgs/remote-nrepl.png b/static/imgs/remote-nrepl.png Binary files differdeleted file mode 100644 index b600818..0000000 --- a/static/imgs/remote-nrepl.png +++ /dev/null diff --git a/static/imgs/routes-300x249.png b/static/imgs/routes-300x249.png Binary files differdeleted file mode 100644 index f2b9ec2..0000000 --- a/static/imgs/routes-300x249.png +++ /dev/null diff --git a/static/imgs/rss.png b/static/imgs/rss.png Binary files differdeleted file mode 100644 index d6ecb16..0000000 --- a/static/imgs/rss.png +++ /dev/null diff --git a/static/imgs/show_entry.png b/static/imgs/show_entry.png Binary files differdeleted file mode 100644 index bf23be5..0000000 --- a/static/imgs/show_entry.png +++ /dev/null diff --git a/static/imgs/stargit.png b/static/imgs/stargit.png Binary files differdeleted file mode 100644 index 9f75f81..0000000 --- a/static/imgs/stargit.png +++ /dev/null diff --git a/static/imgs/test-remote-nrepl.png b/static/imgs/test-remote-nrepl.png Binary files differdeleted file mode 100644 index 7d7dfef..0000000 --- a/static/imgs/test-remote-nrepl.png +++ /dev/null diff --git a/static/imgs/zoom.png b/static/imgs/zoom.png Binary files differdeleted file mode 100644 index e9300f4..0000000 --- a/static/imgs/zoom.png +++ /dev/null |
