1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-30 10:49:00 +01:00
gojekyll/testdata/example/variables.md

47 lines
1.0 KiB
Markdown
Raw Normal View History

2017-07-02 05:06:47 +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 %}