From 19f6eab14ea0e6346e51e3201c19dacf0c661406 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 12 Mar 2014 09:17:14 +0200 Subject: [PATCH 1/9] Remove unneeded end tags. --- site/_includes/news_item.html | 2 +- site/_includes/top.html | 8 ++++---- site/_layouts/news_item.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/site/_includes/news_item.html b/site/_includes/news_item.html index ec3d7423..696e09e8 100644 --- a/site/_includes/news_item.html +++ b/site/_includes/news_item.html @@ -14,7 +14,7 @@ {{ post.date | date_to_string }} - {{ post.author }} + {{ post.author }} {{ post.author }} diff --git a/site/_includes/top.html b/site/_includes/top.html index 043e6000..a40677fc 100644 --- a/site/_includes/top.html +++ b/site/_includes/top.html @@ -4,11 +4,11 @@ {{ page.title }} - - + + - - + + diff --git a/site/_layouts/news_item.html b/site/_layouts/news_item.html index 72927b9e..059ef03b 100644 --- a/site/_layouts/news_item.html +++ b/site/_layouts/news_item.html @@ -17,7 +17,7 @@ layout: news {{ page.date | date_to_string }} - + {{ page.author }} From 2c87f82ca761d67b8cf4b2f33c1399f230664e51 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 12 Mar 2014 09:18:31 +0200 Subject: [PATCH 2/9] Remove default type for CSS and JS files. --- site/_includes/analytics.html | 4 ++-- site/_includes/top.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/site/_includes/analytics.html b/site/_includes/analytics.html index bbdc351e..6bd86b1f 100644 --- a/site/_includes/analytics.html +++ b/site/_includes/analytics.html @@ -1,6 +1,6 @@ {% if site.gauges_id %} - From 314d1be443b909d18c8e85e05d2f8c27d33694fd Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 12 Mar 2014 09:19:33 +0200 Subject: [PATCH 3/9] Add missing alt text. --- site/_includes/header.html | 2 +- site/_layouts/news_item.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/site/_includes/header.html b/site/_includes/header.html index 39de1bf2..eb4baeb8 100644 --- a/site/_includes/header.html +++ b/site/_includes/header.html @@ -7,7 +7,7 @@

Jekyll - + Logo

