added cross-reference to the data files topic within the navigation topic
This commit is contained in:
parent
c7db12bad8
commit
a6adfa8358
|
@ -6,6 +6,8 @@ title: Navigation
|
|||
|
||||
If your Jekyll site has a lot of pages, you might want to create navigation for the pages. Instead of hard-coding navigation links, you can programmatically retrieve a list of pages to build the navigation for your site.
|
||||
|
||||
Although there's already information about [interacting with data files]({% link _docs/datafiles.md %}) in other Jekyll docs, this tutorial dives into building more robust navigation for your site.
|
||||
|
||||
There are two primary ways of retrieving pages on a Jekyll site:
|
||||
|
||||
* **Retrieve pages listed in a YAML data source**. Store the page data in a YAML (or JSON or CSV) file in the `_data` folder, loop through the YAML properties, and insert the values into your theme.
|
||||
|
|
Loading…
Reference in New Issue