forked from hackatron/hackatron.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (48 loc) · 1.34 KB
/
index.html
File metadata and controls
54 lines (48 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
layout: default
title: Hackatron
description: We're a group of developers, designers, tinkers. We want to have fun building things and learning something new.
---
<div id="next_meeting"></div>
<div id="search">
<form>
<input id="q" name="q" placeholder="Search">
</form>
<div id="results_container">
<h2>Search results:</h2>
<div id="search_results"></div>
</div>
</div>
<div id="home">
<h2>Posts</h2>
<ul class="posts unstyled">
{% for post in site.posts %}
<li>
<div class="date">{{ post.date | date_to_string }}</div>
<a href="{{ post.url }}">{{ post.title }}</a>
<q>{{ post.description }}</q>
</li>
{% endfor %}
</ul>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="/javascripts/jquery-tapir.js"></script>
<script>
$(document).ready(function() {
$('#q').tapir('paramValue', 'q');
$('#search_results').tapir({token: '50fe98523f61b041100003f0', complete: function(query, data) {
if (query) {
$('#results_container').show();
}
}});
$.ajax({
type: 'GET',
dataType: 'jsonp',
cache: false,
url: 'http://hackatron-hubot.herokuapp.com/hubot/topic/hackatron',
success: function(topic) {
$('#next_meeting').html('<h2>' + topic + '</h2>');
}
});
});
</script>