-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html.erb
42 lines (42 loc) · 1.82 KB
/
index.html.erb
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
<!DOCTYPE html>
<html>
<head>
<title>Web Operations Conferences</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-62133123-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<!-- https://github.com/blog/273-github-ribbons -->
<a href="https://github.com/webopsconferences/webopsconferences.github.io"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<h1>Web Operations Conferences</h1>
<% conferences.each do |conference| %>
<h3>
<a href="<%= conference['url'] %>"><%= conference['name'] %></a>
</h3>
<p>
<%= conference['description'] %>
</p>
<% if conference.has_key? 'occurences' %>
<p>
Upcoming on:
<ul>
<% conference['occurences'].each do |occurence| %>
<li>
<%= occurence['start_date'] %> to <%= occurence['end_date'] %> in <%= occurence['location'] %>
</li>
<% end %>
</ul>
<% else %>
<p>Next occurence not yet announced.</p>
<% end %>
<% end %>
</body>
</html>