site/docs/templates/index.html in jekyll-docs-3.7.2 vs site/docs/templates/index.html in jekyll-docs-3.7.3

- old
+ new

@@ -1,35 +1,34 @@ <!DOCTYPE HTML> <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.7.2"> - <link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites"> + <meta name="generator" content="Jekyll v3.7.3"> + <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="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" /> <link rel="stylesheet" href="/css/screen.css"> <link rel="icon" type="image/x-icon" href="/favicon.ico"> <!-- Begin Jekyll SEO tag v2.4.0 --> <title>Templates | Jekyll • Simple, blog-aware, static sites</title> -<meta name="generator" content="Jekyll v3.7.2"> -<meta property="og:title" content="Templates"> -<meta property="og:locale" content="en_US"> -<meta name="description" content="Jekyll uses the Liquid templating language to process templates. All of the standard Liquid tags and filters are supported. To make common tasks easier, Jekyll even adds a few handy filters and tags of its own, all of which you can find on this page. Jekyll even lets you come up with your own tags via plugins."> -<meta property="og:description" content="Jekyll uses the Liquid templating language to process templates. All of the standard Liquid tags and filters are supported. To make common tasks easier, Jekyll even adds a few handy filters and tags of its own, all of which you can find on this page. Jekyll even lets you come up with your own tags via plugins."> -<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="2018-01-25T12:06:43-08:00"> -<meta name="twitter:card" content="summary"> -<meta name="twitter:site" content="@jekyllrb"> -<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY"> +<meta name="generator" content="Jekyll v3.7.3" /> +<meta property="og:title" content="Templates" /> +<meta property="og:locale" content="en_US" /> +<meta name="description" content="Jekyll uses the Liquid templating language to process templates. All of the standard Liquid tags and filters are supported. To make common tasks easier, Jekyll even adds a few handy filters and tags of its own, all of which you can find on this page. Jekyll even lets you come up with your own tags via plugins." /> +<meta property="og:description" content="Jekyll uses the Liquid templating language to process templates. All of the standard Liquid tags and filters are supported. To make common tasks easier, Jekyll even adds a few handy filters and tags of its own, all of which you can find on this page. Jekyll even lets you come up with your own tags via plugins." /> +<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="2018-03-27T03:44:17-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"> -{"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"description":"Jekyll uses the Liquid templating language to process templates. All of the standard Liquid tags and filters are supported. To make common tasks easier, Jekyll even adds a few handy filters and tags of its own, all of which you can find on this page. Jekyll even lets you come up with your own tags via plugins.","headline":"Templates","dateModified":"2018-01-25T12:06:43-08:00","url":"https://jekyllrb.com/docs/templates/","datePublished":"2018-01-25T12:06:43-08:00","@type":"BlogPosting","mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/templates/"},"@context":"http://schema.org"}</script> +{"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"headline":"Templates","dateModified":"2018-03-27T03:44:17-07:00","datePublished":"2018-03-27T03:44:17-07:00","description":"Jekyll uses the Liquid templating language to process templates. All of the standard Liquid tags and filters are supported. To make common tasks easier, Jekyll even adds a few handy filters and tags of its own, all of which you can find on this page. Jekyll even lets you come up with your own tags via plugins.","mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/templates/"},"@type":"BlogPosting","url":"https://jekyllrb.com/docs/templates/","@context":"http://schema.org"}</script> <!-- End Jekyll SEO tag --> <!--[if lt IE 9]> <script src="/js/html5shiv.min.js"></script> <script src="/js/respond.min.js"></script> @@ -289,11 +288,11 @@ <div class="unit four-fifths"> <article> <div class="improve right hide-on-mobiles"> - <a href="https://github.com/jekyll/jekyll/edit/master/docs/_docs/templates.md"><i class="fa fa-pencil"></i>  Improve this page</a> + <a href="https://github.com/jekyll/jekyll/edit/master/docs/_docs/templates.md"><i class="fa fa-pencil"></i> &nbsp;Improve this page</a> </div> <h1>Templates</h1> <p>Jekyll uses the <a href="https://shopify.github.io/liquid/">Liquid</a> templating language to process templates. All of the standard Liquid <a href="https://shopify.github.io/liquid/tags/control-flow/">tags</a> and <a href="https://shopify.github.io/liquid/filters/abs/">filters</a> are @@ -306,13 +305,11 @@ <div class="mobile-side-scroller"> <table> <thead> <tr> <th>Description</th> - <th> -<span class="filter">Filter</span> and <span class="output">Output</span> -</th> + <th><span class="filter">Filter</span> and <span class="output">Output</span></th> </tr> </thead> <tbody> <tr> <td> @@ -546,11 +543,11 @@ </td> </tr> <tr> <td> <p class="name"><strong>Smartify</strong></p> - <p>Convert "quotes" into “smart quotes.”</p> + <p>Convert "quotes" into &ldquo;smart quotes.&rdquo;</p> </td> <td class="align-center"> <p> <code class="filter">{{ page.title | smartify }}</code> </p> @@ -623,11 +620,11 @@ </td> </tr> <tr> <td> <p class="name"><strong>Sort</strong></p> - <p>Sort an array. Optional arguments for hashes: 1. property name 2. nils order (<em>first</em> or <em>last</em>).</p> + <p>Sort an array. Optional arguments for hashes: 1.&nbsp;property name 2.&nbsp;nils order (<em>first</em> or <em>last</em>).</p> </td> <td class="align-center"> <p> <code class="filter">{{ page.tags | sort }}</code> </p> @@ -716,23 +713,16 @@ <p>The <code class="highlighter-rouge">slugify</code> filter accepts an option, each specifying what to filter. The default is <code class="highlighter-rouge">default</code>. They are as follows (with what they filter):</p> <ul> - <li> -<code class="highlighter-rouge">none</code>: no characters</li> - <li> -<code class="highlighter-rouge">raw</code>: spaces</li> - <li> -<code class="highlighter-rouge">default</code>: spaces and non-alphanumeric characters</li> - <li> -<code class="highlighter-rouge">pretty</code>: spaces and non-alphanumeric characters except for <code class="highlighter-rouge">._~!$&amp;'()+,;=@</code> -</li> - <li> -<code class="highlighter-rouge">ascii</code>: spaces, non-alphanumeric, and non-ASCII characters</li> - <li> -<code class="highlighter-rouge">latin</code>: like <code class="highlighter-rouge">default</code>, except Latin characters are first transliterated (e.g. <code class="highlighter-rouge">àèïòü</code> to <code class="highlighter-rouge">aeiou</code>)<span class="version-badge" title="This feature is available starting version 3.7.0">3.7.0</span> + <li><code class="highlighter-rouge">none</code>: no characters</li> + <li><code class="highlighter-rouge">raw</code>: spaces</li> + <li><code class="highlighter-rouge">default</code>: spaces and non-alphanumeric characters</li> + <li><code class="highlighter-rouge">pretty</code>: spaces and non-alphanumeric characters except for <code class="highlighter-rouge">._~!$&amp;'()+,;=@</code></li> + <li><code class="highlighter-rouge">ascii</code>: spaces, non-alphanumeric, and non-ASCII characters</li> + <li><code class="highlighter-rouge">latin</code>: like <code class="highlighter-rouge">default</code>, except Latin characters are first transliterated (e.g. <code class="highlighter-rouge">àèïòü</code> to <code class="highlighter-rouge">aeiou</code>)<span class="version-badge" title="This feature is available starting version 3.7.0">3.7.0</span> <h2 id="tags">Tags</h2> </li> <li><a href="#includes">Includes</a></li> <li><a href="#code-snippet-highlighting">Code snippet highlighting</a></li> <li><a href="#links">Linking to pages, collections and posts (the new and improved way)</a></li> @@ -779,12 +769,12 @@ or the <a href="http://pygments.org/docs/lexers/">Pygments’ Lexers page</a>.</p> <div class="note info"> <h5>Jekyll processes all Liquid filters in code blocks</h5> <p>If you are using a language that contains curly braces, you - will likely need to place <code>{% raw %}</code> and - <code>{% endraw %}</code> tags around your code.</p> + will likely need to place <code>{&#37; raw &#37;}</code> and + <code>{&#37; endraw &#37;}</code> tags around your code.</p> </div> <h4 id="line-numbers">Line numbers</h4> <p>There is a second argument to <code class="highlighter-rouge">highlight</code> called <code class="highlighter-rouge">linenos</code> that is optional. @@ -1137,10 +1127,10 @@ <footer> <div class="grid"> <div class="unit one-third center-on-mobiles"> - <p>The contents of this website are <br>© 2018 under the terms of the <a href="https://github.com/jekyll/jekyll/blob/master/LICENSE">MIT License</a>.</p> + <p>The contents of this website are <br />&copy;&nbsp;2018 under the terms of the <a href="https://github.com/jekyll/jekyll/blob/master/LICENSE">MIT&nbsp;License</a>.</p> </div> <div class="unit two-thirds align-right center-on-mobiles"> <p> Proudly hosted by <a href="https://github.com">