Skip to content

Commit

Permalink
Basic tutors list
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhamiltonstubber committed Oct 10, 2018
1 parent 59eb01d commit e4dae6e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions _examples/basic_tutors_list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
layout: socket_example
title: Basic tutors list example
permalink: /examples/basic-tutors-list/
description: The simplest implementation of Socket on a site.
---
{% highlight html %}
<div id="socket"></div>

<!-- If you haven't called it before -->
<script src="{{ site.socket_url }}"></script>

<!-- Then -->
<script>
socket('{{ site.socket_key }}');
</script>
{% endhighlight %}

<div id="grid-view"></div>

<script>
socket('{{ site.socket_key }}');
</script>

0 comments on commit e4dae6e

Please sign in to comment.