diff --git a/site/_config.yml b/site/_config.yml index 8b8c6fda..ac93b762 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -1,3 +1,4 @@ pygments: true relative_permalinks: false gauges_id: 503c5af6613f5d0f19000027 +permalink: /news/:year/:month/:day/:title diff --git a/site/_includes/news_contents.html b/site/_includes/news_contents.html new file mode 100644 index 00000000..f22a1a1a --- /dev/null +++ b/site/_includes/news_contents.html @@ -0,0 +1,23 @@ +
+ +
diff --git a/site/_includes/news_contents_mobile.html b/site/_includes/news_contents_mobile.html new file mode 100644 index 00000000..e8fb55e7 --- /dev/null +++ b/site/_includes/news_contents_mobile.html @@ -0,0 +1,11 @@ +
+ +
diff --git a/site/_includes/news_item.html b/site/_includes/news_item.html new file mode 100644 index 00000000..e09e162f --- /dev/null +++ b/site/_includes/news_item.html @@ -0,0 +1,24 @@ +
+

+ + {{ post.title }} + +

+ + {% for category in post.categories %} + {{ category }} + {% endfor %} + +
+ + +
+

+ {{ post.content }} +

+
diff --git a/site/_includes/primary-nav-items.html b/site/_includes/primary-nav-items.html index 57956ae0..06b17c1b 100644 --- a/site/_includes/primary-nav-items.html +++ b/site/_includes/primary-nav-items.html @@ -2,9 +2,12 @@
  • Overview
  • -
  • +
  • Docsumentation
  • +
  • + News +
  • View on GitHub
  • diff --git a/site/_includes/top.html b/site/_includes/top.html index 3b5c630b..9a0d5a8f 100644 --- a/site/_includes/top.html +++ b/site/_includes/top.html @@ -4,6 +4,7 @@ {{ page.title }} + diff --git a/site/_layouts/news.html b/site/_layouts/news.html new file mode 100644 index 00000000..8f7945f3 --- /dev/null +++ b/site/_layouts/news.html @@ -0,0 +1,19 @@ +--- +layout: default +--- + +
    +
    + + {% include news_contents_mobile.html %} + +
    + {{ content }} +
    + + {% include news_contents.html %} + +
    + +
    +
    diff --git a/site/_layouts/news_item.html b/site/_layouts/news_item.html new file mode 100644 index 00000000..b0645320 --- /dev/null +++ b/site/_layouts/news_item.html @@ -0,0 +1,27 @@ +--- +layout: news +--- + +
    +

    + {{ page.title }} + +

    + + {% for category in page.categories %} + {{ category }} + {% endfor %} + +
    + + +
    +

    + {{ content }} +

    +
    diff --git a/site/_posts/2013-05-06-jekyll-1-0-0-released.markdown b/site/_posts/2013-05-06-jekyll-1-0-0-released.markdown new file mode 100644 index 00000000..34010e0c --- /dev/null +++ b/site/_posts/2013-05-06-jekyll-1-0-0-released.markdown @@ -0,0 +1,23 @@ +--- +layout: news_item +title: "Jekyll 1.0.0 Released" +date: "2013-05-06 02:12:52 +0200" +author: parkr +version: 1.0.0 +categories: [release] +--- + +Hey! After many months of hard work by Jekyll's contributors, we're excited +to announce the first major release of the project in a long while. v1.0.0 is +finally here! While the list of improvements and bug fixes is [quite lengthy][history], +here are the highlights (thanks to [@benbalter](http://twitter.com/BenBalter) for the +examples and for compiling this list): + +- Support for the Gist tag for easily embedding Gists ([example](https://gist.github.com/benbalter/5555251)) +- Automatically generated post excerpts ([example](https://gist.github.com/benbalter/5555369)) +- Save and preview drafts before publishing ([example](https://gist.github.com/benbalter/5555992)) + +Take a look at the [Upgrading][] page in the docs for more detailed information. + +[history]: /docs/history/#100__20130506 +[Upgrading]: /docs/upgrading/ diff --git a/site/_posts/2013-05-08-jekyll-1-0-1-released.markdown b/site/_posts/2013-05-08-jekyll-1-0-1-released.markdown new file mode 100644 index 00000000..8ec618b4 --- /dev/null +++ b/site/_posts/2013-05-08-jekyll-1-0-1-released.markdown @@ -0,0 +1,27 @@ +--- +layout: news_item +title: "Jekyll 1.0.1 Released" +date: "2013-05-08 23:46:11 +0200" +author: parkr +version: 1.0.1 +categories: [release] +--- + +Hot on the trails of v1.0, v1.0.1 is out! Here are the highlights: + +* Add newer `language-` class name prefix to code blocks ([#1037][]) +* Commander error message now preferred over process abort with incorrect args ([#1040][]) +* Do not force use of toc_token when using generate_toc in RDiscount ([#1048][]) +* Make Redcarpet respect the pygments configuration option ([#1053][]) +* Fix the index build with LSI ([#1045][]) +* Don't print deprecation warning when no arguments are specified. ([#1041][]) +* Add missing `` to site template used by `new` subcommand, fixed typos in code ([#1032][]) + +See the [History][] page for more information on this release. + +{% assign issue_numbers = "1037|1040|1048|1053|1045|1041|1032" | split: "|" %} +{% for issue in issue_numbers %} +[#{{ issue }}]: https://github.com/mojombo/jekyll/issues/{{ issue }} +{% endfor %} + +[History]: /docs/history/#101__20130508 diff --git a/site/_posts/2013-05-12-jekyll-1-0-2-released.markdown b/site/_posts/2013-05-12-jekyll-1-0-2-released.markdown new file mode 100644 index 00000000..658bc6be --- /dev/null +++ b/site/_posts/2013-05-12-jekyll-1-0-2-released.markdown @@ -0,0 +1,28 @@ +--- +layout: news_item +title: "Jekyll 1.0.2 Released" +date: "2013-05-12 14:45:00 +0200" +author: parkr +version: 1.0.2 +categories: [release] +--- + +v1.0.2 has some key bugfixes that optionally restore some behaviour from pre-1.0 +releases, and fix some other annoying bugs: + +* Backwards-compatibilize relative permalinks ([#1081][]) +* Add `jekyll doctor` command to check site for any known compatibility problems ([#1081][]) +* Deprecate old config `server_port`, match to `port` if `port` isn't set ([#1084][]) +* Update pygments.rb and kramdon versions to 0.5.0 and 1.0.2, respectively ([#1061][], [#1067][]) +* Fix issue when post categories are numbers ([#1078][]) +* Add a `data-lang=""` attribute to Redcarpet code blocks ([#1066][]) +* Catching that Redcarpet gem isn't installed ([#1059][]) + +See the [History][] page for more information on this release. + +{% assign issue_numbers = "1059|1061|1066|1067|1078|1081|1084" | split: "|" %} +{% for issue in issue_numbers %} +[#{{ issue }}]: https://github.com/mojombo/jekyll/issues/{{ issue }} +{% endfor %} + +[History]: /docs/history/#102__20130512 diff --git a/site/_posts/2013-06-07-jekyll-1-0-3-released.markdown b/site/_posts/2013-06-07-jekyll-1-0-3-released.markdown new file mode 100644 index 00000000..39c0c6ba --- /dev/null +++ b/site/_posts/2013-06-07-jekyll-1-0-3-released.markdown @@ -0,0 +1,25 @@ +--- +layout: news_item +title: "Jekyll 1.0.3 Released" +date: "2013-06-07 21:02:13 +0200" +author: parkr +version: 1.0.3 +categories: [release] +--- + +v1.0.3 contains some key enhancements and bug fixes: + +- Fail with non-zero exit code when MaRuKu errors ([#1190][]) or Liquid errors ([#1121][]) +- Add support for private gists to `gist` tag ([#1189][]) +- Add `--force` option to `jekyll new` ([#1115][]) +- Fix compatibility with `exclude` and `include` with pre-1.0 Jekyll ([#1114][]) +- Fix pagination issue regarding `File.basename` and `page:num` ([#1063][]) + +See the [History][] page for more information on this release. + +{% assign issue_numbers = "1190|1121|1189|1115|1114|1063" | split: "|" %} +{% for issue in issue_numbers %} +[#{{ issue }}]: https://github.com/mojombo/jekyll/issues/{{ issue }} +{% endfor %} + +[History]: /docs/history/#103__20130607 diff --git a/site/css/style.css b/site/css/style.css index 5acea813..0b4d90ed 100644 --- a/site/css/style.css +++ b/site/css/style.css @@ -117,7 +117,7 @@ nav li { .mobile-nav li { display: table-cell; - width: 33.3%; + width: 25%; padding: 8px; } @@ -359,40 +359,38 @@ body > footer a:hover img { } } -/* Documentation */ +/* Article - Used for both docs and news */ -.docs .content { - padding: 0; -} -.docs article { +article { background: #444; border-radius: 10px; padding: 20px; margin: 0 10px; box-shadow: 0 3px 10px rgba(0,0,0,.1); - min-height: 800px; font-size: 16px; } @media (max-width: 568px){ - .docs article { + article { margin: 0; } } @media (min-width: 768px){ - .docs article { + article { padding: 40px 40px 30px; font-size: 21px; } } -.docs aside { +/* Right-side nav - used by both docs and news */ + +aside { padding-top: 30px; } -.docs aside h4 { +aside h4 { text-transform: uppercase; font-size: 14px; font-weight: 700; @@ -402,20 +400,24 @@ body > footer a:hover img { border-bottom: 1px solid #c00; } -.docs aside ul { +aside ul { padding-left: 0; } -.docs aside li { +aside ul:first-child { + margin-top: 0; +} + +aside li { list-style-type: none; } -.docs aside li a { +aside li a { font-size: 16px; position: relative } -.docs aside li.current a:before { +aside li.current a:before { content: ""; border-color: transparent transparent transparent #444; border-style: solid; @@ -427,6 +429,16 @@ body > footer a:hover img { left: -30px; } +/* Documentation */ + +.docs article { + min-height: 800px; +} + +.docs .content { + padding: 0; +} + .section-nav { text-align: center; padding-top: 40px; @@ -499,6 +511,96 @@ body > footer a:hover img { width: 100%; } +/* News */ + +article h2:first-child { + margin-top: 0; +} + +.post-category, +.post-meta { + display: inline-block; + vertical-align: middle; + font-size: .8em; +} + +.post-category { + display: inline-block; + margin-left: -30px; + padding: 6px 10px 8px; + padding-left: 50px; + border-radius: 0 5px 5px 0; + position: relative; + box-shadow: 0 1px 5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.3); + background: #9e2812; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzllMjgxMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2ZjBkMGQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #9e2812 0%, #6f0d0d 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9e2812), color-stop(100%,#6f0d0d)); + background: -webkit-linear-gradient(top, #9e2812 0%,#6f0d0d 100%); + background: -o-linear-gradient(top, #9e2812 0%,#6f0d0d 100%); + background: -ms-linear-gradient(top, #9e2812 0%,#6f0d0d 100%); + background: linear-gradient(to bottom, #9e2812 0%,#6f0d0d 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e2812', endColorstr='#6f0d0d',GradientType=0 ); +} + +.label { + float: left; + text-transform: uppercase; + font-weight: bold; + text-shadow: 0 -1px 0 rgba(0,0,0,.5); +} + +@media (max-width: 568px){ + .post-category { + margin-right: -30px; + } +} + +@media (min-width: 768px){ + .post-category { + margin-left: -50px; + } +} + +.post-category:before { + content: ""; + position: absolute; + top: -10px; + left: 0px; + border-color: transparent #6f0d0d #6f0d0d transparent; + border-style: solid; + border-width: 5px; + width: 0; + height: 0; +} + +.avatar { + width: 24px; + height: 24px; + border-radius: 3px; + display: inline-block; + vertical-align: middle; +} + +.post-meta { + padding: 5px 0; + color: #aaa; + font-weight: 600; + text-shadow: 0 -1px 0 #000; +} + +.post-date, +.post-author { + margin-left: 10px; +} + +.news article + article { + margin-top: -10px; + border-radius: 0 0 10px 10px; + border-top: 1px solid #555; + box-shadow: 0 -1px 0 #2f2f2f; +} + /* Code Highlighting */ diff --git a/site/feed.xml b/site/feed.xml new file mode 100644 index 00000000..bd49bd69 --- /dev/null +++ b/site/feed.xml @@ -0,0 +1,36 @@ +--- +layout: none +permalink: /feed.xml +--- + + + + + Jekyll • Simple, blog-aware, static sites + + http://jekyllrb.com + {{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }} + {{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }} + en-US + Transform your plain text into static websites and blogs. + {% for post in site.posts %} + + {{ post.title }} + http://jekyllrb.com{{ post.url }} + {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} + {{ post.author }} + {% for tag in post.tags %}{{ tag | xml_escape }} + {% endfor %}{% for cat in post.categories %}{{ cat | xml_escape }} + {% endfor %}{{ post.id }} + + + {% endfor %} + + diff --git a/site/index.html b/site/index.html index 93203ebd..a015de93 100644 --- a/site/index.html +++ b/site/index.html @@ -1,6 +1,6 @@ --- layout: default -title: Jekyll • Simple, blog-aware, static sites +title: Jekyll • Simple, blog-aware, static sites overview: true --- diff --git a/site/news/index.md b/site/news/index.md new file mode 100644 index 00000000..94139fc0 --- /dev/null +++ b/site/news/index.md @@ -0,0 +1,10 @@ +--- +layout: news +title: News +permalink: /news/ +author: all +--- + +{% for post in site.posts %} + {% include news_item.html %} +{% endfor %} diff --git a/site/news/releases/index.md b/site/news/releases/index.md new file mode 100644 index 00000000..153d022c --- /dev/null +++ b/site/news/releases/index.md @@ -0,0 +1,10 @@ +--- +layout: news +title: Releases +permalink: /news/releases/ +author: all +--- + +{% for post in site.categories.release %} + {% include news_item.html %} +{% endfor %}