Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you aren't producing blog pages, you can create files in the directory structure mapping to certain URLs. Running on localhost, if your directory has the structure</p> <pre><code>- _layouts/ - config.yml - index.html - some_other_page.html - some_directory/ - index.html - some_sub_page.html </code></pre> <p>You'll have content at the following locations after jekyll has processed the files:</p> <ul> <li><code>0.0.0.0:4000</code> (index.html)</li> <li><code>0.0.0.0:4000/some_other_page.html</code> (some_other_page.html)</li> <li><code>0.0.0.0:4000/some_directory</code> (some_directory/index.html)</li> <li><code>0.0.0.0:4000/some_directory/some_sub_page.html</code> (some_directory/some_sub_page.html)</li> </ul> <p><a href="http://jekyllrb.com/docs/permalinks/">You can also use the permalink attribute on each post to set one manually, or set a different default in config.yml</a> Permalinks only have a small subset of variables available to use and need to be defined in every single file you want to put in a non-standard location.</p> <p>This directory structure will automatically categorize your posts too. So you can have:</p> <pre><code>- some_category (defined in the yaml front matter or the _config.yml - index.html - _posts/ - some_post.md - some_other_post.md </code></pre> <p>And posts will automatically have the category 'some category', and index.html will appear at <code>0.0.0.0:4000/some-category</code>, with the default permalink format. The category variable is available as <code>:category</code> in the permalink format string.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload