Site Information
- URL: http://jrockowitz.github.io/ or http://thebigbluehouse.com/
- GIT: https://github.com/jrockowitz/jrockowitz.github.io
- Style-Guide: http://jrockowitz.github.io/style-guide/
- Analytics: https://www.google.com/analytics/web/
Software/Libraries
- Jeykyll
- github / pages-gem
- Grunt
- Bower
- Bootstrap
- enquire.js
- Font Awesome
- jQuery
- jQuery Mobile
- Events: Touch & Orientation
Setup
‘Hello World’ GitHub Pages
Setup GitHub Pages respository.
Boilerplate Jekyll site
Replace ‘Hello World’ with a boilerplate Jekyll site.
- Quick-start guide
- Must remove index.html_ and README.md before executing
jekyll new .
insidelocal.jrockowitz.github.io
.
- Must remove index.html_ and README.md before executing
- Working With Github Pages
- Add _site to .gitignore because Github maintains (and overwrites) this directory.
Commit and push changes to GitHub
cd local.jrockowitz.github.io
git add --all
git commit -am"Boilerplate Jekyll site"
git push
open http://jrockowitz.github.io/
# Refresh browser until GitHub regenerates your website.
Initial to Jekyll site
cd local.jrockowitz.github.io
edit _config.yml
Use NodeJs Package Manager (npm) to install Grunt and Bower.
- What is npm?
- Specifics of npm’s package.json handling
- Grunt: The JavaScript Task Runner
- Bower: A package manager for the web
# Setup and execute npm install
cd local.jrockowitz.github.io
edit package.json
npm install
# Add node_modules to .gitignore
cd local.jrockowitz.github.io
echo 'node_modules' >> ~/.gitignore
Use Bower to download jQuery and Bootstrap SASS.
cd local.jrockowitz.github.io
edit bower.json
bower install
- or -
cd local.jrockowitz.github.io
bower install jquery
bower install bootstrap-sass-official
Setup basic Grunt task runner
- grunt-contrib-concat: Concatenate files.
- grunt-contrib-uglify: Minify files with UglifyJS
- grunt-exec
cd local.jrockowitz.github.io
edit GruntFile.json
grunt
Remove Jekyll’s Boilerplate SASS and HTML.
-
Clear _sass/base.scss and _sass/layout.scss.
-
Replace
%vertical-rhythm
mixin withmargin-bottom: .5em;
in _syntax-highlighting.scss
Integrate jQuery, Bootstrap, and main.js into Jekylly Boilerplate website.
Add this README.md file to site.
open http://jrockowitz.github.io/readme
Build a style-guide/code snippet page
- Bootstrap: CSS
Global CSS settings, fundamental HTML elements styled and enhanced with extensible classes, and an advanced grid system.
Setup Bootstrap Navbar
Setup Bootstrap Grid
Setup Navigation using Jekyll’s Data File and Collections
Set Contact Form using Formspree
- You do not need a database for your contact form
- Formspree
Just send your form to our URL and we’ll forward it to your email.
- Formspree
Migrate Content into Jekyll
- Write custom migration from Drupal 7 to Jekylly using Drush
Setup Bootstrap Carousel
Generate Thumbnails
Create Image Enlarge Modal
Responsive Grid for Image Thumbnails
Adjust Styles using Variables and CSS overrides
SEO
- Sitemaps for GitHub Pages
- Redirects on GitHub Pages
- How to add Google Analytics Tracking ID to GitHub Pages
References
GitHub Pages
Jekyll
- Documentation
- Tips
- Pagination
- Photo Gallery
- Creating a fast and mobile-friendly website with Jekyll
- Todo/check list for a new jekyll blog
Liquid for Designers
Bootstrap
- Style Guides
- Tutorials
HTML/Front-end tools
Placeholders Images
Coding Guidelines/Standards
TODO
- Editorial cleanup