Skip to content

Commit 18ba0e5

Browse files
committed
Fix banner, update images
1 parent 511c9a3 commit 18ba0e5

File tree

17 files changed

+131
-132
lines changed

17 files changed

+131
-132
lines changed

_config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ footer:
9191
- label: "Twitter"
9292
icon: "fab fa-fw fa-twitter-square"
9393
url: "https://x.com/complexDataLab"
94-
- label: "Updating the website"
95-
icon: "fas fa-fw fa-code"
96-
url: "https://github.com/ComplexData-MILA/ComplexDataLab-Mila-McGill"
9794

9895
defaults:
9996
# _pages

_data/navigation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ main:
1313
url: /tools-and-resources/
1414
- page: "Publications"
1515
url: /publications/
16+
url: /
1617
- tab: "About"
1718
subpages:
1819
- page: "About the Lab"
@@ -23,5 +24,6 @@ main:
2324
url: /people/
2425
- page: "Teaching"
2526
url: /teaching/
27+
url: /about/
2628
- title: "Join Us"
2729
url: /about/#join-us

_includes/footer.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<div class="page__footer-follow">
2+
<ul class="social-icons">
3+
{% if site.data.ui-text[site.locale].follow_label %}
4+
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
5+
{% endif %}
6+
7+
{% if site.footer.links %}
8+
{% for link in site.footer.links %}
9+
{% if link.label and link.url %}
10+
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i
11+
class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
12+
{% endif %}
13+
{% endfor %}
14+
{% endif %}
15+
16+
{% unless site.atom_feed.hide %}
17+
<li><a
18+
href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i
19+
class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label
20+
| default: "Feed" }}</a></li>
21+
{% endunless %}
22+
</ul>
23+
</div>
24+
25+
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} <a
26+
href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title }}</a>.</div>
Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
1-
{% if page.header.overlay_color or page.header.overlay_image %}
2-
{% capture overlay_style %}
3-
{% if page.header.overlay_image %}
4-
background-image: {% if page.header.overlay_filter %}{{ page.header.overlay_filter }},{% endif %}url('{{
5-
page.header.overlay_image | relative_url }}');
6-
background-position: center;
7-
background-size: cover;
8-
{% if page.header.overlay_css %}{{ page.header.overlay_css }}{% endif %}
9-
{% endif %}
10-
{% endcapture %}
111
<div class="page__hero--overlay">
12-
132
<div id="particles-js"></div>
143

