8000 Add {% raw %} block inside HTML comments to prevent example from bein… · jekyll/github-metadata@017b483 · GitHub
[go: up one dir, main page]

Skip to content

Commit 017b483

Browse files
parkrDirtyF
andcommitted
Add {% raw %} block inside HTML comments to prevent example from being processed
Co-authored-by: Frank Taillandier <frank@taillandier.me>
1 parent 48b972b commit 017b483

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