mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-01-12 17:33:05 +08:00
Add include that will return 4 random example apps
This commit is contained in:
7
_includes/docs/examples.html
Normal file
7
_includes/docs/examples.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% assign apps = site.apps | sample:4 %}
|
||||
|
||||
<ul>
|
||||
{% for app in apps %}
|
||||
<li><a href="{{ app.url }}">{{ app.title }}</a> - {{ app.description }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user