diff --git a/docs/_docs/assets.md b/docs/_docs/assets.md index ee4e698b..20904148 100644 --- a/docs/_docs/assets.md +++ b/docs/_docs/assets.md @@ -28,7 +28,7 @@ will process it and put it in your site's destination folder under
If you are using Mustache
or another JavaScript templating language that conflicts with
- the Liquid template syntax, you
+ the Liquid template syntax, you
will need to place {% raw %}
and
{% endraw %}
tags around your code.
--config _config.yml,_config_development.yml
. Settings
in later files override settings in earlier files.
diff --git a/docs/_docs/configuration/front-matter-defaults.md b/docs/_docs/configuration/front-matter-defaults.md
index 2f19954e..5f7355e1 100644
--- a/docs/_docs/configuration/front-matter-defaults.md
+++ b/docs/_docs/configuration/front-matter-defaults.md
@@ -30,7 +30,7 @@ defaults:
during automatic regeneration are not loaded until the next execution.
- Note Data Files are included and reloaded during automatic regeneration. + Note Data Files are included and reloaded during automatic regeneration.
@@ -68,7 +68,9 @@ defaults: author: "Mr. Hyde" ``` -With these defaults, all pages would use the `my-site` layout. Any html files that exist in the `projects/` folder will use the `project` layout, if it exists. Those files will also have the `page.author` [liquid variable](/docs/variables/) set to `Mr. Hyde`. +With these defaults, all pages would use the `my-site` layout. Any html files that exist in the `projects/` +folder will use the `project` layout, if it exists. Those files will also have the `page.author` +[liquid variable]({{ '/docs/variables/' | relative_url }}) set to `Mr. Hyde`. ```yaml collections: @@ -85,7 +87,7 @@ defaults: ``` In this example, the `layout` is set to `default` inside the -[collection](/docs/collections/) with the name `my_collection`. +[collection]({{ '/docs/collections/' | relative_url }}) with the name `my_collection`. ### Glob patterns in Front Matter defaults diff --git a/docs/_docs/configuration/options.md b/docs/_docs/configuration/options.md index 1a5e96f0..90bfaff1 100644 --- a/docs/_docs/configuration/options.md +++ b/docs/_docs/configuration/options.md @@ -150,12 +150,12 @@ class="flag">flags (specified on the command-line) that control them.Defaults
- Set defaults for front matter + Set defaults for front matter variables.
see below
+see below
LSI
-Produce an index for related posts. Requires the classifier-reborn plugin.
+Produce an index for related posts. Requires the + classifier-reborn plugin.
lsi: BOOL
BOM
header
characters exist in your files or very, very bad things will happen to
Jekyll. This is especially relevant if you’re running
- Jekyll on Windows.
+ Jekyll on Windows.
- If you want to use Liquid tags and variables + If you want to use Liquid tags and variables but don’t need anything in your front matter, just leave it empty! The set of triple-dashed lines with nothing in between will still get Jekyll to process your file. (This is useful for things like CSS and RSS feeds!) @@ -72,7 +72,7 @@ front matter of a page or post.
null
will produce a file without using a layout
file. This is overridden if the file is a post/document and has a
- layout defined in the
+ layout defined in the
front matter defaults.
To preview unpublished pages, run `jekyll serve` or `jekyll build` - with the `--unpublished` switch. Jekyll also has a handy drafts + with the `--unpublished` switch. Jekyll also has a handy drafts feature tailored specifically for blog posts.
If you don't want to repeat your frequently used front matter variables - over and over, define defaults + over and over, define + defaults for them and only override them where necessary (or not at all). This works both for predefined and custom variables.
diff --git a/docs/_docs/github-pages.md b/docs/_docs/github-pages.md index 3aed957d..5f51e9da 100644 --- a/docs/_docs/github-pages.md +++ b/docs/_docs/github-pages.md @@ -58,12 +58,12 @@ Be sure to run `bundle update` often. Sometimes it's nice to preview your Jekyll site before you push your `gh-pages` branch to GitHub. The subdirectory-like URL structure GitHub uses for Project Pages complicates the proper resolution of URLs. In order to assure your -site builds properly, use the handy [URL filters](/docs/liquid/filters/): +site builds properly, use the handy [URL filters]({{ '/docs/liquid/filters/' | relative_url }}): {% raw %} ```liquid - + [{{ page.title }}]("{{ page.url | relative_url }}") ``` @@ -122,7 +122,7 @@ to see more detailed examples.GitHub Pages overrides - the “Site Source” + the “Site Source” configuration value, so if you locate your files anywhere other than the root directory, your site may not build correctly.
@@ -135,6 +135,6 @@ to see more detailed examples. While Windows is not officially supported, it is possible to install thegithub-pages
gem on Windows.
Special instructions can be found on our
- Windows-specific docs page.
+ Windows-specific docs page.
diff --git a/docs/_docs/index.md b/docs/_docs/index.md
index e46da606..ab373c91 100644
--- a/docs/_docs/index.md
+++ b/docs/_docs/index.md
@@ -13,12 +13,12 @@ site, and more.
## Prerequisites
-See [requirements](/docs/installation/#requirements).
+See [requirements]({{ '/docs/installation/#requirements' | relative_url }}).
## Instructions
-1. Install a full [Ruby development environment](/docs/installation/).
-2. Install Jekyll and [bundler](/docs/ruby-101/#bundler) [gems](/docs/ruby-101/#gems).
+1. Install a full [Ruby development environment]({{ '/docs/installation/' | relative_url }}).
+2. Install Jekyll and [bundler]({{ '/docs/ruby-101/#bundler' | relative_url }}) [gems]({{ '/docs/ruby-101/#gems' | relative_url }}).
```
gem install jekyll bundler
```
@@ -37,6 +37,6 @@ bundle exec jekyll serve
6. Browse to [http://localhost:4000](http://localhost:4000){:target="_blank"}
If you encounter any errors during this process, see the
-[troubleshooting](/docs/troubleshooting/#configuration-problems) page. Also,
+[troubleshooting]({{ '/docs/troubleshooting/#configuration-problems' | relative_url }}) page. Also,
make sure you've installed the development headers and other prerequisites as
-mentioned on the [requirements](/docs/installation/#requirements) page.
+mentioned on the [requirements]({{ '/docs/installation/#requirements' | relative_url }}) page.
diff --git a/docs/_docs/installation.md b/docs/_docs/installation.md
index 70c25174..76cf4288 100644
--- a/docs/_docs/installation.md
+++ b/docs/_docs/installation.md
@@ -16,7 +16,7 @@ Jekyll is a [Ruby Gem](/docs/ruby-101/#gems) that can be installed on most syste
For detailed install instructions have a look at the guide for your operating system.
-* [macOS](/docs/installation/macos/)
-* [Ubuntu Linux](/docs/installation/ubuntu/)
-* [Other Linux distros](/docs/installation/other-linux)
-* [Windows](/docs/installation/windows/)
\ No newline at end of file
+* [macOS]({{ '/docs/installation/macos/' | relative_url }})
+* [Ubuntu Linux]({{ '/docs/installation/ubuntu/' | relative_url }})
+* [Other Linux distros]({{ '/docs/installation/other-linux/' | relative_url }})
+* [Windows]({{ '/docs/installation/windows/' | relative_url }})
\ No newline at end of file
diff --git a/docs/_docs/installation/macos.md b/docs/_docs/installation/macos.md
index 836c8e77..162c6f09 100644
--- a/docs/_docs/installation/macos.md
+++ b/docs/_docs/installation/macos.md
@@ -77,7 +77,7 @@ That's it! Head over [rbenv command references](https://github.com/rbenv/rbenv#c
## Install Jekyll
-Now all that is left is installing [Bundler](/docs/ruby-101/#bundler) and Jekyll.
+Now all that is left is installing [Bundler]({{ '/docs/ruby-101/#bundler' | relative_url }}) and Jekyll.
### Local Install
@@ -133,4 +133,4 @@ sudo gem install bundler jekyll
## Problems?
-Check out the [troubleshooting](/docs/troubleshooting/) page or [ask for help on our forum](https://talk.jekyllrb.com).
+Check out the [troubleshooting]({{ '/docs/troubleshooting/' | relative_url }}) page or [ask for help on our forum](https://talk.jekyllrb.com).
diff --git a/docs/_docs/installation/windows.md b/docs/_docs/installation/windows.md
index e564edde..f3a5160b 100644
--- a/docs/_docs/installation/windows.md
+++ b/docs/_docs/installation/windows.md
@@ -87,7 +87,8 @@ with the current date in the filename.
If the `jekyll new` command prints the error "Your user account isn't allowed to install to the system RubyGems", see - the "Running Jekyll as Non-Superuser" instructions in Troubleshooting.
+ the "Running Jekyll as Non-Superuser" instructions in + Troubleshooting.