1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 01:46:51 +01:00
🍭 My blog kremalicious.com built with Astro. Neat. https://kremalicious.com
Go to file
2013-12-08 16:56:06 +01:00
_src use folder structure to circumvent .html stuff, closes #8 2013-12-08 16:56:06 +01:00
_config.yml fix design category folder exclusion 2013-12-08 15:20:18 +01:00
.gitignore new generated folder 2013-11-30 04:10:58 +01:00
assets sheet.psd topbar elements rewrite 2013-12-01 00:47:47 +01:00
bower.json tweet box under posts, closes #5 2013-12-07 16:00:56 +01:00
Gemfile remove rubypants requirement 2013-12-05 00:04:00 +01:00
Gemfile.lock code styling, ubuntu article edited, fix code block whitespace 2013-12-07 23:42:05 +01:00
Gruntfile.js tweet box under posts, closes #5 2013-12-07 16:00:56 +01:00
package.json paginator fixes with a lot more ifs, needed to make it work on index and category pages 2013-12-03 21:11:38 +01:00
README.md readme updates 2013-12-08 15:33:16 +01:00

kremalicious3

kremalicious.com based on Jekyll. Neat.

Requirements

You need to have the following tools installed on your development machine before moving on:

Get up and running

For various reasons the assets build process and Jekyll site generation is managed through Grunt instead of jekyll or rake.

Both, grunt server and grunt build, use grunt-jekyll to first generate the site into the generated folder and the following Grunt tasks output into that folder.

The media folder holding the source post images is excluded from Jekyll site generation and rsynced around from _src/_media to generated/media before site generation starts.

Image size generation for post teaser images and photos is done with jekyll-picture-tag, putting resized images into generated/media/gen.

Install dependencies

Run the following command from the repository's root folder to install all dependencies.

npm install && bower install && bundle install

Development build

This generates the site and assets with some Jekyll development options and starts a local dev server combined with a livereloading watch task under http://localhost:1337.

jekyll-picture-tag makes site generation very slow at the moment. During development, uncommenting some lines in that plugin's file speeds up regeneration dramatically. Seriously, from like 10 min. to 10 sec. Downside: no teaser images or photos in the development build.

grunt server

Production build

Runs almost the same tasks as grunt server but cleans the build directory before running Jekyll with some production options and additionally optimizes all image assets.

grunt build