denysdovhan.github.io icon indicating copy to clipboard operation
denysdovhan.github.io copied to clipboard

:newspaper: Personal blog from Denys Dovhan

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

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

License

MIT © Denys Dovhan