1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-12-02 15:37:52 +01:00
gojekyll/example/index.md

53 lines
934 B
Markdown
Raw Normal View History

---
permalink: /
2017-06-13 14:52:35 +02:00
variable: page variable
---
# Site Title
2017-06-13 17:00:35 +02:00
Here is a test with a {{ site.variable}}, a {{ page.variable }} and [a link]({% link archive.md %}).
2017-06-23 15:31:04 +02:00
## Site Variables [reference](https://jekyllrb.com/docs/variables/#site-variables)
2017-06-23 15:31:04 +02:00
| 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 %}