mirror of
https://github.com/danog/gojekyll.git
synced 2024-12-11 17:39:38 +01:00
49 lines
2.3 KiB
Markdown
49 lines
2.3 KiB
Markdown
---
|
|
---
|
|
|
|
## 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 }} |
|
|
|
|
## 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`) |
|
|
| pages.size | {{ site.pages.size }} | |
|
|
| posts.size | {{ site.posts.size }} | |
|
|
| static_files.size | {{ site.static_files.size }} | |
|
|
| html_pages.size | {{ site.html_pages.size }} | |
|
|
| html_files.size | {{ site.html_files.size }} | |
|
|
| collections.size | {{ site.collections.size }} | |
|
|
| documents.size | {{ site.documents.size }} | |
|
|
| categories | {{ site.categories }} {% for k in categories %}{{k}}{% endfor %} | |
|
|
| tags | {{ site.tags }} | |
|
|
|
|
{% comment %}
|
|
TODO:
|
|
related_posts
|
|
collections
|
|
data
|
|
documents
|
|
categories
|
|
tags
|
|
{% endcomment %}
|
|
|
|
## Jekyll Variables
|
|
|
|
| Name | Value |
|
|
|-------------|--------------------------|
|
|
| environment | {{ jekyll.environment }} |
|
|
| version | {{ jekyll.version }} |
|