1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-12-02 17:17:49 +01:00
gojekyll/commands/testdata/site/variables.md

47 lines
1.0 KiB
Markdown
Raw Normal View History

2017-07-26 16:01:26 +02:00
---
---
## Page Variables ([reference](https://jekyllrb.com/docs/variables/#page-variables))
| Name | Value |
|------------|---------------------|
| categories | {{ page.categories }} |
| date | {{ page.date }} |
| id | {{ page.id }} |
| path | {{ page.path }} |
| tags | {{ page.tags }} |
| title | {{ page.title }} |
| url | {{ page.url }} |
{% comment %}
TODO:
excerpt
content
next
previous
{% endcomment %}
## Site Variables ([reference](https://jekyllrb.com/docs/variables/#site-variables))
| Name | Value | Notes |
|-------------|----------------------|----------------------|
| description | {{ site.description }} | (from `_config.yml`) |
| time | {{ site.time }} | |
| title | {{ site.title }} | (from `_config.yml`) |
{% comment %}
TODO:
pages
posts
related_posts
static_files
html_pages
html_files
collections
data
documents
categories
tags
{% endcomment %}