Skip to content

Commit 3c312a2

Browse files
author
dfox
committed
--first post added
--Hooligan theme added
1 parent c77431d commit 3c312a2

36 files changed

+10159
-9
lines changed

_config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ highlighter: pygments
1111
title : Jekyll Bootstrap
1212
tagline: Site Tagline
1313
author :
14-
name : Name Lastname
15-
16-
github : username
17-
twitter : username
14+
name : David Fox
15+
16+
github : davidcfox
17+
twitter : thedavidcfox
1818
feedburner : feedname
1919

2020
# The production_url is only used when full-domain names are needed
@@ -25,7 +25,7 @@ author :
2525
# Else if you are pushing to username.github.io, replace with your username.
2626
# Finally if you are pushing to a GitHub project page, include the project name at the end.
2727
#
28-
production_url : http://username.github.io
28+
production_url : http://davidcfox.github.io
2929

3030
# All Jekyll-Bootstrap specific configurations are namespaced into this hash
3131
#
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>
6+
{% if page.title %}
7+
{{ page.title }} -
8+
{% endif %}
9+
{{ site.title }}
10+
</title>
11+
{% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
12+
<meta name="author" content="{{ site.author.name }}">
13+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
14+
<!-- HTML5 shim, for IE6-8 support of HTML elements -->
15+
<!--[if lt IE 9]>
16+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
17+
<![endif]-->
18+
19+
<link href="{{ ASSET_PATH }}/bootstrap/css/bootstrap.min.css" rel="stylesheet">
20+
<link href="{{ ASSET_PATH }}/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
21+
<link rel="stylesheet" type="text/css" href="{{ ASSET_PATH }}/css-social-buttons/css/zocial.stripped.css">
22+
<link href="{{ ASSET_PATH }}/css/pygments.css" rel="stylesheet" type="text/css" media="all">
23+
<link href="{{ ASSET_PATH }}/css/darkstrap.css" rel="stylesheet" type="text/css" media="all">
24+
<link href="{{ ASSET_PATH }}/css/style.css?body=1" rel="stylesheet" type="text/css" media="all">
25+
26+
<!-- fav and touch icons -->
27+
<!-- Update these with your own images
28+
<link rel="shortcut icon" href="images/favicon.ico">
29+
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
30+
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
31+
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
32+
-->
33+
</head>
34+
35+
<body>
36+
<div id="page-wrap">
37+
<div class="navbar">
38+
<div class="navbar-inner">
39+
<div class="container">
40+
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
41+
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
42+
<span class="icon-bar"></span>
43+
<span class="icon-bar"></span>
44+
<span class="icon-bar"></span>
45+
</a>
46+
47+
<a class="brand" href="{{ HOME_PATH }}">{{ site.title }}</a>
48+
49+
<div class="nav-collapse">
50+
<ul class="nav">
51+
{% assign pages_list = site.pages %}
52+
{% assign group = 'navigation' %}
53+
{% include JB/pages_list %}
54+
</ul>
55+
<ul class="nav pull-right social visible-desktop">
56+
<li class="divider-vertical"></li>
57+
{% if site.author.github %}
58+
<li>
59+
<a href="https://github.com/{{ site.author.github }}" class="zocial github icon" target="_blank">
60+
<span class="hidden-desktop">Github</span>
61+
</a>
62+
</li>
63+
{% endif %}
64+
{% if site.author.googleplus %}
65+
<li>
66+
<a href="https://plus.google.com/{{ site.author.googleplus }}" class="zocial googleplus icon" target="_blank">
67+
<span class="hidden-desktop">Google+</span>
68+
</a>
69+
</li>
70+
{% endif %}
71+
{% if site.author.twitter %}
72+
<li>
73+
<a href="https://twitter.com/{{ site.author.twitter }}" class="zocial twitter icon" target="_blank">
74+
<span class="hidden-desktop">Twitter</span>
75+
</a>
76+
</li>
77+
{% endif %}
78+
{% if site.author.facebook %}
79+
<li>
80+
<a href="http://www.facebook.com/{{ site.author.facebook }}" class="zocial facebook icon" target="_blank">
81+
<span class="hidden-desktop">Facebook</span>
82+
</a>
83+
</li>
84+
{% endif %}
85+
{% if site.author.linkedin %}
86+
<li>
87+
<a href="http://www.linkedin.com/in/{{ site.author.linkedin }}" class="zocial linkedin icon" target="_blank">
88+
<span class="hidden-desktop">LinkedIn</span>
89+
</a>
90+
</li>
91+
{% endif %}
92+
{% if site.author.feedburner %}
93+
<li>
94+
<a href="http://feeds.feedburner.com/{{ site.author.feedburner }}" class="zocial rss icon" target="_blank">
95+
<span class="hidden-desktop">FeedBurner</span>
96+
</a>
97+
</li>
98+
{% endif %}
99+
</ul>
100+
</div>
101+
</div>
102+
</div>
103+
</div>
104+
105+
<div class="container">
106+
<div class="content">
107+
{{ content }}
108+
</div>
109+
</div> <!-- /container -->
110+
111+
<div class="footer-push"></div>
112+
</div><!--/.page-wrap -->
113+
114+
<footer>
115+
<div class="container">
116+
<p>&copy; {{ site.time | date: '%Y' }} {{ site.author.name }}
117+
with help from <a href="http://jekyllbootstrap.com" target="_blank" title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
118+
and <a href="http://github.com/dhulihan/hooligan" target="_blank">The Hooligan Theme</a>
119+
</p>
120+
</div>
121+
</footer>
122+
123+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
124+
<script>window.jQuery || document.write('<script src="{{ ASSET_PATH }}/js/jquery.min.js"><\/script>')</script>
125+
<script src="{{ ASSET_PATH }}/bootstrap/js/bootstrap.min.js"></script>
126+
127+
{% include JB/analytics %}
128+
</body>
129+
</html>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<div class="page-header-wrapper">
2+
<div class="page-header">
3+
<h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
4+
</div>
5+
</div>
6+
7+
<div class="row">
8+
<div class="span12">
9+
{{ content }}
10+
</div>
11+
</div>
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<div class="page-header">
2+
<h1>
3+
{{ page.title }}
4+
{% if page.tagline %}
5+
<small>{{ page.tagline }}</small>
6+
{% endif %}
7+
</h1>
8+
</div>
9+
10+
<div class="row">
11+
<div class="span8">
12+
{{ content }}
13+
<hr>
14+
<div class="pagination btn-group">
15+
{% if page.previous %}
16+
<a class="btn prev" href="{{ BASE_PATH }}{{ page.previous.url }}" title="{{ page.previous.title }}">&larr; Previous</a>
17+
{% else %}
18+
<a class="btn disabled prev">&larr; Previous</a>
19+
{% endif %}
20+
<a class="btn" href="{{ BASE_PATH }}{{ site.JB.archive_path }}">Archive</a>
21+
{% if page.next %}
22+
<a class="btn next" href="{{ BASE_PATH }}{{ page.next.url }}" title="{{ page.next.title }}">Next &rarr;</a>
23+
{% else %}
24+
<a class="btn next disabled">Next &rarr;</a>
25+
{% endif %}
26+
</div>
27+
<hr>
28+
{% include JB/comments %}
29+
</div>
30+
31+
<div class="span4">
32+
<section>
33+
<h4>Published</h4>
34+
<div class="date"><span>{{ page.date | date_to_long_string }}</span></div>
35+
</section>
36+
{% if page.category %}
37+
<section>
38+
<h4>Category</h4>
39+
<span class="category">
40+
{{ page.category }}
41+
</span>
42+
</section>
43+
{% endif %}
44+
{% unless page.tags == empty %}
45+
<section>
46+
<h4>Tags</h4>
47+
<ul class="tag_box">
48+
{% assign tags_list = page.tags %}
49+
{% include JB/tags_list %}
50+
</ul>
51+
</section>
52+
{% endunless %}
53+
</div>
54+
</div>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
theme :
2+
name : hooligan

_layouts/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
theme :
3-
name : bootstrap-3
3+
name : hooligan
44
---
55
{% include JB/setup %}
6-
{% include themes/bootstrap-3/default.html %}
6+
{% include themes/hooligan/default.html %}

_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
layout: default
33
---
44
{% include JB/setup %}
5-
{% include themes/bootstrap-3/page.html %}
5+
{% include themes/hooligan/page.html %}

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
layout: default
33
---
44
{% include JB/setup %}
5-
{% include themes/bootstrap-3/post.html %}
5+
{% include themes/hooligan/post.html %}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: post
3+
title: "Add Sublime Text to Windows Context Menu"
4+
description: "Adding Sublime Text to the Windows Context Menu via a .bat command"
5+
category: "Windows Tips"
6+
tags: ["windows", "sublime", "useful tip"]
7+
---
8+
{% include JB/setup %}
9+
10+
I finally gave into peer pressure and installed Sublime Text on my computer. I have to say that I am enjoying it far more than my beloved Notepad++. One of my frustrations was that there was not a context menu open to open files with Sublime. A quick Google search brought me to this [Gist](https://gist.github.com/mrchief/5628677/) that easily added the context menu I was after.
11+
12+
If you don't want to follow the link above, here are the instructions:
13+
14+
First, Create a .bat file with the following code in it:
15+
16+
@echo off
17+
SET st2Path=C:\Program Files\Sublime Text 2\sublime_text.exe
18+
rem add it for all file types
19+
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2" /t REG_SZ /v "" /d "Open with Sublime Text 2" /f
20+
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
21+
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
22+
23+
rem add it for folders
24+
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 2" /t REG_SZ /v "" /d "Open with Sublime Text 2" /f
25+
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 2" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
26+
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 2\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
27+
pause
28+
29+
Next, run a command prompt with Administrator privileges and execute the .bat file you created.
30+
31+
It really is that easy.

0 commit comments

Comments
 (0)