πŸ“° Personal blog from Denys Dovhan
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
layout
posts
styles
.babelrc
.editorconfig
.eslintrc
.gitignore
.travis.yml
CNAME
LICENSE
README.md
favicon.ico
gulpfile.js
package.json
yarn.lock

README.md

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