Skip to content

Commit 04e7980

Browse files
committed
Replaced News with Lab Life
1 parent e7ec44f commit 04e7980

12 files changed

Lines changed: 42 additions & 42 deletions

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ The deploy job runs only outside pull requests and publishes the artifact to the
112112

113113
In repository **Settings → Pages**, set the publishing source to **GitHub Actions**. The workflow supports either `main` or `master` as the default branch.
114114

115-
Because the workflow is path-limited, changes that do not modify `bibliography/publications.bib` do not start an automatic Pages deployment. After a news, people, CSS, layout, or other site-only update, start this workflow manually unless a separate general site-deployment workflow is configured.
115+
Because the workflow is path-limited, changes that do not modify `bibliography/publications.bib` do not start an automatic Pages deployment. After a Lab Life post, people, CSS, layout, or other site-only update, start this workflow manually unless a separate general site-deployment workflow is configured.
116116

117117
A commit created by `GITHUB_TOKEN` does not need a second workflow run: the active run builds and deploys from the regenerated working tree after committing it.
118118

NEWS_POSTS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# News posts
1+
# Lab Life posts
22

3-
The News index is generated from Markdown files in `_posts/`, and each story uses `_layouts/post.html`. The current repository contains year subdirectories only for organization; Jekyll still derives the public URL from the filename and front-matter date.
3+
The Lab Life index is generated from Markdown files in `_posts/`, and each story uses `_layouts/post.html`. The current repository contains year subdirectories only for organization; Jekyll still derives the public URL from the filename and front-matter date.
44

55
## Standard front matter
66

@@ -93,16 +93,16 @@ Relative gallery paths resolve under `/assets/news_graphics/`. Existing posts th
9393

9494
Every story receives:
9595

96-
- A News/category breadcrumb.
96+
- A Lab Life breadcrumb followed by the primary category.
9797
- Category and publication date.
9898
- Left-aligned title and maize divider.
9999
- Optional hero image and caption.
100100
- Structured award, publication, people, and gallery sections when supplied.
101-
- Previous story, All News, and next story navigation.
101+
- Previous story, Back to Lab Life, and next story navigation.
102102
- Up to three recent posts from the same primary category.
103103

104104
The first value in `categories` is the primary category used in the breadcrumb, hero default, and related-story selection.
105105

106-
## News index and homepage
106+
## Lab Life index and homepage
107107

108108
`news/index.html` uses `jekyll-paginate` with eight posts per page. The homepage lists the five newest posts and samples one image-bearing Events or Conferences post from the prior year at build time.

PAGES.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ layout: default
1818
3. Page content inside `#main-wrap .container`
1919
4. `_includes/footer.html`
2020

21-
Individual people records use `_layouts/member.html`. News posts use `_layouts/post.html`. Both layouts include the same header, navigation, and footer directly.
21+
Individual people records use `_layouts/member.html`. Lab Life posts use `_layouts/post.html`. Both layouts include the same header, navigation, and footer directly.
2222

2323
## Primary pages
2424

@@ -28,7 +28,7 @@ The homepage contains three sections:
2828

2929
- A concise “Exploring the Genome” introduction.
3030
- “Our Work,” generated from the three newest records in `site.papers`.
31-
-News,” containing the five newest posts and one randomly sampled event or conference teaser from the preceding year.
31+
-Lab Life,” containing the five newest posts and one randomly sampled event or conference teaser from the preceding year.
3232

3333
The event image is selected at Jekyll build time. No browser JavaScript is used.
3434

@@ -48,9 +48,9 @@ Software is maintained directly as card markup. Each card may contain a purpose
4848

4949
This file intentionally remains a small wrapper around `_includes/publications_page.html`. The page uses generated `_papers` records, shows four curated featured papers, groups the full list by year, displays complete author lists, and loads live citation counts. See [PUBLICATIONS.md](PUBLICATIONS.md).
5050

51-
### News: `news/index.html`
51+
### Lab Life: `news/index.html`
5252

53-
The News index uses `jekyll-paginate` and displays eight posts per page. Individual stories use `_layouts/post.html`. See [NEWS_POSTS.md](NEWS_POSTS.md).
53+
The Lab Life index uses `jekyll-paginate` and displays eight posts per page. Individual stories use `_layouts/post.html`. See [NEWS_POSTS.md](NEWS_POSTS.md).
5454

5555
### Jobs: `jobs.html`
5656

@@ -66,7 +66,7 @@ This page lists the embedded `bibtex` field from every generated paper and links
6666

6767
## Header and navigation
6868

