site/docs/templates/index.html in jekyll-docs-3.2.1 vs site/docs/templates/index.html in jekyll-docs-3.3.0

- old
+ new

@@ -2,11 +2,11 @@ <html lang="en-US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> - <meta name="generator" content="Jekyll v3.2.1"> + <meta name="generator" content="Jekyll v3.3.0"> <link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites"> <link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900"> <link rel="stylesheet" href="/css/screen.css"> <link rel="icon" type="image/x-icon" href="/favicon.ico"> @@ -17,22 +17,22 @@ <meta property="og:description" content="Jekyll uses the Liquid templating language toprocess templates. All of the standard Liquid tags andfilters aresupported. Jekyll even adds a few handy filters and tags of its own to makecommon tasks easier."> <link rel="canonical" href="https://jekyllrb.com/docs/templates/"> <meta property="og:url" content="https://jekyllrb.com/docs/templates/"> <meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites"> <meta property="og:type" content="article"> -<meta property="article:published_time" content="2016-08-02T18:14:35-07:00"> +<meta property="article:published_time" content="2016-10-06T11:16:34-07:00"> <meta name="twitter:card" content="summary"> <meta name="twitter:site" content="@jekyllrb"> <meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY"> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BlogPosting", "headline": "Templates", - "datePublished": "2016-08-02T18:14:35-07:00", + "datePublished": "2016-10-06T11:16:34-07:00", "description": "Jekyll uses the Liquid templating language toprocess templates. All of the standard Liquid tags andfilters aresupported. Jekyll even adds a few handy filters and tags of its own to makecommon tasks easier.", - "logo": "https://jekyllrb.comimg/logo-2x.png", + "logo": "https://jekyllrb.com/img/logo-2x.png", "url": "https://jekyllrb.com/docs/templates/" } </script> <!-- End Jekyll SEO tag --> <!--[if lt IE 9]> @@ -112,164 +112,164 @@ <optgroup label="Getting Started"> - <option value="https://jekyllrb.com/docs/home/">Welcome</option> + <option value="/docs/home/">Welcome</option> - <option value="https://jekyllrb.com/docs/quickstart/">Quick-start guide</option> + <option value="/docs/quickstart/">Quick-start guide</option> - <option value="https://jekyllrb.com/docs/installation/">Installation</option> + <option value="/docs/installation/">Installation</option> - <option value="https://jekyllrb.com/docs/usage/">Basic Usage</option> + <option value="/docs/usage/">Basic Usage</option> - <option value="https://jekyllrb.com/docs/structure/">Directory structure</option> + <option value="/docs/structure/">Directory structure</option> - <option value="https://jekyllrb.com/docs/configuration/">Configuration</option> + <option value="/docs/configuration/">Configuration</option> </optgroup> <optgroup label="Your Content"> - <option value="https://jekyllrb.com/docs/frontmatter/">Front Matter</option> + <option value="/docs/frontmatter/">Front Matter</option> - <option value="https://jekyllrb.com/docs/posts/">Writing posts</option> + <option value="/docs/posts/">Writing posts</option> - <option value="https://jekyllrb.com/docs/drafts/">Working with drafts</option> + <option value="/docs/drafts/">Working with drafts</option> - <option value="https://jekyllrb.com/docs/pages/">Creating pages</option> + <option value="/docs/pages/">Creating pages</option> - <option value="https://jekyllrb.com/docs/static-files/">Static Files</option> + <option value="/docs/static-files/">Static Files</option> - <option value="https://jekyllrb.com/docs/variables/">Variables</option> + <option value="/docs/variables/">Variables</option> - <option value="https://jekyllrb.com/docs/collections/">Collections</option> + <option value="/docs/collections/">Collections</option> - <option value="https://jekyllrb.com/docs/datafiles/">Data Files</option> + <option value="/docs/datafiles/">Data Files</option> - <option value="https://jekyllrb.com/docs/assets/">Assets</option> + <option value="/docs/assets/">Assets</option> - <option value="https://jekyllrb.com/docs/migrations/">Blog migrations</option> + <option value="/docs/migrations/">Blog migrations</option> </optgroup> <optgroup label="Customization"> - <option value="https://jekyllrb.com/docs/templates/">Templates</option> + <option value="/docs/templates/">Templates</option> - <option value="https://jekyllrb.com/docs/permalinks/">Permalinks</option> + <option value="/docs/permalinks/">Permalinks</option> - <option value="https://jekyllrb.com/docs/pagination/">Pagination</option> + <option value="/docs/pagination/">Pagination</option> - <option value="https://jekyllrb.com/docs/plugins/">Plugins</option> + <option value="/docs/plugins/">Plugins</option> - <option value="https://jekyllrb.com/docs/themes/">Themes</option> + <option value="/docs/themes/">Themes</option> - <option value="https://jekyllrb.com/docs/extras/">Extras</option> + <option value="/docs/extras/">Extras</option> </optgroup> <optgroup label="Deployment"> - <option value="https://jekyllrb.com/docs/github-pages/">GitHub Pages</option> + <option value="/docs/github-pages/">GitHub Pages</option> - <option value="https://jekyllrb.com/docs/deployment-methods/">Deployment methods</option> + <option value="/docs/deployment-methods/">Deployment methods</option> - <option value="https://jekyllrb.com/docs/continuous-integration/">Continuous Integration</option> + <option value="/docs/continuous-integration/">Continuous Integration</option> </optgroup> <optgroup label="Miscellaneous"> - <option value="https://jekyllrb.com/docs/troubleshooting/">Troubleshooting</option> + <option value="/docs/troubleshooting/">Troubleshooting</option> - <option value="https://jekyllrb.com/docs/sites/">Sites using Jekyll</option> + <option value="/docs/sites/">Sites using Jekyll</option> - <option value="https://jekyllrb.com/docs/resources/">Resources</option> + <option value="/docs/resources/">Resources</option> - <option value="https://jekyllrb.com/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</option> + <option value="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</option> - <option value="https://jekyllrb.com/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</option> + <option value="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</option> </optgroup> <optgroup label="Meta"> - <option value="https://jekyllrb.com/docs/contributing/">Contributing</option> + <option value="/docs/contributing/">Contributing</option> - <option value="https://jekyllrb.com/docs/conduct/">Code of Conduct</option> + <option value="/docs/conduct/">Code of Conduct</option> - <option value="https://jekyllrb.com/docs/history/">History</option> + <option value="/docs/history/">History</option> </optgroup> </select> @@ -301,10 +301,38 @@ </tr> </thead> <tbody> <tr> <td> + <p class="name"><strong>Relative URL</strong></p> + <p>Prepend the <code>baseurl</code> value to the input. Useful if your site is hosted at a subpath rather than the root of the domain.</p> + </td> + <td class="align-center"> + <p> + <code class="filter">{{ "/assets/style.css" | relative_url }}</code> + </p> + <p> + <code class="output">/my-baseurl/assets/style.css</code> + </p> + </td> + </tr> + <tr> + <td> + <p class="name"><strong>Absolute URL</strong></p> + <p>Prepend the <code>url</code> and <code>baseurl</code> value to the input.</p> + </td> + <td class="align-center"> + <p> + <code class="filter">{{ "/assets/style.css" | absolute_url }}</code> + </p> + <p> + <code class="output">http://example.com/my-baseurl/assets/style.css</code> + </p> + </td> + </tr> + <tr> + <td> <p class="name"><strong>Date to XML Schema</strong></p> <p>Convert a Date into XML Schema (ISO 8601) format.</p> </td> <td class="align-center"> <p> @@ -541,11 +569,11 @@ <p class="name"><strong>Normalize Whitespace</strong></p> <p>Replace any occurrence of whitespace with a single space.</p> </td> <td class="align-center"> <p> - <code class="filter">{{ "a \n b" | normalize_whitepace }}</code> + <code class="filter">{{ "a \n b" | normalize_whitespace }}</code> </p> </td> </tr> <tr> <td> @@ -578,10 +606,21 @@ </p> </td> </tr> <tr> <td> + <p class="name"><strong>To Integer</strong></p> + <p>Convert a string or boolean to integer.</p> + </td> + <td class="align-center"> + <p> + <code class="filter">{{ some_var | to_integer }}</code> + </p> + </td> + </tr> + <tr> + <td> <p class="name"><strong>Array Filters</strong></p> <p>Push, pop, shift, and unshift elements from an Array.</p> <p>These are <strong>NON-DESTRUCTIVE</strong>, i.e. they do not mutate the array, but rather make a copy and mutate that.</p> </td> <td class="align-center"> @@ -609,10 +648,21 @@ <p> <code class="output">['Olympia', 'Seattle', 'Tacoma']</code> </p> </td> </tr> + <tr> + <td> + <p class="name"><strong>Inspect</strong></p> + <p>Convert an object into its String representation for debugging.</p> + </td> + <td class="align-center"> + <p> + <code class="filter">{{ some_var | inspect }}</code> + </p> + </td> + </tr> </tbody> </table> </div> <h3 id="options-for-the-slugify-filter">Options for the <code class="highlighter-rouge">slugify</code> filter</h3> @@ -637,11 +687,14 @@ <h3 id="includes">Includes</h3> <p>If you have small page fragments that you wish to include in multiple places on your site, you can use the <code class="highlighter-rouge">include</code> tag.</p> -<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid"><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span><span class="na">footer</span><span class="p">.</span><span class="na">html</span><span class="w"> </span><span class="p">%}</span></code></pre></figure> +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span><span class="na">footer</span><span class="p">.</span><span class="na">html</span><span class="w"> </span><span class="p">%}</span> +</code></pre> +</div> <p>Jekyll expects all include files to be placed in an <code class="highlighter-rouge">_includes</code> directory at the root of your source directory. This will embed the contents of <code class="highlighter-rouge">&lt;source&gt;/_includes/footer.html</code> into the calling file.</p> @@ -656,21 +709,30 @@ </p> </div> <p>You can also pass parameters to an include. Omit the quotation marks to send a variable’s value. Liquid curly brackets should not be used here:</p> -<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid"><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span><span class="na">footer</span><span class="p">.</span><span class="na">html</span><span class="w"> </span><span class="na">param</span><span class="o">=</span><span class="s2">"value"</span><span class="w"> </span><span class="na">variable-param</span><span class="o">=</span><span class="nv">page</span><span class="p">.</span><span class="nv">variable</span><span class="w"> </span><span class="p">%}</span></code></pre></figure> +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span><span class="na">footer</span><span class="p">.</span><span class="na">html</span><span class="w"> </span><span class="na">param</span><span class="o">=</span><span class="s2">"value"</span><span class="w"> </span><span class="na">variable-param</span><span class="o">=</span><span class="nv">page</span><span class="p">.</span><span class="nv">variable</span><span class="w"> </span><span class="p">%}</span> +</code></pre> +</div> <p>These parameters are available via Liquid in the include:</p> -<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid"><span class="p">{{</span><span class="w"> </span><span class="nv">include</span><span class="p">.</span><span class="nv">param</span><span class="w"> </span><span class="p">}}</span></code></pre></figure> +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code><span class="p">{{</span><span class="w"> </span><span class="nv">include</span><span class="p">.</span><span class="nv">param</span><span class="w"> </span><span class="p">}}</span> +</code></pre> +</div> <h4 id="including-files-relative-to-another-file">Including files relative to another file</h4> <p>You can also choose to include file fragments relative to the current file:</p> -<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid"><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="na">_relative somedir/footer</span><span class="p">.</span><span class="na">html</span><span class="w"> </span><span class="p">%}</span></code></pre></figure> +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="na">_relative somedir/footer</span><span class="p">.</span><span class="na">html</span><span class="w"> </span><span class="p">%}</span> +</code></pre> +</div> <p>You won’t need to place your included content within the <code class="highlighter-rouge">_includes</code> directory. Instead, the inclusion is specifically relative to the file where the tag is being used. For example, if <code class="highlighter-rouge">_posts/2014-09-03-my-file.markdown</code> uses the <code class="highlighter-rouge">include_relative</code> tag, the included file must be within the <code class="highlighter-rouge">_posts</code> directory, or one of its subdirectories. You cannot include @@ -692,16 +754,21 @@ <code class="highlighter-rouge">pygments</code> in your site’s configuration file. Pygments supports <a href="http://pygments.org/languages/">over 100 languages</a></p> <p>To render a code block with syntax highlighting, surround your code as follows:</p> -<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid"><span class="p">{%</span><span class="w"> </span><span class="nt">highlight</span><span class="w"> </span>ruby<span class="w"> </span><span class="p">%}</span> +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code> +<span class="p">{%</span><span class="w"> </span><span class="nt">highlight</span><span class="w"> </span>ruby<span class="w"> </span><span class="p">%}</span> def foo puts 'foo' end -<span class="p">{%</span><span class="w"> </span><span class="nt">endhighlight</span><span class="w"> </span><span class="p">%}</span></code></pre></figure> +<span class="p">{%</span><span class="w"> </span><span class="nt">endhighlight</span><span class="w"> </span><span class="p">%}</span> +</code></pre> +</div> + <p>The argument to the <code class="highlighter-rouge">highlight</code> tag (<code class="highlighter-rouge">ruby</code> in the example above) is the language identifier. To find the appropriate identifier to use for the language you want to highlight, look for the “short name” on the <a href="https://github.com/jayferd/rouge/wiki/List-of-supported-languages-and-lexers">Rouge wiki</a> or the <a href="http://pygments.org/docs/lexers/">Pygments’ Lexers page</a>.</p> @@ -711,55 +778,114 @@ <p>There is a second argument to <code class="highlighter-rouge">highlight</code> called <code class="highlighter-rouge">linenos</code> that is optional. Including the <code class="highlighter-rouge">linenos</code> argument will force the highlighted code to include line numbers. For instance, the following code block would include line numbers next to each line:</p> -<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid"><span class="p">{%</span><span class="w"> </span><span class="nt">highlight</span><span class="w"> </span>ruby<span class="w"> </span>linenos<span class="w"> </span><span class="p">%}</span> +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code> +<span class="p">{%</span><span class="w"> </span><span class="nt">highlight</span><span class="w"> </span>ruby<span class="w"> </span>linenos<span class="w"> </span><span class="p">%}</span> def foo puts 'foo' end -<span class="p">{%</span><span class="w"> </span><span class="nt">endhighlight</span><span class="w"> </span><span class="p">%}</span></code></pre></figure> +<span class="p">{%</span><span class="w"> </span><span class="nt">endhighlight</span><span class="w"> </span><span class="p">%}</span> +</code></pre> +</div> + <h4 id="stylesheets-for-syntax-highlighting">Stylesheets for syntax highlighting</h4> <p>In order for the highlighting to show up, you’ll need to include a highlighting stylesheet. For an example stylesheet you can look at <a href="https://github.com/mojombo/tpw/tree/master/css/syntax.css">syntax.css</a>. These are the same styles as used by GitHub and you are free to use them for your own site. If you use <code class="highlighter-rouge">linenos</code>, you might want to include an additional CSS class definition for the <code class="highlighter-rouge">.lineno</code> class in <code class="highlighter-rouge">syntax.css</code> to distinguish the line numbers from the highlighted code.</p> +<h3 id="link">Link</h3> + +<p>If you would like to include a link to a collection’s document, or a post +the <code class="highlighter-rouge">link</code> tag will generate the correct permalink URL for the path you +specify.</p> + +<p>You must include the file extension when using the <code class="highlighter-rouge">link</code> tag.</p> + +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code> +<span class="p">{%</span><span class="w"> </span><span class="nt">link</span><span class="w"> </span>_collection/name-of-document.md<span class="w"> </span><span class="p">%}</span> +<span class="p">{%</span><span class="w"> </span><span class="nt">link</span><span class="w"> </span>_posts/<span class="mi">2016</span>-<span class="mi">07</span>-<span class="mi">26</span>-name-of-post.md<span class="w"> </span><span class="p">%}</span> + +</code></pre> +</div> + +<p>You can also use this tag to create a link in Markdown as follows:</p> + +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code> +[Link to a document](<span class="p">{%</span><span class="w"> </span><span class="nt">link</span><span class="w"> </span>_collection/name-of-document.md<span class="w"> </span><span class="p">%}</span>) +[Link to a post](<span class="p">{%</span><span class="w"> </span><span class="nt">link</span><span class="w"> </span>_posts/<span class="mi">2016</span>-<span class="mi">07</span>-<span class="mi">26</span>-name-of-post.md<span class="w"> </span><span class="p">%}</span>) + +</code></pre> +</div> + +<p>Support for static files and pages is coming in a later release but is +<strong>not</strong> released as of v3.2.1.</p> + <h3 id="post-url">Post URL</h3> <p>If you would like to include a link to a post on your site, the <code class="highlighter-rouge">post_url</code> tag will generate the correct permalink URL for the post you specify.</p> -<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid"><span class="p">{%</span><span class="w"> </span><span class="nt">post_url</span><span class="w"> </span><span class="mi">2010</span>-<span class="mi">07</span>-<span class="mi">21</span>-name-of-post<span class="w"> </span><span class="p">%}</span></code></pre></figure> +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code> +<span class="p">{%</span><span class="w"> </span><span class="nt">post_url</span><span class="w"> </span><span class="mi">2010</span>-<span class="mi">07</span>-<span class="mi">21</span>-name-of-post<span class="w"> </span><span class="p">%}</span> +</code></pre> +</div> + <p>If you organize your posts in subdirectories, you need to include subdirectory path to the post:</p> -<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid"><span class="p">{%</span><span class="w"> </span><span class="nt">post_url</span><span class="w"> </span>/subdir/<span class="mi">2010</span>-<span class="mi">07</span>-<span class="mi">21</span>-name-of-post<span class="w"> </span><span class="p">%}</span></code></pre></figure> +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code> +<span class="p">{%</span><span class="w"> </span><span class="nt">post_url</span><span class="w"> </span>/subdir/<span class="mi">2010</span>-<span class="mi">07</span>-<span class="mi">21</span>-name-of-post<span class="w"> </span><span class="p">%}</span> +</code></pre> +</div> + <p>There is no need to include the file extension when using the <code class="highlighter-rouge">post_url</code> tag.</p> <p>You can also use this tag to create a link to a post in Markdown as follows:</p> -<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid">[Name of Link](<span class="p">{%</span><span class="w"> </span><span class="nt">post_url</span><span class="w"> </span><span class="mi">2010</span>-<span class="mi">07</span>-<span class="mi">21</span>-name-of-post<span class="w"> </span><span class="p">%}</span>)</code></pre></figure> +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code> +[Name of Link](<span class="p">{%</span><span class="w"> </span><span class="nt">post_url</span><span class="w"> </span><span class="mi">2010</span>-<span class="mi">07</span>-<span class="mi">21</span>-name-of-post<span class="w"> </span><span class="p">%}</span>) +</code></pre> +</div> + <h3 id="gist">Gist</h3> <p>Use the <code class="highlighter-rouge">gist</code> tag to easily embed a GitHub Gist onto your site. This works with public or secret gists:</p> -<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid"><span class="p">{%</span><span class="w"> </span><span class="nt">gist</span><span class="w"> </span>parkr/<span class="mi">931</span>c<span class="mi">1</span>c<span class="mi">8</span>d<span class="mi">465</span>a<span class="mi">04042403</span><span class="w"> </span><span class="p">%}</span></code></pre></figure> +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code> +<span class="p">{%</span><span class="w"> </span><span class="nt">gist</span><span class="w"> </span>parkr/<span class="mi">931</span>c<span class="mi">1</span>c<span class="mi">8</span>d<span class="mi">465</span>a<span class="mi">04042403</span><span class="w"> </span><span class="p">%}</span> +</code></pre> +</div> + <p>You may also optionally specify the filename in the gist to display:</p> -<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid"><span class="p">{%</span><span class="w"> </span><span class="nt">gist</span><span class="w"> </span>parkr/<span class="mi">931</span>c<span class="mi">1</span>c<span class="mi">8</span>d<span class="mi">465</span>a<span class="mi">04042403</span><span class="w"> </span>jekyll-private-gist.markdown<span class="w"> </span><span class="p">%}</span></code></pre></figure> +<div class="language-liquid highlighter-rouge"> +<pre class="highlight"><code> +<span class="p">{%</span><span class="w"> </span><span class="nt">gist</span><span class="w"> </span>parkr/<span class="mi">931</span>c<span class="mi">1</span>c<span class="mi">8</span>d<span class="mi">465</span>a<span class="mi">04042403</span><span class="w"> </span>jekyll-private-gist.markdown<span class="w"> </span><span class="p">%}</span> +</code></pre> +</div> + <p>To use the <code class="highlighter-rouge">gist</code> tag, you’ll need to add the <a href="https://github.com/jekyll/jekyll-gist">jekyll-gist</a> gem to your project.</p> @@ -844,168 +970,168 @@ <h4>Getting Started</h4> <ul> - <li class=""><a href="https://jekyllrb.com/docs/home/">Welcome</a></li> + <li class=""><a href="/docs/home/">Welcome</a></li> - <li class=""><a href="https://jekyllrb.com/docs/quickstart/">Quick-start guide</a></li> + <li class=""><a href="/docs/quickstart/">Quick-start guide</a></li> - <li class=""><a href="https://jekyllrb.com/docs/installation/">Installation</a></li> + <li class=""><a href="/docs/installation/">Installation</a></li> - <li class=""><a href="https://jekyllrb.com/docs/usage/">Basic Usage</a></li> + <li class=""><a href="/docs/usage/">Basic Usage</a></li> - <li class=""><a href="https://jekyllrb.com/docs/structure/">Directory structure</a></li> + <li class=""><a href="/docs/structure/">Directory structure</a></li> - <li class=""><a href="https://jekyllrb.com/docs/configuration/">Configuration</a></li> + <li class=""><a href="/docs/configuration/">Configuration</a></li> </ul> <h4>Your Content</h4> <ul> - <li class=""><a href="https://jekyllrb.com/docs/frontmatter/">Front Matter</a></li> + <li class=""><a href="/docs/frontmatter/">Front Matter</a></li> - <li class=""><a href="https://jekyllrb.com/docs/posts/">Writing posts</a></li> + <li class=""><a href="/docs/posts/">Writing posts</a></li> - <li class=""><a href="https://jekyllrb.com/docs/drafts/">Working with drafts</a></li> + <li class=""><a href="/docs/drafts/">Working with drafts</a></li> - <li class=""><a href="https://jekyllrb.com/docs/pages/">Creating pages</a></li> + <li class=""><a href="/docs/pages/">Creating pages</a></li> - <li class=""><a href="https://jekyllrb.com/docs/static-files/">Static Files</a></li> + <li class=""><a href="/docs/static-files/">Static Files</a></li> - <li class=""><a href="https://jekyllrb.com/docs/variables/">Variables</a></li> + <li class=""><a href="/docs/variables/">Variables</a></li> - <li class=""><a href="https://jekyllrb.com/docs/collections/">Collections</a></li> + <li class=""><a href="/docs/collections/">Collections</a></li> - <li class=""><a href="https://jekyllrb.com/docs/datafiles/">Data Files</a></li> + <li class=""><a href="/docs/datafiles/">Data Files</a></li> - <li class=""><a href="https://jekyllrb.com/docs/assets/">Assets</a></li> + <li class=""><a href="/docs/assets/">Assets</a></li> - <li class=""><a href="https://jekyllrb.com/docs/migrations/">Blog migrations</a></li> + <li class=""><a href="/docs/migrations/">Blog migrations</a></li> </ul> <h4>Customization</h4> <ul> - <li class="current"><a href="https://jekyllrb.com/docs/templates/">Templates</a></li> + <li class="current"><a href="/docs/templates/">Templates</a></li> - <li class=""><a href="https://jekyllrb.com/docs/permalinks/">Permalinks</a></li> + <li class=""><a href="/docs/permalinks/">Permalinks</a></li> - <li class=""><a href="https://jekyllrb.com/docs/pagination/">Pagination</a></li> + <li class=""><a href="/docs/pagination/">Pagination</a></li> - <li class=""><a href="https://jekyllrb.com/docs/plugins/">Plugins</a></li> + <li class=""><a href="/docs/plugins/">Plugins</a></li> - <li class=""><a href="https://jekyllrb.com/docs/themes/">Themes</a></li> + <li class=""><a href="/docs/themes/">Themes</a></li> - <li class=""><a href="https://jekyllrb.com/docs/extras/">Extras</a></li> + <li class=""><a href="/docs/extras/">Extras</a></li> </ul> <h4>Deployment</h4> <ul> - <li class=""><a href="https://jekyllrb.com/docs/github-pages/">GitHub Pages</a></li> + <li class=""><a href="/docs/github-pages/">GitHub Pages</a></li> - <li class=""><a href="https://jekyllrb.com/docs/deployment-methods/">Deployment methods</a></li> + <li class=""><a href="/docs/deployment-methods/">Deployment methods</a></li> - <li class=""><a href="https://jekyllrb.com/docs/continuous-integration/">Continuous Integration</a></li> + <li class=""><a href="/docs/continuous-integration/">Continuous Integration</a></li> </ul> <h4>Miscellaneous</h4> <ul> - <li class=""><a href="https://jekyllrb.com/docs/troubleshooting/">Troubleshooting</a></li> + <li class=""><a href="/docs/troubleshooting/">Troubleshooting</a></li> - <li class=""><a href="https://jekyllrb.com/docs/sites/">Sites using Jekyll</a></li> + <li class=""><a href="/docs/sites/">Sites using Jekyll</a></li> - <li class=""><a href="https://jekyllrb.com/docs/resources/">Resources</a></li> + <li class=""><a href="/docs/resources/">Resources</a></li> - <li class=""><a href="https://jekyllrb.com/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</a></li> + <li class=""><a href="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</a></li> - <li class=""><a href="https://jekyllrb.com/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</a></li> + <li class=""><a href="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</a></li> </ul> <h4>Meta</h4> <ul> - <li class=""><a href="https://jekyllrb.com/docs/contributing/">Contributing</a></li> + <li class=""><a href="/docs/contributing/">Contributing</a></li> - <li class=""><a href="https://jekyllrb.com/docs/conduct/">Code of Conduct</a></li> + <li class=""><a href="/docs/conduct/">Code of Conduct</a></li> - <li class=""><a href="https://jekyllrb.com/docs/history/">History</a></li> + <li class=""><a href="/docs/history/">History</a></li> </ul> </aside>