From 3b1350932979dad3a3fd52348e4a7194a72e6646 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 4 Mar 2016 12:37:24 -0500 Subject: [PATCH] Update and add samples --- _config.yml | 1 + _drafts/post-draft.md | 17 +++++++++++++++++ _layouts/post.html | 6 +++--- ...09-05-15-edge-case-nested-and-mixed-lists.md | 3 +-- _posts/2009-06-01-edge-case-many-tags.md | 1 - _posts/2009-07-02-edge-case-many-categories.md | 1 - _posts/2009-08-06-edge-case-no-body-content.md | 1 - _posts/2009-09-05-edge-case-no-yaml-title.md | 3 +-- ...itle-should-not-overflow-the-content-area.md | 1 - _posts/2009-10-05-edge-case-very-long-title.md | 1 - ...-standard.md => 2010-01-07-post-standard.md} | 1 - ...t-format-chat.md => 2010-01-08-post-chat.md} | 4 +--- ...format-quote.md => 2010-02-05-post-quote.md} | 4 +--- ...t-format-link.md => 2010-03-07-post-link.md} | 4 +--- ...tube.md => 2010-06-02-post-video-youtube.md} | 6 ++---- _posts/2010-08-05-post-image-linked.md | 9 +++++++++ _posts/2010-08-05-post-image-standard.md | 11 +++++++++++ ... => 2010-08-06-post-image-linked-caption.md} | 4 +--- ...tion.md => 2010-08-07-post-image-caption.md} | 4 +--- _posts/2010-08-08-post-format-image.md | 11 ----------- ...at-gallery.md => 2010-09-09-post-gallery.md} | 4 +--- ...eds.md => 2010-09-10-post-twitter-embeds.md} | 3 +-- _posts/2010-10-25-post-future-date.md | 7 +++++++ _posts/2012-01-02-template-comments-disabled.md | 1 - ...ments.md => 2012-01-02-template-comments.md} | 1 - ...012-01-02-template-related-posts-disabled.md | 13 +++++++++++++ _posts/2012-01-02-template-related-posts.md | 11 +++++++++++ _posts/2012-01-02-template-sharing-disabled.md | 3 +-- ...haring.md => 2012-01-02-template-sharing.md} | 1 - ...e-comments-sharing-related-posts-disabled.md | 17 +++++++++++++++++ ...12-01-03-template-table-of-contents-post.md} | 3 +-- _posts/2012-01-07-template-sticky.md | 1 - ...012-03-14-template-code-excerpt-generated.md | 1 - ...d => 2012-03-14-template-excerpt-defined.md} | 1 - _posts/2012-03-14-template-excerpt-generated.md | 1 - ...12-03-15-template-featured-image-external.md | 1 - ...-03-15-template-featured-image-horizontal.md | 1 - ...-template-featured-image-text-readability.md | 2 +- ...12-03-15-template-featured-image-vertical.md | 1 - _posts/2012-03-15-template-more-tag.md | 1 - _posts/2013-01-05-markup-title-with-markup.md | 1 - ...1-05-markup-title-with-special-characters.md | 1 - _posts/2013-01-10-markup-image-alignment.md | 1 - ...013-01-11-markup-html-tags-and-formatting.md | 1 - _posts/2013-05-22-markup-more-images.md | 2 +- _posts/2013-08-16-markup-syntax-highlighting.md | 1 - _posts/2016-02-24-welcome-to-jekyll.md | 1 - 47 files changed, 104 insertions(+), 71 deletions(-) create mode 100644 _drafts/post-draft.md rename _posts/{2010-10-05-post-format-standard.md => 2010-01-07-post-standard.md} (99%) rename _posts/{2010-01-08-post-format-chat.md => 2010-01-08-post-chat.md} (97%) rename _posts/{2010-02-05-post-format-quote.md => 2010-02-05-post-quote.md} (78%) rename _posts/{2010-03-07-post-format-link.md => 2010-03-07-post-link.md} (81%) rename _posts/{2010-06-02-post-format-video-youtube.md => 2010-06-02-post-video-youtube.md} (67%) create mode 100644 _posts/2010-08-05-post-image-linked.md create mode 100644 _posts/2010-08-05-post-image-standard.md rename _posts/{2010-08-06-post-format-image-linked.md => 2010-08-06-post-image-linked-caption.md} (84%) rename _posts/{2010-08-07-post-format-image-caption.md => 2010-08-07-post-image-caption.md} (78%) delete mode 100644 _posts/2010-08-08-post-format-image.md rename _posts/{2010-09-09-post-format-gallery.md => 2010-09-09-post-gallery.md} (97%) rename _posts/{2011-03-15-media-twitter-embeds.md => 2010-09-10-post-twitter-embeds.md} (91%) create mode 100644 _posts/2010-10-25-post-future-date.md rename _posts/{2012-01-03-template-comments.md => 2012-01-02-template-comments.md} (84%) create mode 100644 _posts/2012-01-02-template-related-posts-disabled.md create mode 100644 _posts/2012-01-02-template-related-posts.md rename _posts/{2012-01-03-template-sharing.md => 2012-01-02-template-sharing.md} (85%) create mode 100644 _posts/2012-01-03-template-comments-sharing-related-posts-disabled.md rename _posts/{2011-03-10-template-table-of-contents-post.md => 2012-01-03-template-table-of-contents-post.md} (98%) rename _posts/{2012-03-15-template-excerpt-defined.md => 2012-03-14-template-excerpt-defined.md} (93%) diff --git a/_config.yml b/_config.yml index af595b62..539bc1ed 100644 --- a/_config.yml +++ b/_config.yml @@ -100,6 +100,7 @@ defaults: layout: post comments: true share: true + related: true # _pages - scope: diff --git a/_drafts/post-draft.md b/_drafts/post-draft.md new file mode 100644 index 00000000..da9be9ae --- /dev/null +++ b/_drafts/post-draft.md @@ -0,0 +1,17 @@ +--- +layout: post +title: "Draft Post" +categories: + - Jekyll +tags: + - edge case +--- +Monocle ipsum dolor sit amet handsome pariatur aliqua, hub remarkable irure commodo classic deserunt bespoke. Sunt commodo signature, Swiss minim flat white Tsutaya excepteur artisanal et Nordic laborum joy ANA. Beams mollit exquisite Ginza efficient dolore qui Comme des Garçons Winkreative Lufthansa bulletin global. Iconic sed liveable duis. Mollit dolore eu laboris Comme des Garçons hub pintxos sed eiusmod tote bag Shinkansen nisi consectetur pariatur. Nordic international quis finest Baggu dolore, bureaux hub hand-crafted ut joy sint Airbus A380. + +Conversation handsome hub cosy, enim emerging sed K-pop velit Gaggenau charming proident et boulevard ryokan. Remarkable airport deserunt international est, nulla minim magna emerging discerning in exclusive dolor. Commodo dolore deserunt cosy, global Nordic culpa uniforms signature charming. Smart ryokan commodo, eiusmod global occaecat incididunt aliqua Beams. Boulevard conversation excepteur finest Swiss non veniam Comme des Garçons essential artisanal. Destination Scandinavian international, anim Boeing 787 in duis Baggu irure essential. + +Fugiat exclusive laborum, Gaggenau ad Winkreative sharp elit labore. Remarkable officia ryokan Boeing 787, consectetur boutique Nordic Singapore espresso elit iconic perfect izakaya soft power excepteur. Ut veniam carefully curated K-pop dolore, uniforms in voluptate. Craftsmanship Ettinger Lufthansa sophisticated esse boutique veniam exquisite. Aute cillum bespoke, intricate consectetur in exquisite international lovely bulletin irure Washlet Gaggenau deserunt. Efficient eu quality of life wardrobe labore, dolor emerging airport concierge reprehenderit izakaya dolore liveable Baggu. + +Commodo elegant essential consectetur Gaggenau culpa consequat id sophisticated St Moritz sunt conversation duis non velit. Nulla business class non ut Marylebone ANA soft power fugiat carefully curated. Bureaux sed punctual handsome Washlet impeccable hand-crafted aute extraordinary tote bag enim boulevard soft power sleepy. Dolore conversation irure Zürich the best adipisicing, vibrant finest hub anim premium aliqua. Cupidatat smart international, bureaux Baggu id efficient punctual. Tempor nulla flat white enim, K-pop incididunt elit efficient Toto uniforms concierge discerning. Concierge sleepy extraordinary, deserunt Melbourne commodo Nordic Winkreative Washlet Ginza exercitation espresso. + +Tsutaya sed in business class sharp. Do Beams in adipisicing Lufthansa. Business class occaecat Melbourne, irure Singapore commodo espresso carefully curated quis quality of life adipisicing. Impeccable laborum efficient classic proident in. Beams Helsinki ullamco Marylebone dolore sophisticated concierge Muji anim duis joy ut. Comme des Garçons aute Muji in aliquip ryokan soft power Nordic essential ANA culpa elegant. \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index 16db9ebd..afbb02e6 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -8,7 +8,7 @@ layout: default {% if page.excerpt %}{% endif %} {% if page.date %}{% endif %} {% if page.modified %}{% endif %} - +
{% if page.link %} @@ -37,8 +37,8 @@ layout: default {% endif %} -{% comment %}{% endcomment %} -{% if page.id and site.related_posts.size > 0 %} +{% comment %}{% endcomment %} +{% if page.id and page.related and site.related_posts.size > 0 %}