diff --git a/site/_layouts/news_item.html b/site/_layouts/news_item.html index 059ef03b..48f723fc 100644 --- a/site/_layouts/news_item.html +++ b/site/_layouts/news_item.html @@ -17,7 +17,7 @@ layout: news {{ page.date | date_to_string }} From dcb8192c29e2de30987c648a6d85b13a2f0fa313 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 12 Mar 2014 09:28:50 +0200 Subject: [PATCH 4/9] Use double quotes consistently. --- site/_includes/docs_option.html | 2 +- site/_includes/docs_ul.html | 6 +- site/_includes/top.html | 4 +- site/docs/configuration.md | 102 ++++++++++++++++---------------- site/docs/templates.md | 88 +++++++++++++-------------- 5 files changed, 101 insertions(+), 101 deletions(-) diff --git a/site/_includes/docs_option.html b/site/_includes/docs_option.html index a1e29cac..57b76e2d 100644 --- a/site/_includes/docs_option.html +++ b/site/_includes/docs_option.html @@ -1,7 +1,7 @@ {% assign items = include.items %} {% for item in items %} - {% assign item_url = item | prepend:'/docs/' | append:'/' %} + {% assign item_url = item | prepend:"/docs/" | append:"/" %} {% for p in site.pages %} {% if p.url == item_url %} diff --git a/site/_includes/docs_ul.html b/site/_includes/docs_ul.html index 99ac26ef..b778df17 100644 --- a/site/_includes/docs_ul.html +++ b/site/_includes/docs_ul.html @@ -2,12 +2,12 @@
    {% for item in items %} - {% assign item_url = item | prepend:'/docs/' | append:'/' %} + {% assign item_url = item | prepend:"/docs/" | append:"/" %} {% if item_url == page.url %} - {% assign c = 'current' %} + {% assign c = "current" %} {% else %} - {% assign c = '' %} + {% assign c = "" %} {% endif %} {% for p in site.pages %} diff --git a/site/_includes/top.html b/site/_includes/top.html index a8f9fa39..4cf11b9e 100644 --- a/site/_includes/top.html +++ b/site/_includes/top.html @@ -6,8 +6,8 @@ - - + + diff --git a/site/docs/configuration.md b/site/docs/configuration.md index a615fe2c..b71675d3 100644 --- a/site/docs/configuration.md +++ b/site/docs/configuration.md @@ -31,65 +31,65 @@ class="flag">flags (specified on the command-line) that control them. - + -

    Site Source

    -

    Change the directory where Jekyll will read files

    +

    Site Source

    +

    Change the directory where Jekyll will read files

    source: DIR

    -s, --source DIR

    - + -

    Site Destination

    -

    Change the directory where Jekyll will write files

    +

    Site Destination

    +

    Change the directory where Jekyll will write files

    destination: DIR

    -d, --destination DIR

    - + -

    Safe

    -

    Disable custom plugins, and ignore symbolic links.

    +

    Safe

    +

    Disable custom plugins, and ignore symbolic links.

    safe: BOOL

    --safe

    - + -

    Exclude

    +

    Exclude

    Exclude directories and/or files from the conversion. These exclusions are relative to the site's source directory and cannot be outside the source directory.

    - +

    exclude: [DIR, FILE, ...]

    - + -

    Include

    +

    Include

    Force inclusion of directories and/or files in the conversion. .htaccess is a good example since dotfiles are excluded by default.

    - +

    include: [DIR, FILE, ...]

    - + -

    Time Zone

    +

    Time Zone

    Set the time zone for site generation. This sets the TZ environment variable, which Ruby uses to handle time and date @@ -99,13 +99,13 @@ class="flag">flags (specified on the command-line) that control them. is the local time zone, as set by your operating system.

    - +

    timezone: TIMEZONE

    - + -

    Encoding

    +

    Encoding

    Set the encoding of files by name. Only available for Ruby 1.9 or later). @@ -116,7 +116,7 @@ class="flag">flags (specified on the command-line) that control them. command ruby -e 'puts Encoding::list.join("\n")'.

    - +

    encoding: ENCODING

    @@ -135,59 +135,59 @@ class="flag">flags (specified on the command-line) that control them. - + -

    Regeneration

    -

    Enable auto-regeneration of the site when files are modified.

    +

    Regeneration

    +

    Enable auto-regeneration of the site when files are modified.

    -w, --watch

    - + -

    Configuration

    +

    Configuration

    Specify config files instead of using _config.yml automatically. Settings in later files override settings in earlier files.

    - +

    --config FILE1[,FILE2,...]

    - + -

    Drafts

    +

    Drafts

    Process and render draft posts.

    - +

    --drafts

    - + -

    Future

    +

    Future

    Publish posts with a future date.

    - +

    future: BOOL

    --future

    - + -

    LSI

    +

    LSI

    Produce an index for related posts.

    - +

    lsi: BOOL

    --lsi

    - + -

    Limit Posts

    +

    Limit Posts

    Limit the number of posts to parse and publish.

    - +

    limit_posts: NUM

    --limit_posts NUM

    @@ -211,40 +211,40 @@ before your site is served. - + -

    Local Server Port

    -

    Listen on the given port.

    +

    Local Server Port

    +

    Listen on the given port.

    port: PORT

    --port PORT

    - + -

    Local Server Hostname

    -

    Listen at the given hostname.

    +

    Local Server Hostname

    +

    Listen at the given hostname.

    host: HOSTNAME

    --host HOSTNAME

    - + -

    Base URL

    -

    Serve the website from the given base URL

    +

    Base URL

    +

    Serve the website from the given base URL

    baseurl: URL

    --baseurl URL

    - + -

    Detach

    -

    Detach the server from the terminal

    +

    Detach

    +

    Detach the server from the terminal

    detach: BOOL

    diff --git a/site/docs/templates.md b/site/docs/templates.md index 6c34993b..611e1b56 100644 --- a/site/docs/templates.md +++ b/site/docs/templates.md @@ -25,162 +25,162 @@ common tasks easier. -

    Date to XML Schema

    +

    Date to XML Schema

    Convert a Date into XML Schema (ISO 8601) format.

    - +

    - {% raw %}{{ site.time | date_to_xmlschema }}{% endraw %} + {% raw %}{{ site.time | date_to_xmlschema }}{% endraw %}

    - 2008-11-07T13:07:54-08:00 + 2008-11-07T13:07:54-08:00

    -

    Date to RFC-822 Format

    +

    Date to RFC-822 Format

    Convert a Date into the RFC-822 format used for RSS feeds.

    - +

    - {% raw %}{{ site.time | date_to_rfc822 }}{% endraw %} + {% raw %}{{ site.time | date_to_rfc822 }}{% endraw %}

    - Mon, 07 Nov 2008 13:07:54 -0800 + Mon, 07 Nov 2008 13:07:54 -0800

    -

    Date to String

    +

    Date to String

    Convert a date to short format.

    - +

    - {% raw %}{{ site.time | date_to_string }}{% endraw %} + {% raw %}{{ site.time | date_to_string }}{% endraw %}

    - 07 Nov 2008 + 07 Nov 2008

    -

    Date to Long String

    +

    Date to Long String

    Format a date to long format.

    - +

    - {% raw %}{{ site.time | date_to_long_string }}{% endraw %} + {% raw %}{{ site.time | date_to_long_string }}{% endraw %}

    - 07 November 2008 + 07 November 2008

    -

    XML Escape

    +

    XML Escape

    Escape some text for use in XML.

    - +

    - {% raw %}{{ page.content | xml_escape }}{% endraw %} + {% raw %}{{ page.content | xml_escape }}{% endraw %}

    -

    CGI Escape

    +

    CGI Escape

    CGI escape a string for use in a URL. Replaces any special characters with appropriate %XX replacements.

    - +

    - {% raw %}{{ “foo,bar;baz?” | cgi_escape }}{% endraw %} + {% raw %}{{ “foo,bar;baz?” | cgi_escape }}{% endraw %}

    - foo%2Cbar%3Bbaz%3F + foo%2Cbar%3Bbaz%3F

    -

    URI Escape

    +

    URI Escape

    URI escape a string.

    - +

    - {% raw %}{{ “'foo, bar \\baz?'” | uri_escape }}{% endraw %} + {% raw %}{{ “'foo, bar \\baz?'” | uri_escape }}{% endraw %}

    - foo,%20bar%20%5Cbaz? + foo,%20bar%20%5Cbaz?

    -

    Number of Words

    +

    Number of Words

    Count the number of words in some text.

    - +

    - {% raw %}{{ page.content | number_of_words }}{% endraw %} + {% raw %}{{ page.content | number_of_words }}{% endraw %}

    - 1337 + 1337

    -

    Array to Sentence

    +

    Array to Sentence

    Convert an array into a sentence. Useful for listing tags.

    - +

    - {% raw %}{{ page.tags | array_to_sentence_string }}{% endraw %} + {% raw %}{{ page.tags | array_to_sentence_string }}{% endraw %}

    - foo, bar, and baz + foo, bar, and baz

    -

    Textilize

    +

    Textilize

    Convert a Textile-formatted string into HTML, formatted via RedCloth

    - +

    - {% raw %}{{ page.excerpt | textilize }}{% endraw %} + {% raw %}{{ page.excerpt | textilize }}{% endraw %}

    -

    Markdownify

    +

    Markdownify

    Convert a Markdown-formatted string into HTML.

    - +

    - {% raw %}{{ page.excerpt | markdownify }}{% endraw %} + {% raw %}{{ page.excerpt | markdownify }}{% endraw %}

    -

    Data To JSON

    +

    Data To JSON

    Convert Hash or Array to JSON.

    - +

    - {% raw %}{{ site.data.projects | jsonify }}{% endraw %} + {% raw %}{{ site.data.projects | jsonify }}{% endraw %}

    From f0ed1c37a409a3ad783fd53759e56cf7b0725720 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 12 Mar 2014 09:33:14 +0200 Subject: [PATCH 5/9] Remove unused Google font. --- site/_includes/top.html | 1 - 1 file changed, 1 deletion(-) diff --git a/site/_includes/top.html b/site/_includes/top.html index 4cf11b9e..28ee4ca6 100644 --- a/site/_includes/top.html +++ b/site/_includes/top.html @@ -7,7 +7,6 @@ - From 76e89dae32a9030d29110642e0b0492c4817de70 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 12 Mar 2014 09:35:04 +0200 Subject: [PATCH 6/9] Use the protocol relative URL for Google fonts. --- site/_includes/top.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/_includes/top.html b/site/_includes/top.html index 28ee4ca6..a27d9d58 100644 --- a/site/_includes/top.html +++ b/site/_includes/top.html @@ -6,7 +6,7 @@ - + From 0d70d97eeba92962dc7b5967e2f0e8ebf2fd0809 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 12 Mar 2014 09:36:18 +0200 Subject: [PATCH 7/9] Remove empty classes. --- site/_includes/primary-nav-items.html | 2 +- site/index.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/site/_includes/primary-nav-items.html b/site/_includes/primary-nav-items.html index 54e6a599..bdd3027a 100644 --- a/site/_includes/primary-nav-items.html +++ b/site/_includes/primary-nav-items.html @@ -8,7 +8,7 @@
  • News
  • -
  • +
  • View on GitHub
