Skip to content

Commit 5f2e3af

Browse files
committed
more poole updates
1 parent 7083aca commit 5f2e3af

16 files changed

+151
-159
lines changed

README.md

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
hamishwillee.github.io
2-
======================
3-
41
My Github.io page
52

63
This is auto-generated by Jekyll into the site at: http://hamishwillee.github.io

_config.yml

+40-19
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,46 @@
1-
# Site settings
2-
title: Hamish Willee @ Community
3-
4-
username: hamishwillee
5-
description: "Write an awesome description for your site in _config.yml. Appears in document head meta for google search."
6-
baseurl: ""
7-
url: "http://hamishwillee.github.io"
1+
# Build settings
2+
markdown: kramdown
3+
highlighter: pygments
4+
permalink: pretty
5+
6+
# Setup
7+
title: Hamish Willee @ Community
88
copyright: © 2014 Jenosam Pty Ltd. All Rights Reserved.
9+
10+
url: http://hamishwillee.github.io
11+
paginate: 1
12+
baseurl:
13+
author:
14+
name: Hamish Willee
15+
url: https://twitter.com/hamishwillee
16+
17+
username: hamishwillee
18+
description: "Blog discussing Jekyll, online Community management, developers, and API documentation."
919
bugreports: https://github.com/hamishwillee/hamishwillee.github.io/issues/new
1020

11-
navbarorder:
12-
- title: Home
13-
url: /
14-
- title: About
15-
url: /about/
16-
- title: Blogs
17-
url: /blog/
18-
- title: Twitter
19-
url: http://twitter.com/hamishwillee
21+
22+
# Custom vars
23+
version: 1.0.0
24+
github:
25+
repo: https://github.com/hamishwillee/hamishwillee.github.io
26+
27+
28+
29+
pages_list:
30+
About: '/about'
31+
Blogs: '/blog/'
32+
Twitter: 'http://twitter.com/hamishwillee'
33+
Feed: '/rss.xml'
34+
35+
36+
# Site settings - to be integrated
37+
38+
39+
40+
beer: relatedpostsdisabled, but could perhaps do something with tags.
41+
42+
# Deprecated
43+
# tagline: ""
2044

2145

2246

23-
# Build settings
24-
markdown: kramdown
25-
permalink: pretty

_config.yml~

-25
This file was deleted.

_includes/head.html

+23-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,27 @@
11
<head>
2-
<meta charset="utf-8">
3-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4-
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
5-
<meta name="viewport" content="width=device-width">
6-
<meta name="description" content="{{ site.description }}">
7-
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
2+
<link href="http://gmpg.org/xfn/11" rel="profile">
3+
<meta http-equiv="content-type" content="text/html; charset=utf-8">
84

9-
<!-- Custom CSS -->
10-
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
5+
<!-- Enable responsiveness on mobile devices-->
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
7+
<meta name="description" content="{{ site.description }}">
118

9+
<title>
10+
{% if page.title == "Home" %}
11+
{{ site.title }} &middot; {{ site.tagline }}
12+
{% else %}
13+
{{ page.title }} &middot; {{ site.title }}
14+
{% endif %}
15+
</title>
16+
17+
<!-- CSS -->
18+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/poole.css">
19+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/syntax.css">
20+
21+
<!-- Icons -->
22+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/public/apple-touch-icon-144-precomposed.png">
23+
<link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.ico">
24+
25+
<!-- RSS -->
26+
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ site.baseurl }}/atom.xml">
1227
</head>

_includes/search_box_scripts.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- Search bar script from http://truongtx.me/2012/12/28/jekyll-create-simple-search-box/
22
3-
--><form onsubmit="my_search_google()" class="floatright">
4-
<input type="search" id="my-google-search" placeholder="search">
3+
--><form onsubmit="my_search_google()" class="masthead-search">
4+
<input type="search" id="searchbox" placeholder="search">
55
</form>
66
<script language="Javascript" type="text/javascript">
77
function my_search_google()

_layouts/default.html

+28-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,38 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
33

44
{% include head.html %}
55

6-
<body>
6+
<body>
77

8-
{% include header.html %}
8+
<div class="container content">
9+
<div class="masthead">
10+
<h3 class="masthead-title">
11+
<a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a></h3>
12+
{% for page in site.pages_list %}
13+
&nbsp;&nbsp;&nbsp;
14+
<small><a href="{{ page[1] }}">{{ page[0] }}</a></small>
15+
{% endfor %}{% include search_box_scripts.html %}
16+
17+
</div>
918

