├── 404.html ├── _includes ├── themes │ └── twitter │ │ ├── settings.yml │ │ ├── page.html │ │ ├── post.html │ │ └── default.html └── JB │ ├── sharing │ ├── comments-providers │ ├── livefyre │ ├── intensedebate │ ├── facebook │ └── disqus │ ├── analytics │ ├── comments │ ├── analytics-providers │ ├── google │ ├── getclicky │ └── mixpanel │ ├── setup │ ├── tags_list │ ├── liquid_raw │ ├── pages_list │ ├── categories_list │ └── posts_collate ├── _layouts ├── page.html ├── post.html └── default.html ├── .gitignore ├── assets └── themes │ └── twitter │ ├── bootstrap │ ├── img │ │ ├── glyphicons-halflings.png │ │ └── glyphicons-halflings-white.png │ └── css │ │ └── bootstrap.min.css │ └── css │ └── style.css ├── archive.html ├── pages.html ├── sitemap.txt ├── tags.html ├── categories.html ├── atom.xml ├── _plugins └── debug.rb ├── index.md ├── README.md ├── changelog.md ├── _config.yml ├── Rakefile └── _posts └── core-samples └── 2011-12-29-jekyll-introduction.md /404.html: -------------------------------------------------------------------------------- 1 | Sorry this page does not exist =( 2 | -------------------------------------------------------------------------------- /_includes/themes/twitter/settings.yml: -------------------------------------------------------------------------------- 1 | theme : 2 | name : twitter -------------------------------------------------------------------------------- /_layouts/page.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | {% include JB/setup %} 5 | {% include themes/twitter/page.html %} 6 | -------------------------------------------------------------------------------- /_layouts/post.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | {% include JB/setup %} 5 | {% include themes/twitter/post.html %} 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | _site/* 2 | _theme_packages/* 3 | 4 | Thumbs.db 5 | .DS_Store 6 | 7 | !.gitkeep 8 | 9 | .rbenv-version 10 | .rvmrc 11 | -------------------------------------------------------------------------------- /_layouts/default.html: -------------------------------------------------------------------------------- 1 | --- 2 | theme : 3 | name : twitter 4 | --- 5 | {% include JB/setup %} 6 | {% include themes/twitter/default.html %} 7 | -------------------------------------------------------------------------------- /assets/themes/twitter/bootstrap/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nelsonjchen/crazysim.github.com/master/assets/themes/twitter/bootstrap/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /assets/themes/twitter/bootstrap/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nelsonjchen/crazysim.github.com/master/assets/themes/twitter/bootstrap/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /archive.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title : Archive 4 | header : Post Archive 5 | group: navigation 6 | --- 7 | {% include JB/setup %} 8 | 9 | {% assign posts_collate = site.posts %} 10 | {% include JB/posts_collate %} -------------------------------------------------------------------------------- /_includes/JB/sharing: -------------------------------------------------------------------------------- 1 | {% if site.safe and site.JB.sharing.provider and page.JB.sharing != false %} 2 | 3 | {% case site.JB.sharing.provider %} 4 | {% when "custom" %} 5 | {% include custom/sharing %} 6 | {% endcase %} 7 | 8 | {% endif %} -------------------------------------------------------------------------------- /_includes/themes/twitter/page.html: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |
7 | {{ content }} 8 |
9 |
10 | -------------------------------------------------------------------------------- /pages.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Pages 4 | header: Pages 5 | group: navigation 6 | --- 7 | {% include JB/setup %} 8 | 9 |

All Pages

10 | 14 | -------------------------------------------------------------------------------- /sitemap.txt: -------------------------------------------------------------------------------- 1 | --- 2 | # Remember to set production_url in your _config.yml file! 3 | title : Sitemap 4 | --- 5 | {% for page in site.pages %} 6 | {{site.production_url}}{{ page.url }}{% endfor %} 7 | {% for post in site.posts %} 8 | {{site.production_url}}{{ post.url }}{% endfor %} -------------------------------------------------------------------------------- /_includes/JB/comments-providers/livefyre: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /_includes/JB/comments-providers/intensedebate: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /tags.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Tags 4 | header: Posts By Tag 5 | group: navigation 6 | --- 7 | {% include JB/setup %} 8 | 9 | 13 | 14 | 15 | {% for tag in site.tags %} 16 |

{{ tag[0] }}

17 | 21 | {% endfor %} 22 | -------------------------------------------------------------------------------- /_includes/JB/analytics: -------------------------------------------------------------------------------- 1 | {% if site.safe and site.JB.analytics.provider and page.JB.analytics != false %} 2 | 3 | {% case site.JB.analytics.provider %} 4 | {% when "google" %} 5 | {% include JB/analytics-providers/google %} 6 | {% when "getclicky" %} 7 | {% include JB/analytics-providers/getclicky %} 8 | {% when "mixpanel" %} 9 | {% include JB/analytics-providers/mixpanel %} 10 | {% when "custom" %} 11 | {% include custom/analytics %} 12 | {% endcase %} 13 | 14 | {% endif %} -------------------------------------------------------------------------------- /_includes/JB/comments: -------------------------------------------------------------------------------- 1 | {% if site.JB.comments.provider and page.comments != false %} 2 | 3 | {% case site.JB.comments.provider %} 4 | {% when "disqus" %} 5 | {% include JB/comments-providers/disqus %} 6 | {% when "livefyre" %} 7 | {% include JB/comments-providers/livefyre %} 8 | {% when "intensedebate" %} 9 | {% include JB/comments-providers/intensedebate %} 10 | {% when "facebook" %} 11 | {% include JB/comments-providers/facebook %} 12 | {% when "custom" %} 13 | {% include custom/comments %} 14 | {% endcase %} 15 | 16 | {% endif %} -------------------------------------------------------------------------------- /categories.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Categories 4 | header: Posts By Category 5 | group: navigation 6 | --- 7 | {% include JB/setup %} 8 | 9 | 13 | 14 | 15 | {% for category in site.categories %} 16 |

{{ category[0] | join: "/" }}

17 | 21 | {% endfor %} 22 | 23 | -------------------------------------------------------------------------------- /_includes/JB/analytics-providers/google: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_includes/JB/analytics-providers/getclicky: -------------------------------------------------------------------------------- 1 | 12 | 13 | -------------------------------------------------------------------------------- /_includes/JB/comments-providers/facebook: -------------------------------------------------------------------------------- 1 |
2 | 9 |
-------------------------------------------------------------------------------- /_includes/JB/analytics-providers/mixpanel: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_includes/JB/setup: -------------------------------------------------------------------------------- 1 | {% capture jbcache %} 2 | 5 | {% if site.JB.setup.provider == "custom" %} 6 | {% include custom/setup %} 7 | {% else %} 8 | {% if site.safe and site.JB.BASE_PATH and site.JB.BASE_PATH != '' %} 9 | {% assign BASE_PATH = site.JB.BASE_PATH %} 10 | {% assign HOME_PATH = site.JB.BASE_PATH %} 11 | {% else %} 12 | {% assign BASE_PATH = nil %} 13 | {% assign HOME_PATH = "/" %} 14 | {% endif %} 15 | 16 | {% if site.JB.ASSET_PATH %} 17 | {% assign ASSET_PATH = site.JB.ASSET_PATH %} 18 | {% else %} 19 | {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ page.theme.name }}{% endcapture %} 20 | {% endif %} 21 | {% endif %} 22 | {% endcapture %}{% assign jbcache = nil %} -------------------------------------------------------------------------------- /atom.xml: -------------------------------------------------------------------------------- 1 | --- 2 | layout: nil 3 | title : Atom Feed 4 | --- 5 | 6 | 7 | 8 | {{ site.title }} 9 | 10 | 11 | {{ site.time | date_to_xmlschema }} 12 | {{ site.production_url }} 13 | 14 | {{ site.author.name }} 15 | {{ site.author.email }} 16 | 17 | 18 | {% for post in site.posts %} 19 | 20 | {{ post.title }} 21 | 22 | {{ post.date | date_to_xmlschema }} 23 | h{{ site.production_url }}{{ post.id }} 24 | {{ post.content | xml_escape }} 25 | 26 | {% endfor %} 27 | 28 | -------------------------------------------------------------------------------- /_plugins/debug.rb: -------------------------------------------------------------------------------- 1 | # A simple way to inspect liquid template variables. 2 | # Usage: 3 | # Can be used anywhere liquid syntax is parsed (templates, includes, posts/pages) 4 | # {{ site | debug }} 5 | # {{ site.posts | debug }} 6 | # 7 | require 'pp' 8 | module Jekyll 9 | # Need to overwrite the inspect method here because the original 10 | # uses < > to encapsulate the psuedo post/page objects in which case 11 | # the output is taken for HTML tags and hidden from view. 12 | # 13 | class Post 14 | def inspect 15 | "#Jekyll:Post @id=#{self.id.inspect}" 16 | end 17 | end 18 | 19 | class Page 20 | def inspect 21 | "#Jekyll:Page @name=#{self.name.inspect}" 22 | end 23 | end 24 | 25 | end # Jekyll 26 | 27 | module Jekyll 28 | module DebugFilter 29 | 30 | def debug(obj, stdout=false) 31 | puts obj.pretty_inspect if stdout 32 | "
#{obj.class}\n#{obj.pretty_inspect}
" 33 | end 34 | 35 | end # DebugFilter 36 | end # Jekyll 37 | 38 | Liquid::Template.register_filter(Jekyll::DebugFilter) -------------------------------------------------------------------------------- /_includes/JB/comments-providers/disqus: -------------------------------------------------------------------------------- 1 |
2 | 13 | 14 | blog comments powered by Disqus 15 | -------------------------------------------------------------------------------- /_includes/JB/tags_list: -------------------------------------------------------------------------------- 1 | {% comment %}{% endcomment %} 19 | 20 | {% if site.JB.tags_list.provider == "custom" %} 21 | {% include custom/tags_list %} 22 | {% else %} 23 | {% if tags_list.first[0] == null %} 24 | {% for tag in tags_list %} 25 |
  • {{ tag }} {{ site.tags[tag].size }}
  • 26 | {% endfor %} 27 | {% else %} 28 | {% for tag in tags_list %} 29 |
  • {{ tag[0] }} {{ tag[1].size }}
  • 30 | {% endfor %} 31 | {% endif %} 32 | {% endif %} 33 | {% assign tags_list = nil %} 34 | -------------------------------------------------------------------------------- /_includes/themes/twitter/post.html: -------------------------------------------------------------------------------- 1 | 4 | 5 |
    6 |
    7 | {{ content }} 8 |
    9 | 24 |
    25 | {% include JB/comments %} 26 |
    27 | 28 |
    29 |

    Published

    30 |
    {{ page.date | date_to_long_string }}
    31 | 32 | {% unless page.tags == empty %} 33 |

    Tags

    34 | 38 | {% endunless %} 39 |
    40 |
    41 | -------------------------------------------------------------------------------- /index.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Hello World! 4 | tagline: Supporting tagline 5 | --- 6 | {% include JB/setup %} 7 | 8 | Read [Jekyll Quick Start](http://jekyllbootstrap.com/usage/jekyll-quick-start.html) 9 | 10 | Complete usage and documentation available at: [Jekyll Bootstrap](http://jekyllbootstrap.com) 11 | 12 | ## Update Author Attributes 13 | 14 | In `_config.yml` remember to specify your own data: 15 | 16 | title : My Blog =) 17 | 18 | author : 19 | name : Name Lastname 20 | email : blah@email.test 21 | github : username 22 | twitter : username 23 | 24 | The theme should reference these variables whenever needed. 25 | 26 | ## Sample Posts 27 | 28 | This blog contains sample posts which help stage pages and blog data. 29 | When you don't need the samples anymore just delete the `_posts/core-samples` folder. 30 | 31 | $ rm -rf _posts/core-samples 32 | 33 | Here's a sample "posts list". 34 | 35 | 40 | 41 | ## To-Do 42 | 43 | This theme is still unfinished. If you'd like to be added as a contributor, [please fork](http://github.com/plusjade/jekyll-bootstrap)! 44 | We need to clean up the themes, make theme usage guides with theme-specific markup examples. 45 | 46 | 47 | -------------------------------------------------------------------------------- /_includes/JB/liquid_raw: -------------------------------------------------------------------------------- 1 | {% comment%}{% endcomment%} 26 | 27 | {% if site.JB.liquid_raw.provider == "custom" %} 28 | {% include custom/liquid_raw %} 29 | {% else %} 30 |
    {{text | replace:"|.", "{" | replace:".|", "}" | replace:">", ">" | replace:"<", "<" }}
    31 | {% endif %} 32 | {% assign text = nil %} -------------------------------------------------------------------------------- /_includes/JB/pages_list: -------------------------------------------------------------------------------- 1 | {% comment %}{% endcomment %} 22 | 23 | {% if site.JB.pages_list.provider == "custom" %} 24 | {% include custom/pages_list %} 25 | {% else %} 26 | {% for node in pages_list %} 27 | {% if group == null or group == node.group %} 28 | {% if page.url == node.url %} 29 |
  • {{node.title}}
  • 30 | {% else %} 31 |
  • {{node.title}}
  • 32 | {% endif %} 33 | {% endif %} 34 | {% endfor %} 35 | {% endif %} 36 | {% assign pages_list = nil %} 37 | {% assign group = nil %} -------------------------------------------------------------------------------- /_includes/JB/categories_list: -------------------------------------------------------------------------------- 1 | {% comment %}{% endcomment %} 19 | 20 | {% if site.JB.categories_list.provider == "custom" %} 21 | {% include custom/categories_list %} 22 | {% else %} 23 | {% if categories_list.first[0] == null %} 24 | {% for category in categories_list %} 25 |
  • 26 | {{ category | join: "/" }} {{ site.categories[category].size }} 27 |
  • 28 | {% endfor %} 29 | {% else %} 30 | {% for category in categories_list %} 31 |
  • 32 | {{ category[0] | join: "/" }} {{ category[1].size }} 33 |
  • 34 | {% endfor %} 35 | {% endif %} 36 | {% endif %} 37 | {% assign categories_list = nil %} -------------------------------------------------------------------------------- /assets/themes/twitter/css/style.css: -------------------------------------------------------------------------------- 1 | /* Override some defaults */ 2 | html, body { 3 | background-color: #eee; 4 | } 5 | .navbar { 6 | margin-bottom: 0; 7 | } 8 | .container > footer { 9 | margin-top: 20px; 10 | } 11 | .container > footer p { 12 | text-align: center; /* center align it with the container */ 13 | } 14 | 15 | /* The white background content wrapper */ 16 | .content { 17 | background-color: #fff; 18 | padding: 20px; 19 | margin: 0 -20px; /* negative indent the amount of the padding to maintain the grid system */ 20 | -webkit-border-radius: 0 0 6px 6px; 21 | -moz-border-radius: 0 0 6px 6px; 22 | border-radius: 0 0 6px 6px; 23 | -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15); 24 | -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15); 25 | box-shadow: 0 1px 2px rgba(0,0,0,.15); 26 | } 27 | 28 | /* Page header tweaks */ 29 | .page-header { 30 | background-color: #f5f5f5; 31 | padding: 20px 20px 10px; 32 | margin: -20px -20px 20px; 33 | } 34 | 35 | .topbar .btn { 36 | border: 0; 37 | } 38 | 39 | 40 | /* tag_box ======================================================== */ 41 | 42 | .tag_box { 43 | list-style:none; 44 | margin:0; 45 | padding:5px 0 ; 46 | overflow:hidden; 47 | } 48 | .tag_box li { 49 | line-height:28px; 50 | } 51 | .tag_box.inline li { 52 | float:left; 53 | } 54 | .tag_box a { 55 | padding: 3px 6px; 56 | margin: 2px; 57 | background: #eee; 58 | color:#005F6B; 59 | border-radius: 3px; 60 | text-decoration:none; 61 | } 62 | .tag_box a span{ 63 | vertical-align:super; 64 | font-size:0.8em; 65 | } 66 | .tag_box a.active { 67 | background:#57A957; 68 | border:1px solid #4C964D; 69 | color:#FFF; 70 | } 71 | -------------------------------------------------------------------------------- /_includes/JB/posts_collate: -------------------------------------------------------------------------------- 1 | {% comment %}{% endcomment %} 19 | 20 | {% if site.JB.posts_collate.provider == "custom" %} 21 | {% include custom/posts_collate %} 22 | {% else %} 23 | {% for post in posts_collate %} 24 | {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} 25 | {% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %} 26 | {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %} 27 | {% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %} 28 | 29 | {% if forloop.first %} 30 |

    {{this_year}}

    31 |

    {{this_month}}

    32 | 39 | {% else %} 40 | {% if this_year != next_year %} 41 | 42 |

    {{next_year}}

    43 |

    {{next_month}}

    44 | 48 |

    {{next_month}}

    49 |