diff --git a/site/index.html b/site/index.html index fb8e802a..d2317053 100644 --- a/site/index.html +++ b/site/index.html @@ -18,19 +18,19 @@ overview: true

No more databases, comment moderation, or pesky updates to install—just your content.

- How Jekyll works → + How Jekyll works →
@@ -80,7 +80,7 @@ overview: true

Free hosting with GitHub Pages

Sick of dealing with hosting companies? GitHub Pages are powered by Jekyll, so you can easily deploy your site using GitHub for free—custom domain name and all.

- Learn more about GitHub Pages → + Learn more about GitHub Pages →
From 11f609c3a6f7a4d74b0863ba9175b011e31073ac Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 12 Mar 2014 12:43:54 +0200 Subject: [PATCH 8/9] Remove the unused `site.url`. --- site/_includes/footer.html | 2 +- site/_includes/header.html | 4 ++-- site/_includes/primary-nav-items.html | 6 +++--- site/_includes/section_nav.html | 4 ++-- site/_includes/top.html | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/site/_includes/footer.html b/site/_includes/footer.html index f160a720..35c4f78e 100644 --- a/site/_includes/footer.html +++ b/site/_includes/footer.html @@ -7,7 +7,7 @@

Proudly hosted by - GitHub • Social coding + GitHub • Social coding