10-
<div class="page-content">
11-
<div class="wrap">
1219
{{ content }}
20+
21+
<div class="footer">
22+
<p>
23+
24+
<a href="https://twitter.com/{{ site.username }}" title="Twitter feed"><img alt="Twitter" src="/images/Twitter_logo_blue.png" width="16px"></img></a><a href="https://github.com/{{ site.username }}" title="Github page"><img alt="Github" src="/images/GitHub-Mark-32px.png" width="16px"></img></a>
25+
<a href="https://plus.google.com/103662188789853792412/posts"><img alt="Google+" src="/images/googleplus_icon.png" width="16px"></img></a>
26+
<a href="http://au.linkedin.com/in/hamishwillee" title="Linkedin profile"><img alt="Linkedin" src="/images/Linkedin-InBug-16px_0.png" width="16px"></img></a>
27+
<a href="/feed.xml" title="RSS feed"><img alt="rss" src="/images/rss.png" width="16px"></img></a>
28+
<a href="mailto:{{ site.email }}?Subject={{'About page: ' | UrlEncode }}{{ page.title | UrlEncode }}&body={{'URL: '| UrlEncode }}{{site.url }}{{ page.url }}" title="Email me"><img alt="email" src="/images/email-icon.png" width="16px"></img></a>
29+
<a href="{{ site.bugreports }}?title={{'Bug in page: ' | UrlEncode }}{{ page.title | UrlEncode }}&body={{'REPLACE THIS TEXT WITH BUG DESCRIPTION %0A%0AURL: '| UrlEncode }}{{site.url }}{{ page.url }}&labels=bug" title="Report bug in page"><img alt="email" src="/images/bug-icon.png" width="16px"></a>
30+
&nbsp;&nbsp;{{ site.copyright }}</p>
1331
</div>
1432
</div>
15-
16-
{% include footer.html %}
17-
{% include google_analytics_scripts.html %}
18-
</body>
33+
{% include google_analytics_scripts.html %}
34+
</body>
1935
</html>
36+
37+
38+

_layouts/page.html

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
---
22
layout: default
33
---
4-
<div class="post">
54

6-
<header class="post-header"> {% if page.rss == true %}<div class="floatright"><a href="/feed.xml"><img alt="rss" src="/images/rss.png" width="50px"></img></a></div>{% endif %}
7-
<h1>{{ page.title }}</h1>
8-
</header>
9-
10-
11-
<article class="post-content">
5+
<div class="page">
6+
<h1 class="page-title">{{ page.title }}</h1>{% if page.rss == true %}<div class="floatright"><a href="/feed.xml"><img alt="rss" src="/images/rss.png" width="50px"></img></a></div>{% endif %}
127
{{ content }}
13-
</article>
14-
158
</div>

_layouts/post.html

+21-16
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,35 @@
11
---
22
layout: default
33
---
4-
<div class="post">
54

6-
<header class="post-header">
7-
<h1>{{ page.title }}</h1><div class="floatright"><a href="https://twitter.com/share" class="twitter-share-button" data-via="hamishwillee">Tweet</a><div class="g-plusone" data-size="medium" data-annotation="bubble" data-width="120"></div></div>
8-
<p class="meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %} </p>
9-
{% if page.tags != empty %}<div class="tag-icon-image"> {% for tag in page.tags %} <div class="tag-link"><a href="{{ site.baseurl }}/tags#{{ tag }}&tag={{ tag | uri_escape }}">{{ tag }}</a></div> {% endfor %}</div>{% endif %}
10-
</header>
11-
<article class="post-content">
5+
<div class="post">
6+
<h1 class="post-title">{{ page.title }}</h1>
7+
<span class="post-date">{{ page.date | date_to_string }}&nbsp;{% if page.tags != empty %} <div class="tag-icon-image"> {% for tag in page.tags %} <div class="tag-link"><a href="{{ site.baseurl }}/tags#{{ tag }}&tag={{ tag | uri_escape }}">{{ tag }}</a></div> {% endfor %}</div>{% endif %}</span><div class="floatright"><a href="https://twitter.com/share" class="twitter-share-button" data-via="hamishwillee">Tweet</a><div class="g-plusone" data-size="medium" data-annotation="bubble" data-width="120"></div></div>
128
{{ content }}
13-
</article>
9+
</div>
1410
<!-- add commenting -->
1511
{% if page.comments != false %}
1612
{% include commenting_scripts.html %}
1713
{% endif %}
1814
<!-- scripts for social sharing - actual share added above -->
1915
{% include social_sharing_scripts.html %}
2016

