1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-12-02 21:57:47 +01:00
gojekyll/testdata/example/index.md
2017-06-29 06:42:45 -04:00

53 lines
934 B
Markdown

---
permalink: /
variable: page variable
---
# Site Title
Here is a test with a {{ site.variable}}, a {{ page.variable }} and [a link]({% link archive.md %}).
## Site Variables [reference](https://jekyllrb.com/docs/variables/#site-variables)
| Name | Value | Notes |
| --- | --- | --- |
| title | {{site.title}} | (from `_config.yml`)
| description | {{site.description}} | (from `_config.yml`)
| time | {{site.time}} |
{% comment %}
TODO:
pages
posts
related_posts
static_files
html_pages
html_files
collections
data
documents
categories
tags
{% endcomment %}
## Page Variables [reference](https://jekyllrb.com/docs/variables/#page-variables)
| Name | Value |
| --- | --- |
| title | {{page.title}} |
| url | {{page.url}} |
| date | {{page.date}} |
| id | {{page.id}} |
| categories | {{page.categories}} |
| tags | {{page.tags}} |
| path | {{page.path}} |
{% comment %}
TODO:
excerpt
content
next
previous
{% endcomment %}