diff --git a/site/_includes/header.html b/site/_includes/header.html index eb4baeb8..f55cff3d 100644 --- a/site/_includes/header.html +++ b/site/_includes/header.html @@ -5,9 +5,9 @@
diff --git a/site/_includes/primary-nav-items.html b/site/_includes/primary-nav-items.html index bdd3027a..d6843338 100644 --- a/site/_includes/primary-nav-items.html +++ b/site/_includes/primary-nav-items.html @@ -1,12 +1,12 @@
  • - Overview + Overview
  • - Docsumentation + Docsumentation
  • - News + News
  • View on GitHub diff --git a/site/_includes/section_nav.html b/site/_includes/section_nav.html index beb65e74..edba1931 100644 --- a/site/_includes/section_nav.html +++ b/site/_includes/section_nav.html @@ -1,7 +1,7 @@
    {% if page.prev_section != null %} - {% else %} @@ -10,7 +10,7 @@
    {% if page.next_section != null %} - {% else %} diff --git a/site/_includes/top.html b/site/_includes/top.html index a27d9d58..461bab4d 100644 --- a/site/_includes/top.html +++ b/site/_includes/top.html @@ -7,7 +7,7 @@ - - - + + + From d227fa6302edebdc918347d2c5b23dbb313e7578 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 12 Mar 2014 12:53:11 +0200 Subject: [PATCH 9/9] Specify image dimensions in the HTML. --- site/_includes/css/style.css | 4 ---- site/_includes/footer.html | 2 +- site/_includes/news_item.html | 2 +- site/_layouts/news_item.html | 2 +- site/index.html | 2 +- 5 files changed, 4 insertions(+), 8 deletions(-) diff --git a/site/_includes/css/style.css b/site/_includes/css/style.css index 7d261f50..ddb3ede4 100644 --- a/site/_includes/css/style.css +++ b/site/_includes/css/style.css @@ -157,8 +157,6 @@ body > footer img { position: relative; top: 8px; margin-left: 5px; - width: 100px; - height: 30px; opacity: .8; padding: 1px; -webkit-transition: opacity .2s; @@ -591,8 +589,6 @@ article h2:first-child { } .avatar { - width: 24px; - height: 24px; border-radius: 3px; display: inline-block; vertical-align: middle; diff --git a/site/_includes/footer.html b/site/_includes/footer.html index 35c4f78e..6ceb6fcd 100644 --- a/site/_includes/footer.html +++ b/site/_includes/footer.html @@ -7,7 +7,7 @@

    Proudly hosted by - GitHub • Social coding + GitHub • Social coding

    diff --git a/site/_includes/news_item.html b/site/_includes/news_item.html index 696e09e8..08295aa8 100644 --- a/site/_includes/news_item.html +++ b/site/_includes/news_item.html @@ -14,7 +14,7 @@ {{ post.date | date_to_string }}
    diff --git a/site/_layouts/news_item.html b/site/_layouts/news_item.html index 48f723fc..a09e545d 100644 --- a/site/_layouts/news_item.html +++ b/site/_layouts/news_item.html @@ -17,7 +17,7 @@ layout: news {{ page.date | date_to_string }}
diff --git a/site/index.html b/site/index.html index d2317053..2d0a0d25 100644 --- a/site/index.html +++ b/site/index.html @@ -76,7 +76,7 @@ overview: true
- Free Jekyll hosting on GitHub Pages + Free Jekyll hosting on GitHub Pages

Free hosting with GitHub Pages

Sick of dealing with hosting companies? GitHub Pages are powered by Jekyll, so you can easily deploy your site using GitHub for free—custom domain name and all.