-
Notifications
You must be signed in to change notification settings - Fork 10
/
news.html
74 lines (66 loc) · 2.16 KB
/
news.html
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
layout: default
title: MAYDAY.US - News
permalink: /news/
---
{% capture content %}
{% include jumbotrons/general-dark.html title="News" %}
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-4">
<div class="panel panel-news">
<div class="panel-heading">
<h2 class="as-if-h4"><a href="{{site.blog_root_url}}" target="_blank">Mayday Blog <small>More</small></a></h2>
</div>
<div class="panel-body">
<ul id="tumblr-posts" class="list-unstyled">
</ul>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="panel panel-news">
<div class="panel-heading">
<h2 class="as-if-h4"><a href="{{site.blog_root_url}}/tagged/press-release">Press Releases <small>More</small></a></h2>
</div>
<div class="panel-body">
<ul id="tumblr-press-releases" class="list-unstyled">
</ul>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="panel panel-news">
<div class="panel-heading">
<h2 class="as-if-h4"><a href="/in-the-news/">Mayday in the News</a> <small>More</small></h2>
</div>
<div class="panel-body">
<ul class="list-unstyled">
{% for article in site.data.press_articles limit:5 %}
<li>
<!-- <time datetime="{{date}}" class="as-if-h6 text-blue-highlight">{{date}}</time> -->
<p><a href="/in-the-news/#{{article.link | slugify}}">{{ article.title | truncatewords: 20}}</a></p>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="container margin-bottom-xl">
<div class="col-md-8 center-block panel-wrapper">
{% include panels/panel_action_w_signup.html hide_next=true %}
</div>
</div>
{% endcapture %}
{% capture page_specific_javascript %}
<script>
$(document).ready(function(){
md.newsFeeds.renderBlogFeed();
md.newsFeeds.renderPressReleasesFeed();
});
</script>
{% endcapture %}
{% capture footer_scripts %}{{footer_scripts}}{{page_specific_javascript}}{% endcapture %}
{% include sub_layouts/default_layout.html %}