Update and add samples
This commit is contained in:
parent
bc67d8d136
commit
3b13509329
47 changed files with 104 additions and 71 deletions
|
@ -100,6 +100,7 @@ defaults:
|
|||
layout: post
|
||||
comments: true
|
||||
share: true
|
||||
related: true
|
||||
|
||||
# _pages
|
||||
- scope:
|
||||
|
|
17
_drafts/post-draft.md
Normal file
17
_drafts/post-draft.md
Normal file
|
@ -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.
|
|
@ -8,7 +8,7 @@ layout: default
|
|||
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
||||
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
|
||||
|
||||
|
||||
<div class="article-wrap">
|
||||
<header>
|
||||
{% if page.link %}
|
||||
|
@ -37,8 +37,8 @@ layout: default
|
|||
{% endif %}
|
||||
</article>
|
||||
|
||||
{% comment %}<!-- only show related on a post page -->{% endcomment %}
|
||||
{% if page.id and site.related_posts.size > 0 %}
|
||||
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
|
||||
{% if page.id and page.related and site.related_posts.size > 0 %}
|
||||
<div class="related-articles">
|
||||
<h4>You might also enjoy <small class="pull-right">(<a href="{{ absurl }}/posts/">View all posts</a>)</small></h4>
|
||||
<ul>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Edge Case: Nested And Mixed Lists"
|
||||
date: 2009-05-15T14:48:32+00:00
|
||||
title: "Edge Case: Nested and Mixed Lists"
|
||||
categories:
|
||||
- Edge Case
|
||||
tags:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Edge Case: Many Tags"
|
||||
date: 2009-06-01T01:00:34+00:00
|
||||
categories:
|
||||
- Edge Case
|
||||
tags:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Edge Case: Many Categories"
|
||||
date: 2009-07-02T02:00:03+00:00
|
||||
categories:
|
||||
- aciform
|
||||
- antiquarianism
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Edge Case: No Body Content"
|
||||
date: 2009-08-06T09:39:56+00:00
|
||||
categories:
|
||||
- Edge Case
|
||||
tags:
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
date: 2009-09-05T09:00:23+00:00
|
||||
categories:
|
||||
- Edge Case
|
||||
tags:
|
||||
|
@ -7,4 +6,4 @@ tags:
|
|||
- layout
|
||||
- title
|
||||
---
|
||||
This post has no title specified in the YAML Front Matter.
|
||||
This post has no title specified in the YAML Front Matter. Jekyll should auto-generate a title from the filename.
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Antidisestablishmentarianism"
|
||||
date: 2009-10-05T12:00:59+00:00
|
||||
categories:
|
||||
- Edge Case
|
||||
tags:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Suspicio? Bene ... tunc ibimus? Quis uh ... CONEXUS locus his diebus? Quisque semper aliquid videtur, in volutpat mauris. Nolo enim dicere. Vobis neque ab aliis. Ego feci memetipsum explicans. Gus mortuus est. Lorem opus habeo. Jackson Isai? Tu quoque ... A te quidem a ante. Vos scitis quod blinking res Ive 'been vocans super vos? Et conteram illud, et conteram hoc. Maledicant druggie excors. Iam hoc tu facere conatus sum ad te in omni tempore? Ludum mutavit. Verbum est ex. Et ... sunt occid"
|
||||
date: 2009-10-05T12:00:59+00:00
|
||||
categories:
|
||||
- Edge Case
|
||||
tags:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Post Format: Standard"
|
||||
date: 2010-10-05T00:27:25+00:00
|
||||
excerpt_separator: "<!--more-->"
|
||||
categories:
|
||||
- Post Formats
|
|
@ -1,12 +1,10 @@
|
|||
---
|
||||
title: "Post Format: Chat"
|
||||
date: 2010-01-08T07:59:31+00:00
|
||||
title: "Post: Chat"
|
||||
categories:
|
||||
- Post Formats
|
||||
tags:
|
||||
- chat
|
||||
- Post Formats
|
||||
format: chat
|
||||
---
|
||||
Abbott: Strange as it may seem, they give ball players nowadays very peculiar names.
|
||||
|
|
@ -1,12 +1,10 @@
|
|||
---
|
||||
title: "Post Format: Quote"
|
||||
date: 2010-02-05T08:13:15+00:00
|
||||
title: "Post: Quote"
|
||||
categories:
|
||||
- Post Formats
|
||||
tags:
|
||||
- Post Formats
|
||||
- quote
|
||||
format: quote
|
||||
---
|
||||
> Only one thing is impossible for God: To find any sense in any copyright law on the planet.
|
||||
|
|
@ -1,12 +1,10 @@
|
|||
---
|
||||
title: "Post Format: Link"
|
||||
date: 2010-03-07T08:06:53+00:00
|
||||
title: "Post: Link"
|
||||
categories:
|
||||
- Post Formats
|
||||
tags:
|
||||
- link
|
||||
- Post Formats
|
||||
format: link
|
||||
link: https://github.com
|
||||
---
|
||||
This theme supports **link posts**, made famous by John Gruber. To use, just add `link: http://url-you-want-linked` to the post's YAML front matter and you're done.
|
|
@ -1,12 +1,10 @@
|
|||
---
|
||||
title: "Post Format: Video (YouTube)"
|
||||
date: 2010-06-02T02:00:58+00:00
|
||||
title: "Post: Video (YouTube)"
|
||||
categories:
|
||||
- Post Formats
|
||||
tags:
|
||||
- Post Formats
|
||||
format: video
|
||||
---
|
||||
YouTube video embed.
|
||||
YouTube video embed below.
|
||||
|
||||
<iframe width="640" height="360" src="https://www.youtube-nocookie.com/embed/l2Of1-d5E5o?controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
|
9
_posts/2010-08-05-post-image-linked.md
Normal file
9
_posts/2010-08-05-post-image-linked.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: "Post: Image (with Link)"
|
||||
categories:
|
||||
- Post Formats
|
||||
tags:
|
||||
- image
|
||||
- Post Formats
|
||||
---
|
||||
[![foo]({{http://wpthemetestdata.files.wordpress.com/2008/06/100_5540.jpg?w=604}})](http://wpthemetestdata.files.wordpress.com/2008/06/100_5540.jpg)
|
11
_posts/2010-08-05-post-image-standard.md
Normal file
11
_posts/2010-08-05-post-image-standard.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: "Post: Image (Standard)"
|
||||
categories:
|
||||
- Post Formats
|
||||
tags:
|
||||
- image
|
||||
- Post Formats
|
||||
---
|
||||
The preferred way of using images is placing them in the `/images/` directory and referencing them with an absolute path. Prepending the filename with `{% raw %}{{ site.url }}{{ site.baseurl }}/images/{% endraw %}` well make sure your images display properly in feeds and such.
|
||||
|
||||
![Unsplash image 9]({{ site.url }}{{ site.baseurl }}/images/unsplash-image-9.jpg)
|
|
@ -1,12 +1,10 @@
|
|||
---
|
||||
title: "Post Format: Image (Linked)"
|
||||
date: 2010-08-06T08:09:39+00:00
|
||||
title: "Post: Image (Linked with Caption)"
|
||||
categories:
|
||||
- Post Formats
|
||||
tags:
|
||||
- image
|
||||
- Post Formats
|
||||
format: image
|
||||
---
|
||||
{% capture fig_img %}
|
||||
[![Foo](http://wpthemetestdata.files.wordpress.com/2012/06/dsc20040724_152504_532.jpg)](http://wpthemetestdata.files.wordpress.com/2012/06/dsc20040724_152504_532.jpg)
|
|
@ -1,13 +1,11 @@
|
|||
---
|
||||
title: "Post Format: Image (Caption)"
|
||||
date: 2010-08-07T06:00:19+00:00
|
||||
title: "Post: Image (Caption)"
|
||||
categories:
|
||||
- Post Formats
|
||||
tags:
|
||||
- image
|
||||
- Post Formats
|
||||
- shortcode
|
||||
format: image
|
||||
---
|
||||
{% capture fig_img %}
|
||||
![Foo](http://wpthemetestdata.files.wordpress.com/2008/06/100_5478.jpg?w=604)
|
|
@ -1,11 +0,0 @@
|
|||
---
|
||||
title: "Post Format: Image"
|
||||
date: 2010-08-08T05:00:39+00:00
|
||||
categories:
|
||||
- Post Formats
|
||||
tags:
|
||||
- image
|
||||
- Post Formats
|
||||
format: image
|
||||
---
|
||||
[![foo](http://wpthemetestdata.files.wordpress.com/2008/06/100_5540.jpg?w=604)](http://wpthemetestdata.files.wordpress.com/2008/06/100_5540.jpg)
|
|
@ -1,13 +1,11 @@
|
|||
---
|
||||
title: "Post Format: Gallery"
|
||||
date: 2010-09-09T17:23:27+00:00
|
||||
title: "Post: Gallery"
|
||||
categories:
|
||||
- Post Formats
|
||||
tags:
|
||||
- gallery
|
||||
- Post Formats
|
||||
- tiled
|
||||
format: gallery
|
||||
gallery:
|
||||
- large: unsplash-gallery-image-1.jpg
|
||||
thumb: unsplash-gallery-image-1-th.jpg
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Media: Twitter Embeds"
|
||||
date: 2011-03-15T15:47:16+00:00
|
||||
title: "Post: Twitter Embed"
|
||||
categories:
|
||||
- Media
|
||||
tags:
|
7
_posts/2010-10-25-post-future-date.md
Normal file
7
_posts/2010-10-25-post-future-date.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: "Post: Future Date"
|
||||
date: 9999-12-31
|
||||
categories:
|
||||
- Post
|
||||
---
|
||||
This post lives in the future and is dated {{ page.date | date: "%c" }}. When building Jekyll with the `--future` flag it should appear.
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Template: Comments Disabled"
|
||||
date: 2012-01-02T10:21:15+00:00
|
||||
comments: false
|
||||
categories:
|
||||
- Template
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Template: Comments Enabled"
|
||||
date: 2012-01-03T10:11:37+00:00
|
||||
comments: true
|
||||
categories:
|
||||
- Template
|
13
_posts/2012-01-02-template-related-posts-disabled.md
Normal file
13
_posts/2012-01-02-template-related-posts-disabled.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: "Template: Related Posts Disabled"
|
||||
related: false
|
||||
categories:
|
||||
- Template
|
||||
- Uncategorized
|
||||
tags:
|
||||
- related posts
|
||||
- template
|
||||
---
|
||||
This post has related posts disabled.
|
||||
|
||||
Related post links should not appear.
|
11
_posts/2012-01-02-template-related-posts.md
Normal file
11
_posts/2012-01-02-template-related-posts.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: "Template: Related Posts Enabled"
|
||||
related: true
|
||||
categories:
|
||||
- Template
|
||||
- Uncategorized
|
||||
tags:
|
||||
- related posts
|
||||
- template
|
||||
---
|
||||
This post has related posts enabled.
|
|
@ -1,12 +1,11 @@
|
|||
---
|
||||
title: "Template: Social Sharing Links Disabled"
|
||||
date: 2012-01-02T10:21:15+00:00
|
||||
share: false
|
||||
categories:
|
||||
- Template
|
||||
- Uncategorized
|
||||
tags:
|
||||
- comments
|
||||
- social
|
||||
- template
|
||||
---
|
||||
This post has social sharing disabled.
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Template: Social Sharing Links Enabled"
|
||||
date: 2012-01-03T10:11:37+00:00
|
||||
share: true
|
||||
categories:
|
||||
- Template
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
title: "Template: Comments, Social Sharing Links, and Related Posts Disabled"
|
||||
comments: false
|
||||
share: false
|
||||
related: false
|
||||
categories:
|
||||
- Template
|
||||
- Uncategorized
|
||||
tags:
|
||||
- related posts
|
||||
- social
|
||||
- comments
|
||||
- template
|
||||
---
|
||||
This post has comments, social sharing links, and related posts disabled.
|
||||
|
||||
Comments, social sharing and related post links should not appear.
|
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
title: "Template: Post With Table Of Contents"
|
||||
title: "Template: Post with Table Of Contents"
|
||||
tags:
|
||||
- table of contents
|
||||
---
|
||||
|
||||
<section id="table-of-contents" class="toc">
|
||||
<header>
|
||||
<h3>Overview</h3>
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Template: Sticky"
|
||||
date: 2012-01-07T07:07:21+00:00
|
||||
categories:
|
||||
- Uncategorized
|
||||
tags:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Template: Code Excerpt (Generated)"
|
||||
date: 2012-03-14
|
||||
categories:
|
||||
- Template
|
||||
- Uncategorized
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Template: Excerpt (Defined)"
|
||||
date: 2012-03-15T14:38:08+00:00
|
||||
excerpt: "This is a user-defined post excerpt. It should be displayed in place of the post content in archive-index pages."
|
||||
categories:
|
||||
- Template
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Template: Excerpt (Generated)"
|
||||
date: 2012-03-14T09:49:22+00:00
|
||||
excerpt_separator: "<!--more-->"
|
||||
categories:
|
||||
- Template
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Template: Featured Image (External URL)"
|
||||
date: 2012-03-15T15:15:12+00:00
|
||||
header:
|
||||
image: https://farm5.staticflickr.com/4140/4939863887_84705982fd_b.jpg
|
||||
categories:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Template: Featured Image (Horizontal)"
|
||||
date: 2012-03-15T15:15:12+00:00
|
||||
header:
|
||||
image: unsplash-image-1.jpg
|
||||
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: "Template: Featured Image And Text Readability"
|
||||
title: "Template: Featured Image and Text Readability"
|
||||
header:
|
||||
image: unsplash-image-4.jpg
|
||||
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Template: Featured Image (Vertical)"
|
||||
date: 2012-03-15T15:36:32+00:00
|
||||
header:
|
||||
image: unsplash-image-6.jpg
|
||||
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Template: More Tag"
|
||||
date: 2012-03-15T14:41:11+00:00
|
||||
categories:
|
||||
- Template
|
||||
- Uncategorized
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Markup: Title *With* **Markup**"
|
||||
date: 2013-01-05T10:00:49+00:00
|
||||
categories:
|
||||
- Markup
|
||||
tags:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: 'Markup: "Title" With Special --- Characters'
|
||||
date: 2013-01-05T11:00:20+00:00
|
||||
categories:
|
||||
- Markup
|
||||
tags:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Markup: Image Alignment"
|
||||
date: 2013-01-10T20:15:40+00:00
|
||||
categories:
|
||||
- Markup
|
||||
tags:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: "Markup: HTML Tags and Formatting"
|
||||
date: 2013-01-11T20:22:19+00:00
|
||||
categories:
|
||||
- Markup
|
||||
tags:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: "Markup: Another Post With Images"
|
||||
title: "Markup: Another Post with Images"
|
||||
excerpt: "Examples and code for displaying images in posts."
|
||||
tags:
|
||||
- sample post
|
||||
|
|
|
@ -4,7 +4,6 @@ excerpt: "Post displaying the various ways of highlighting code in Markdown."
|
|||
tags:
|
||||
- code
|
||||
- syntax highlighting
|
||||
modified: 2016-02-23T12:08:33-05:00
|
||||
---
|
||||
|
||||
Syntax highlighting is a feature that displays source code, in different colors and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers.[^1]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
layout: post
|
||||
title: "Welcome to Jekyll!"
|
||||
categories:
|
||||
- Jekyll
|
||||
|
|
Loading…
Reference in a new issue