Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
header:
- title: "Home"
url: "/"
- title: "Research"
url: "/research/"
- title: "News"
url: "/news/"
- title: "Team"
Expand Down
54 changes: 10 additions & 44 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,48 +1,14 @@

<footer class="footer py-4 js-page-footer">
<div class="main">

{%- assign _site_author = site.author -%}
{%- if _site_author.type == 'organization' -%}
{%- assign _site_author_itemtype = 'http://schema.org/Organization' -%}
{%- else -%}
{%- assign _site_author_itemtype = 'http://schema.org/Person' -%}
{%- endif -%}

<div itemscope itemtype="{{ _site_author_itemtype }}">
<meta itemprop="name" content="{{ _site_author.name }}">
{%- assign _site_author_url = _site_author.url | default: '/'-%}
{%- include snippets/get-nav-url.html path=_site_author_url -%}
{%- assign _site_author_url = __return -%}
<meta itemprop="url" content="{{ _site_author_url }}">
{%- if _site_author.bio -%}
<meta itemprop="description" content="{{ _site_author.bio }}">
{%- endif -%}
<div class="footer__author-links">
{%- include author-links.html author=_site_author -%}
</div>
<footer class="footer site-footer js-page-footer">
<div class="site-footer__inner">
<div>
<p class="site-footer__name">Chong Lab</p>
<p>Department of Genome Sciences<br>University of Virginia School of Medicine</p>
</div>
{%- include snippets/get-locale-string.html key='COPYRIGHT_DATES' -%}
{%- assign _locale_copyright_dates = __return -%}

<div class="site-info mt-2">
<div>
© Chong Lab 2026
</div>
<div class="site-footer__links">
<a href="{{ '/contact/' | relative_url }}">Contact</a>
<a href="{{ '/positions/' | relative_url }}">Join Us</a>
<a href="https://github.com/ChongLab" target="_blank" rel="noopener noreferrer">GitHub</a>
</div>

<!--
<div class="site-info mt-2">
<div>
{%- include snippets/get-locale-string.html key='COPYRIGHT_DATES' -%}
{%- assign _locale_copyright_dates = __return -%}
© {{ site.title }} 2025,
Powered by <a title="Jekyll is a simple, blog-aware, static site generator." href="http://jekyllrb.com/">Jekyll</a> & <a
title="TeXt is a super customizable Jekyll theme." href="https://github.com/kitian616/jekyll-TeXt-theme">TeXt Theme</a>.
</div>
</div>
-->


<p class="site-footer__copyright">© {{ 'now' | date: '%Y' }} Chong Lab</p>
</div>
</footer>
12 changes: 12 additions & 0 deletions _includes/head/custom.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
<!-- start custom head snippets -->

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:wght@400;700&family=Libre+Franklin:wght@400;500;600;700&display=swap" rel="stylesheet">

<meta property="og:type" content="website">
<meta property="og:site_name" content="{{ site.title }}">
<meta property="og:title" content="{% if page.title %}{{ page.title }} · {% endif %}{{ site.title }}">
<meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description | strip }}{% endif %}">
<meta property="og:url" content="{{ page.url | absolute_url }}">
<meta property="og:image" content="{{ '/assets/images/lab_logo.png' | absolute_url }}">
<meta name="twitter:card" content="summary_large_image">

<!-- end custom head snippets -->
53 changes: 26 additions & 27 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
<header class="header">
<!-- Titre du site -->
<div class="header_title">
<h1>{{ site.title }}</h1>
<h4>{{ site.description }}</h4>
</div>
<header class="header site-header">
<div class="site-header__inner">
<a class="site-header__brand" href="{{ '/' | relative_url }}" aria-label="Chong Lab home">
<span class="site-header__name">Chong Lab</span>
<span class="site-header__affiliation">University of Virginia</span>
</a>

<!-- Menu de navigation -->
<nav class="navigation">
<ul>
{%- for _item in site.data.navigation.header -%}
{%- include snippets/get-nav-url.html path=_item.url -%}
{%- assign _nav_url = __return -%}
{%- include snippets/get-nav-url.html path=page.url -%}
{%- assign _page_url = __return -%}
{%- include snippets/get-string-from-locale-config.html locale=_item.titles -%}
{%- if _nav_url == _page_url or page.nav_key and _item.key and page.nav_key == _item.key -%}
<li class="navigation__item navigation__item--active">
<a href="{{ _nav_url }}">{{ _item.title }}</a>
</li>
{%- else -%}
<li class="navigation__item">
<a href="{{ _nav_url }}">{{ _item.title }}</a>
</li>
{%- endif -%}
{%- endfor -%}
</ul>
</nav>
<nav class="navigation site-navigation" aria-label="Primary navigation">
<ul>
{%- for _item in site.data.navigation.header -%}
{%- include snippets/get-nav-url.html path=_item.url -%}
{%- assign _nav_url = __return -%}
{%- include snippets/get-nav-url.html path=page.url -%}
{%- assign _page_url = __return -%}
{%- if _nav_url == _page_url or page.nav_key and _item.key and page.nav_key == _item.key -%}
<li class="navigation__item navigation__item--active">
<a href="{{ _nav_url }}" aria-current="page">{{ _item.title }}</a>
</li>
{%- else -%}
<li class="navigation__item">
<a href="{{ _nav_url }}">{{ _item.title }}</a>
</li>
{%- endif -%}
{%- endfor -%}
</ul>
</nav>
</div>
</header>
Loading
Loading