Skip to content

denysdovhan/denysdovhan.github.io

Repository files navigation

Blog from Denys Dovhan Build Status

My awesome static blog.

Here is my blog about front-end technologies, design, JavaScript, HTML/CSS, etc. This is cool because:

  • It's open source — so you can improve this and fix mistakes.
  • It's static — so it's convenient for me, superfast and hosted on GitHub Pages.
  • It's habitual — 'cause build using familiar tools, like Gulp, Jade, Markdown and Travis.

Installation

If you want fix mistakes or propose changes, you can clone this repo and install dependencies using following command:

git clone https://github.com/denysdovhan/denysdovhan.github.io.git && cd denysdovhan.github.io && npm i

Also don't forget that you can easily download it and read offline.

Tasks

I've mentioned that this site has builded using Gulp, so you could use these common tasks:

  • gulp — alias for gulp serve.
  • gulp serve — build and run local server with live-reload.
  • gulp build — build site into dist/ folder.
  • gulp deploy — rebuild master using dist/ and push to origin.

Also there are these specified tasks:

  • gulp collect — collect all posts from posts/ into posts variable.
  • gulp posts — render all posts using posts variable and layout/post.jade.
  • gulp index — render index-page using. layout/index.jade.
  • gulp styles — render styles from styles/.
  • gulp rss — render feed using posts variable.
  • gulp cname — just put CNAME file into dist folder.
  • gulp watch — watch for changes in dist.
  • gulp clean — clear dist/ folder.

And of course look at npm-scripts:

  • npm start — alias for gulp
  • npm build — alias for gulp build
  • npm deploy — alias for gulp deploy

To-do

  • Get rid of front-matter.
  • Migrate to ES2015 (using Babel).
  • Add pagination #2.
  • Reloading package.json and gulpfile.js.
  • Migrate to PostCSS.
  • Add syntax highlighting.
  • Fix vertical rhythm.

License

MIT © Denys Dovhan