Jekyll Reference Post

As the first post of this new site, I’m going to use this “hidden” post as a collection of useful snippets and information relating to the site.

Tasks to Do

  • Add GA - For tracking the non-existant visitors
  • Title /= Meta-Title - With my Theme a long title doesn’t look good, but the SEO in me wants to optimize this site none-the-less so I have to do this.
  • Schema - While I’m at it, I might as well add some structured schema
  • Table of Contents - Should be an interesting challenge on adding a useful ToC with a static site
  • WebP images - Need to make sure it’s fast
  • Comment System - As with the ToC adding a comment system to a static site should be an interesting challenge.
  • CMS? - See if there’s a better way to handle the content then endless Markdown files.
  • Add Clients & Projects Page - Self-explanitory
  • Better DNS Management

The above list will likely grow, but I won’t necessarily update this page.

Code snippets:

def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.

Header Images

Currently the header images are 1160 x 580 pixels.

Code for Images

![](/images/07.jpg)
*Caption Comes Here* 

Markdown Highlight

## Heading first level

Quotes

Coming together is a beginning; keeping together is progress; working together is success. — Edward Everett Hale


Syntax Highlighter

  $('.top').click(function () {
    $('html, body').stop().animate({ scrollTop: 0 }, 'slow', 'swing');
  });
  $(window).scroll(function () {
    if ($(this).scrollTop() > $(window).height()) {
      $('.top').addClass("top-active");
    } else {
      $('.top').removeClass("top-active");
    };
  });

Videos


Useful Ruby Codes

Build and Run bundle exec jekyll serve