21-
17+
<!--
18+
19+
<div class="related">
20+
<h2>Related Posts</h2>
21+
<ul class="related-posts">
22+
{% for post in site.related_posts limit:3 %}
23+
<li>
24+
<h3>
25+
<a href="{{ site.baseurl }}{{ post.url }}">
26+
{{ post.title }}
27+
<small>{{ post.date | date_to_string }} </small>
28+
</a>
29+
</h3>
30+
</li>
31+
{% endfor %}
32+
</ul>
2233
</div>
2334
24-
25-
26-
27-
28-
29-
30-
35+
-->

about.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permalink: /about/
66

77
Hamish Willee is an experienced developer community manager and technical author.
88

9-
<img class="floatright" alt="Hamish Willee" src="http://avatars0.githubusercontent.com/u/5368500?s=220" />
9+
<img class="floatright" alt="Hamish Willee" src="/images/HamishImage.jpg" width="220px"/>
1010

1111
As community manager for the [Nokia Developer global community website](http://developer.nokia.com/community/wiki/Wiki_Home) (and earlier with the Symbian Foundation) Hamish created a welcoming, supportive and effective developer community. He was responsible for community strategic planning, improving infrastructure and processes, enabling easier technical contribution and collaboration, aligning community activities around Nokia's developer products and platforms, reporting on community health, advising internal teams on how to work better with the community, and demonstrating the value of the community investment within Nokia.
1212

blogs.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ permalink: /blog/
66
---
77

88
<div class="posts">
9+
<ul>
910
{% for post in site.posts %}
10-
<div class="postblock">
11-
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a><span class="post-date"> - {{ post.date | date: "%b %-d, %Y" }}</span>
11+
<!-- <div class="post-block"> -->
12+
13+
<li> <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a><span class="small-post-date"> - {{ post.date | date: "%b %-d, %Y" }}</span>
1214
{% if post.tags != empty %} <div class="tag-icon-image"> {% for tag in post.tags %} <div class="tag-link"><a href="{{ site.baseurl }}/tags#{{ tag }}&tag={{ tag | uri_escape }}">{{ tag }}</a></div> {% endfor %}</div>{% endif %}
13-
</div> {% endfor %} </div>
15+
<!-- </div> --></li> {% endfor %} </ul></div>
1416

1517

1618

blogs.md~

-27
This file was deleted.

css/main.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -535,9 +535,9 @@ margin-bottom: 6px;
535535
display: none;
536536
}
537537

538-
/* .site-nav:hover .trigger { display: block; } */
538+
.site-nav:hover .trigger { display: block; }
539539

540-
.site-nav:active .trigger { display: block; }
540+
/*.site-nav:focus .trigger { display: block; }*/
541541

542542
.site-nav .page-link {
543543
display: block;

feed.xml

-21
This file was deleted.

index.html

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
layout: default
3+
title: Home
34
---
45

5-
<div class="home">
6-
7-
86
<p>Congratulations, you've made it to <i>{{site.title}}</i>, my website and <a href="{{ site.baseurl }}/blog">blog</a>.</p>
97

108
<p>I'm an <a href="{{ site.baseurl }}/about">experienced developer community manager and technical writer</a>, with a passion for enabling great community authored content. The blog will share my thoughts about API documentation, tools, community, and more. Commenting is enabled, and I welcome your advice and feedback.</p>
@@ -17,13 +15,11 @@
1715
<h2>Latest from the blog</h2>
1816

1917
{% for post in site.posts limit:5 %}
20-
<div class="postblock">
21-
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a><span class="post-date"> - {{ post.date | date: "%b %-d, %Y" }}</span>
18+
<div class="post-block">
19+
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a><span class="small-post-date"> - {{ post.date | date: "%b %-d, %Y" }}</span>
2220
{% if post.tags != empty %} <div class="tag-icon-image"> {% for tag in post.tags %} <div class="tag-link"><a href="{{ site.baseurl }}/tags#{{ tag }}&tag={{ tag | uri_escape }}">{{ tag }}</a></div> {% endfor %}</div>{% endif %}
23-
<div class="excerpt">{{ post.excerpt }}</div>
21+
<div class="post-excerpt">{{ post.excerpt }}</div>
2422
</div> {% endfor %}
2523

2624

27-
</div>
28-
2925
</div>

startup

+16
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
11
jekyll build --source ../mygitrepo/hamishwile.github.io --destination .
22
jekyll server
3+
4+
5+
git add --all
6+
git commit -m "your comment"
7+
git push
8+
9+
10+
<!-- Text for getting page lists -->
11+
<!--
12+
{% for page in site.pages %}
13+
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
14+
{% endfor %}
15+
-->
16+
17+
http://nicolashery.com/fast-mobile-friendly-website-with-jekyll
18+

0 commit comments

Comments
 (0)