-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
120 lines (110 loc) · 6 KB
/
index.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
---
layout: default
title: Northeast Cyberteam
subtitle: The NorthEast Cyberteam projects, people, and resources
---
<!--{% if site.projects %}{% include project-showcase.html %}{% endif %}-->
<div class="row">
<div class="col-md-6 card" style="padding:50px; border:none">
<h5 style="font-weight:800">About Us</h5>
{% capture about %}{% include text/about.html %}{% endcapture %}
{{ about | truncatewords: 78 }}<a href="{{ site.baseurl }}/about/"><button style="float:right" class="btn btn-primary btn-sm">Read More</button></a>
</div>
<div class="col-md-6 card" style="padding:50px; border:none">
<h5 style="font-weight:800">Projects</h5>
{% capture projects %}{% include text/projects.html %}{% endcapture %}
{{ projects | truncatewords: 78 }}<a href="{{ site.baseurl }}/projects/"><button style="float:right" class="btn btn-primary btn-sm">Read More</button></a>
</div>
</div>
<div class="row">
<div class="col-md-3 card" style="padding:30px; border:none">
</div>
<div class="col-md-2 card" style="padding:30px; border:none">
<a href="{{ site.baseurl }}/docs/support/"><p style="text-align:center">Get Help</p>
<img width="100%" src="{{ site.basurl }}assets/img/question-face.png"></a>
</div>
<div class="col-md-2 card" style="padding:30px; border:none">
<a href="{{ site.baseurl }}/pages/projects/submit/"><p style="text-align:center">Submit A project</p>
<img width="100%" src="{{ site.basurl }}assets/img/button-submit.png"></a>
</div>
<div class="col-md-2 card" style="padding:30px; border:none">
<a href="{{ site.baseurl }}/pages/people/join/"><p style="text-align:center">Join the Team</p>
<img width="100%" src="{{ site.basurl }}assets/img/join-the-team.png"></a>
</div>
<div class="col-md-3 card" style="padding:30px; border:none">
</div>
</div>
{% for post in paginator.posts %}<div class="row">
<div class="col-xl-12 col-lg-11">
<div class="card mb-4">
<div class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
<a href="{{ post.url | prepend: site.baseurl }}"><h6 class="m-0 font-weight-bold text-primary">{{ post.title }}</h6></a>
<div class="dropdown no-arrow">
<a class="dropdown-toggle" href="#" role="button" id="dropdownMenu{{ post.title | slugify }}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-ellipsis-v fa-sm fa-fw text-gray-400"></i>
</a>
<div class="dropdown-menu dropdown-menu-right shadow animated--fade-in" aria-labelledby="dropdownMenu{{ post.title | slugify }}">
<div class="dropdown-header">More Options:</div>
<a class="dropdown-item" href="{{ post.url | prepend: site.baseurl }}">View Post</a>
<!--<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Project Home</a>-->
</div>
</div>
</div>
<!-- Card Body -->
<div class="card-body">
<div>
{% if post.subtitle %}<h5 class="post-subtitle">{{ post.subtitle }}{% endif %}</h5>
<p class="post-meta">
<em>Posted on {{ post.date | date: "%B %-d, %Y" }}</em>
</p>
{{ post.excerpt | strip_html | xml_escape | truncatewords: site.excerpt_length }}
{% assign excerpt_word_count = post.excerpt | number_of_words %}
{% if post.content != post.excerpt or excerpt_word_count > site.excerpt_length %}
<a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Read More]</a>{% endif %}
{% if post.tags.size > 0 %}<br><div class="blog-tags" style="margin-top:10px">
{% if site.link-tags %}{% for tag in post.tags %}
<a href="{{ site.baseurl }}/tags#{{- tag -}}"><span class="badge badge-primary">{{- tag -}}</span></a>
{% endfor %}{% else %}{{ page.tags | join: ", " }}{% endif %}
</div>{% endif %}
</div>
</div>
</div>
</div>
</div>{% endfor %}
{% if paginator.total_pages > 1 %}
<ul class="pager main-pager">
{% if paginator.previous_page %}
<a style="float:left" href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="d-none d-sm-inline-block btn btn-sm btn-primary shadow-sm"><i class="fas fa-chevron-left fa-sm text-white-50"></i> Newer Posts</a>
{% endif %}
{% if paginator.next_page %}
<a style="float:right" href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="d-none d-sm-inline-block btn btn-sm btn-primary shadow-sm">Older Posts <i class="fas fa-chevron-right fa-sm text-white-50"></i></a>
{% endif %}
</ul>
{% endif %}
</div>
<!-- /.container-fluid -->
</div>
<!-- End of Main Content -->
</div>
<!-- End of Content Wrapper -->
</div>
<!-- End of Page Wrapper -->
<!-- Logout Modal-->
<div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
<button class="close" type="button" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">Select "Logout" below if you are ready to end your current session.</div>
<div class="modal-footer">
<button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
<a class="btn btn-primary" href="login.html">Logout</a>
</div>
</div>
</div>
</div>