15-
164
<div class="wrapper">
175
<div class="page__title-container">
186
{% if page.title %}
@@ -22,12 +10,11 @@ <h1 class="page__title" itemprop="headline">
2210
<div class="title-line"></div>
2311
{% endif %}
2412
{% if page.excerpt %}
25-
<p class="page__lead">{{ page.excerpt | markdownify | remove: "
26-
<p>" | remove: "</p>" }}</p>
13+
<p class="page__lead">
14+
{{ page.excerpt | markdownify | remove: "
15+
<p>" | remove: "</p>" }}
16+
</p>
2717
{% endif %}
2818
</div>
29-
<div class="page_overlay_image" style="{{ overlay_style | strip }}">
30-
</div>
3119
</div>
32-
</div>
33-
{% endif %}
20+
</div>

_includes/research-directions.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
{% assign sorted-research-directions = research-directions | sort: "order" %} <!-- or sort: "date" -->
88

99
<div class="research-directions__wrapper">
10-
1110
{% for r in sorted-research-directions %}
1211
<div class="research-directions-item">
1312
<a href="{{ r.url | relative_url }}" title="{{r.title}}">

_layouts/splash.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
layout: default
33
---
44

5-
{% if page.header.overlay_image %}
65
{% include page__hero_particles.html %}
7-
{% endif %}
86

97
<div id="main" role="main">
108
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork">

_layouts/splash_v2.html

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
layout: default
3+
---
4+
5+
{% include page__hero_particles.html %}
6+
7+
<script type="application/ld+json">
8+
{
9+
"@context": "https://schema.org",
10+
"@type": "ScholarlyArticle",
11+
"headline": "{{ page.title }}",
12+
"author": [
13+
{% assign authors = page.names | split: ", " %}
14+
{% for author in authors %}
15+
{
16+
"@type": "Person",
17+
"name": "{{ author }}"
18+
}{% unless forloop.last %},{% endunless %}
19+
{% endfor %}
20+
],
21+
"datePublished": "{{ page.name | slice: 0,10 }}",
22+
"publisher": "{{ page.venue }}",
23+
{% if page.openAccessPdf.url %}
24+
"url": "{{ page.openAccessPdf.url }}",
25+
{% endif %}
26+
{% if page.abstract %}
27+
"abstract": {{ page.abstract | jsonify }},
28+
{% endif %}
29+
{% if page.tags %}
30+
"keywords": {{ page.tags | jsonify }},
31+
{% endif %}
32+
"isAccessibleForFree": {% if page.openAccessPdf.status == "OPEN" %}true{% else %}false{% endif %}
33+
}
34+
</script>
35+
36+
<div id="main" role="main">
37+
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork">
38+
{% if page.title %}
39+
<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">
40+
{% endif %}
41+
{% if page.excerpt %}
42+
<meta itemprop="description"
43+
content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
44+
{% if page.date %}
45+
<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
46+
{% if page.last_modified_at %}
47+
<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}
48+
49+
50+
{{ content }}
51+
52+
<div>
53+
{% include posts-publication.html taxonomy=page.taxonomy %}
54+
</div>
55+
56+
</article>
57+
</div>

_pages/about.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
---
2-
title: ""
2+
title: About Us
3+
layout: splash_v2
4+
header:
5+
overlay_image: /assets/images/trottier.webp
6+
excerpt: "Showcasing our tools and resources that bridge research innovations with real-world applications"
7+
38
taxonomy: About the Lab
49
permalink: /about/
510

@@ -14,31 +19,18 @@ row_code:
1419

1520
row_about_us:
1621
- image_path: /assets/images/home/misinfo_gov_outreach.webp
17-
- image_path: /assets/images/home/web_retrieval_mila_outreach.webp
22+
- image_path: /assets/images/home/group-photo-1.webp
1823
- image_path: /assets/images/home/web_retrieval_colm_outreach.webp
1924

2025

2126
---
22-
# About Us
23-
{: .text-center}
24-
25-
We are a group of faculty members, researchers and students affiliated with McGill University and Mila Quebec AI Institute, both located in Montreal, Canada. We often collaborate with researchers around the world.
26-
{: .text-center}
2727

2828
{% include feature_row id="row_about_us" %}
2929

3030

3131
<!-- # Open Source Code -->
3232
{% include feature_row id="row_code" type="right" %}
3333

34-
35-
<!-- # Support Complex Data Lab
36-
{: .text-center}
37-
38-
Financial support for the Complex Data Lab's research has come from CIFAR, Mila, and XXX.
39-
40-
Please make a [donation](xxx) to the Complex Data Lab. Your support plays an essential role in sustaining the quality, independence, and impact of our work. -->
41-
4234
<br>
4335

4436
# Join Us

_pages/home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ header:
1515
excerpt: "A research group focusing on developing techniques for analyzing complex data from online societies, with applications to enhance the health and safety of online spaces."
1616

1717
row_research:
18-
- image_path: /assets/images/home/group-photo-1.webp
18+
- image_path: /assets/images/home/group-photo-2.webp
1919
url: /publications
2020
alt: "Poster Presentation"
2121
title: "Research"

_pages/publications.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Publications
3-
layout: publication
3+
layout: splash_v2
4+
header:
5+
overlay_image: /assets/images/trottier.webp
6+
excerpt: ""
47
classes:
58
- no-sidebar
69
- wide

0 commit comments

Comments
 (0)