69-
`_includes/header.html` owns document metadata and dependencies. `nav.html` owns the visible site header. The current navigation links are Home, Research, People, Software, Publications, Jobs, News, and Contact.
69+
`_includes/header.html` owns document metadata and dependencies. `nav.html` owns the visible site header. The current navigation links are Home, Research, People, Software, Publications, Jobs, Lab Life, and Contact.
7070

7171
At widths of 720 px or less, `mobile_navigation.css` and `assets/js/site-navigation.js` replace the horizontal menu with an accessible Menu button and two-column link panel. Keep the `aria-controls`, `aria-expanded`, and `hidden` attributes when changing the button.
7272

@@ -87,7 +87,7 @@ Use the existing includes rather than copying their markup:
8787
The publication citation accepts these principal parameters:
8888

8989
- `paper`: required generated publication record.
90-
- `compact=true`: tighter member/news presentation.
90+
- `compact=true`: tighter member/post presentation.
9191
- `member_id`: shows that member’s non-byline role, when present.
9292
- `show_abstract=true`: allows an expandable abstract.
9393
- `show_metrics=true`: renders a live citation badge when DOI or PMID exists.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This repository contains the source for [boylelab.org](https://boylelab.org), a
99
| Publications | `bibliography/publications.bib` and `publication_metadata/*.yml` | `_papers/*.yml` and `pub.bib` |
1010
| Curriculum vitae | `cv/cv.tex`, website publication sources, and `cv/patents.bib` | `cv/generated/*.tex` and `assets/ABoyle_CV.pdf` |
1111
| People | `_people/*.md` | `/people/` and individual profiles |
12-
| News | `_posts/<year>/*.md` | `/news/` and individual stories |
12+
| Lab Life | `_posts/<year>/*.md` | `/news/` and individual stories |
1313
| Jobs | `_jobs/*.md` | `/jobs/` |
1414
| Primary pages | Root HTML files and `news/index.html` | Public site pages |
1515
| Shared presentation | `_layouts/`, `_includes/`, and `css/` | All rendered pages |
@@ -40,7 +40,7 @@ scripts/build_site.sh
4040
- [PAGES.md](PAGES.md): primary pages, layouts, includes, navigation, and footer.
4141
- [PEOPLE.md](PEOPLE.md): member-profile schema and role history.
4242
- [PUBLICATIONS.md](PUBLICATIONS.md): BibTeX pipeline and publication sidecars.
43-
- [NEWS_POSTS.md](NEWS_POSTS.md): news-post front matter and editorial components.
43+
- [NEWS_POSTS.md](NEWS_POSTS.md): Lab Life post front matter and editorial components.
4444
- [JOBS.md](JOBS.md): job-posting collection.
4545
- [CV.md](CV.md): shared publication data, author highlighting, and CV deployment.
4646
- [DEVELOPMENT.md](DEVELOPMENT.md): local development, testing, and deployment.

SITE_STRUCTURE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This document identifies the role and ownership of each major file group. “Aut
66

77
| Path | Type | Purpose |
88
|---|---|---|
9-
| `index.html` | Authored | Homepage with lab introduction, recent publications, and recent news. |
9+
| `index.html` | Authored | Homepage with lab introduction, recent publications, and recent Lab Life posts. |
1010
| `research.html` | Authored | Research overview and program areas. |
1111
| `people.html` | Authored template | People index. Reads the `_people` collection. |
1212
| `software.html` | Authored | Software and resource cards. |
@@ -30,7 +30,7 @@ One Markdown file per current or former lab member. The front matter is the sour
3030

3131
### `_posts/`
3232

33-
News posts, grouped in year directories for maintainability. Jekyll uses the filename and front-matter date to create the public URL. See [NEWS_POSTS.md](NEWS_POSTS.md).
33+
Lab Life posts, grouped in year directories for maintainability. Jekyll uses the filename and front-matter date to create the public URL. See [NEWS_POSTS.md](NEWS_POSTS.md).
3434

3535
### `_jobs/`
3636

@@ -70,7 +70,7 @@ See [CV.md](CV.md).
7070

7171
- `default.html`: shared shell for normal pages.
7272
- `member.html`: individual people profile.
73-
- `post.html`: individual news story.
73+
- `post.html`: individual Lab Life story.
7474

7575
### `_includes/`
7676

@@ -100,19 +100,19 @@ See [CV.md](CV.md).
100100
|---|---|
101101
| `assets/images/` | Primary-page graphics, logos, and featured paper screenshots. |
102102
| `assets/people/` | Profile photographs and placeholder image. |
103-
| `assets/news_graphics/` | News teasers, event photographs, and legacy post galleries. |
103+
| `assets/news_graphics/` | Lab Life teasers, event photographs, and legacy post galleries. |
104104
| `assets/job_PDFs/` | PDFs linked by active job records. |
105105
| `pubs/` | Local publication PDFs linked from BibTeX or metadata. |
106106
| `fonts/` | Local Academic Icons WOFF font. |
107107

108-
Large news and publication archives are retained when a post, public URL, or download may still refer to them. Do not remove media solely because a literal path is not present in a template; some older news galleries discover files dynamically.
108+
Large Lab Life and publication archives are retained when a post, public URL, or download may still refer to them. Do not remove media solely because a literal path is not present in a template; some older Lab Life galleries discover files dynamically.
109109

110110
## Tests and automation
111111

112112
- `tests/test_publication_tools.py`: parser, metadata, generated schema, and reproducibility.
113113
- `tests/test_cv_tools.py`: CV generation, author highlighting, TeX source, PDF output, and legacy-build removal.
114114
- `tests/test_people_data.py`: profile identities, dates, roles, and assets.
115-
- `tests/test_news_data.py`: news metadata and linked records.
115+
- `tests/test_news_data.py`: Lab Life metadata and linked records.
116116
- `tests/test_site_structure.py`: layouts, includes, CSS, dependencies, and repository shape.
117117
- `tests/test_workflow.py`: GitHub Actions generation and deployment contract.
118118
- `.github/workflows/site.yml`: publication and CV regeneration, validation, Jekyll build, and Pages deployment.

STYLES_AND_ASSETS.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This is the primary stylesheet. It contains:
99
- Base type, links, containers, and shared page headers.
1010
- Desktop navigation and footer appearance.
1111
- Homepage sections.
12-
- Research, People, member-profile, Software, Publications, Jobs, News, and Contact components.
12+
- Research, People, member-profile, Software, Publications, Jobs, Lab Life, and Contact components.
1313
- Pagination and responsive component rules.
1414

1515
Add new component styles here using a page or component prefix such as `.research-`, `.member-`, `.publication-`, or `.news-`. Avoid generic selectors that could change unrelated pages.
@@ -52,7 +52,7 @@ Use semantic HTML and existing classes before adding a new pattern. Do not add i
5252
- The main container is fluid with a maximum width.
5353
- Card grids collapse from three or four columns to two and then one.
5454
- Images use `max-width: 100%` and preserve their aspect ratio.
55-
- News-body and gallery images are centered and constrained by maximum height.
55+
- Images in Lab Life story bodies and galleries are centered and constrained by maximum height.
5656
- Featured-paper screenshots use `object-fit: contain`, no interior padding, and a tight crop around the original page.
5757
- Touch targets in mobile navigation have a minimum practical height.
5858

@@ -70,14 +70,14 @@ Use for member photographs. The filename is stored in the person front matter. K
7070

7171
### `assets/news_graphics/`
7272

73-
Use year subdirectories for news teasers and galleries:
73+
Use year subdirectories for Lab Life teasers and galleries:
7474

7575
```text
7676
assets/news_graphics/2026/example.png
7777
assets/news_graphics/2026/2026-08-10-event/photo-01.jpg
7878
```
7979

80-
News `teaser`, `hero-image`, and `gallery` relative paths resolve beneath this directory.
80+
Lab Life `teaser`, `hero-image`, and `gallery` relative paths resolve beneath this directory.
8181

8282
### `assets/job_PDFs/`
8383

@@ -93,15 +93,15 @@ Use for local publication PDFs. Keep filename URLs stable because external pages
9393
- Provide useful `alt` text when an image conveys content; use empty `alt` text for purely decorative or duplicated linked thumbnails.
9494
- Prefer PNG for diagrams or screenshots with text and JPEG/WebP for photographs.
9595
- Do not create large square canvases around portrait paper pages. Crop to the page boundary and let CSS scale the full page.
96-
- Keep news teaser dimensions consistent where practical, but the layout supports mixed source sizes.
96+
- Keep Lab Life teaser dimensions consistent where practical, but the layout supports mixed source sizes.
9797

9898
## Removing styles or assets
9999

100100
Before deleting a selector or file:
101101

102102
1. Search root pages, `_layouts`, `_includes`, `_people`, `_posts`, `_jobs`, CSS, and JavaScript.
103103
2. Check for Liquid-generated class names and dynamic gallery paths.
104-
3. Check public download URLs and old news posts.
104+
3. Check public download URLs and old Lab Life posts.
105105
4. Run `make check`.
106106
5. Build and review representative desktop and mobile pages.
107107

_includes/nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<li{% if current_path contains '/software/' %} id="active"{% endif %}><a href="/software/"{% if current_path contains '/software/' %} aria-current="page"{% endif %}>Software</a></li>
3737
<li{% if current_path contains '/publications/' or current_path contains '/pub_bib/' %} id="active"{% endif %}><a href="/publications/"{% if current_path contains '/publications/' or current_path contains '/pub_bib/' %} aria-current="page"{% endif %}>Publications</a></li>
3838
<li{% if current_path contains '/jobs/' %} id="active"{% endif %}><a href="/jobs/"{% if current_path contains '/jobs/' %} aria-current="page"{% endif %}>Jobs</a></li>
39-
<li{% if current_path contains '/news/' %} id="active"{% endif %}><a href="/news/"{% if current_path contains '/news/' %} aria-current="page"{% endif %}>News</a></li>
39+
<li{% if current_path contains '/news/' %} id="active"{% endif %}><a href="/news/"{% if current_path contains '/news/' %} aria-current="page"{% endif %}>Lab Life</a></li>
4040
<li{% if current_path contains '/contact/' %} id="active"{% endif %}><a href="/contact/"{% if current_path contains '/contact/' %} aria-current="page"{% endif %}>Contact</a></li>
4141
</ul>
4242
</nav>

_includes/publication_citation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h3 class="publication-title">
4949
{% if paper.links and paper.links.protocol %}<a href="{{ paper.links.protocol | escape }}">Protocol</a>{% endif %}
5050
{% if paper.links and paper.links.news %}
5151
{% assign publication_news_link = paper.links.news | first %}
52-
<a href="{{ publication_news_link | escape }}">News</a>
52+
<a href="{{ publication_news_link | escape }}">Lab Life</a>
5353
{% endif %}
5454
<a href="/pub_bib/#{{ paper.bibkey | escape }}">BibTeX</a>
5555
</div>

_layouts/post.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{% include nav.html %}
44

5-
{% assign primary_category = page.categories | first | default: "News" %}
5+
{% assign primary_category = page.categories | first | default: "Lab Life" %}
66
{% assign external_url = page["external-url"] %}
77
{% if external_url == nil or external_url == blank %}
88
{% assign external_url = page.external_url %}
@@ -84,7 +84,7 @@
8484
<div class="wsite-content">
8585
<main class="site-page news-article-page">
8686
<nav class="news-article-breadcrumb" aria-label="Breadcrumb">
87-
<a href="/news/">News</a>
87+
<a href="/news/">Lab Life</a>
8888
<span aria-hidden="true">/</span>
8989
<span>{{ primary_category | escape }}</span>
9090
</nav>
@@ -220,7 +220,7 @@ <h2 id="news-related-people-heading">Boyle Lab members</h2>
220220
</div>
221221
{% endif %}
222222

223-
<nav class="news-post-navigation" aria-label="News story navigation">
223+
<nav class="news-post-navigation" aria-label="Lab Life story navigation">
224224
<div class="news-post-navigation-item news-post-navigation-previous">
225225
{% if page.previous %}
226226
<a href="{{ page.previous.url }}">
@@ -229,7 +229,7 @@ <h2 id="news-related-people-heading">Boyle Lab members</h2>
229229
</a>
230230
{% endif %}
231231
</div>
232-
<a class="news-post-navigation-index" href="/news/">All News</a>
232+
<a class="news-post-navigation-index" href="/news/">Back to Lab Life</a>
233233
<div class="news-post-navigation-item news-post-navigation-next">
234234
{% if page.next %}
235235
<a href="{{ page.next.url }}">
@@ -270,7 +270,7 @@ <h3><a href="{{ related_post.url }}">{{ related_post.title | escape }}</a></h3>
270270
<section class="news-article-section news-related-stories" aria-labelledby="news-related-stories-heading">
271271
<div class="section-heading section-heading--bordered">
272272
<p class="section-eyebrow">More from the lab</p>
273-
<h2 id="news-related-stories-heading">Related news</h2>
273+
<h2 id="news-related-stories-heading">More Lab Life</h2>
274274
</div>
275275
<div class="news-related-grid">
276276
{{ related_news_cards }}

css/main_style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ blockquote {
132132
line-height: 1.5;
133133
}
134134

135-
/* News pagination */
135+
/* Lab Life pagination */
136136
.pagination {
137137
clear: both;
138138
width: 100%;
@@ -1529,7 +1529,7 @@ blockquote {
15291529
color: #666;
15301530
}
15311531

1532-
/* News */
1532+
/* Lab Life */
15331533
.news-grid {
15341534
display: grid;
15351535
grid-template-columns: repeat(4, minmax(0, 1fr));

0 commit comments

Comments
 (0)