8000 Merge pull request #172 from jekyll/html-entities-for-raw · lardieri/github-metadata@46db5d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 46db5d7

Browse files
authored
Merge pull request jekyll#172 from jekyll/html-entities-for-raw
Use HTML entities to prevent Liquid from processing this info
2 parents 48b972b + 017b483 commit 46db5d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/site.github.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ Simply, reference any of the below keys as you would any other site configuratio
1010

1111
For example, to list a project's name, you might write something like `The project is called {{ site.github.project_title }}` or to list an organization's open source repositories, you might use the following:
1212

13+
<!-- {% raw %} -->
1314
```liquid
1415
{% for repository in site.github.public_repositories %}
1516
* [{{ repository.name }}]({{ repository.html_url }})
1617
{% endfor %}
1718
```
19+
<!-- {% endraw %} -->
1820

1921
#### Available repository metadata
2022

0 commit comments

Comments
 (0)
0