Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (34 sloc) 963 Bytes
<title>Online visitors example</title>
body {
margin: 0;
font-family: -apple-system, "San Francisco", "Helvetica Neue", "Noto", "Roboto", "Calibri Light", sans-serif;
color: #212121;
font-size: 1.0em;
line-height: 1.6;
.container {
max-width: 750px;
margin: auto;
padding: 15px;
#online_views {
font-weight: bold;
font-size: 18px;
<div class="container">
<span id="online_views">1 online view</span>
<script type="text/javascript">
/* take the page source from our passed struct on .Render */
var PAGE_SOURCE = {{ .PageID }}
<script src="/iris-ws.js"></script>
<script src="/js/visitors.js"></script>
You can’t perform that action at this time.