Skip to content

Commit d9b29c6

Browse files
committed
some changes
1 parent a2074e3 commit d9b29c6

14 files changed

Lines changed: 4402 additions & 365 deletions

File tree

‎README.md‎

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ nmoraislab.github.io/
2121
│ ├── hero.html ← Hero / landing section
2222
│ ├── about.html ← About the lab + graphical abstract
2323
│ ├── team.html ← PI card + team member cards
24+
│ ├── nuno.html ← Nuno Barbosa-Morais full profile page (standalone)
25+
│ ├── research.html ← Research themes, ongoing projects, area publications
2426
│ ├── software.html ← Web apps, R packages, tools in development
25-
│ ├── publications.html ← Selected publications (year-grouped timeline)
26-
│ ├── news.html ← Social buttons; Bluesky feed is auto-loaded
27+
│ ├── publications.html ← Full publication list (year-grouped, filterable, searchable)
28+
│ ├── news.html ← Social buttons; Bluesky feed + BIOMICS spotlight
2729
│ ├── outreach.html ← Science communication games
2830
│ ├── alumni.html ← Former lab members
2931
│ └── location.html ← Address + OpenStreetMap embed
@@ -68,15 +70,23 @@ Then open **[http://localhost:8000](http://localhost:8000)**. A yellow banner ap
6870
| File | What to edit |
6971
|---|---|
7072
| `sections/team.html` | Add/remove members, update names, roles, emails, bios, fun facts, social links |
71-
| `sections/publications.html` | Add papers grouped by year |
72-
| `sections/software.html` | Add tools, update links and descriptions |
73+
| `sections/nuno.html` | Nuno's detailed profile page — background, **master publication list**, press |
74+
| `sections/research.html` | Research themes, ongoing project cards, area publications (collapsible) |
75+
| `sections/publications.html` | Container only — **do not add papers here**; manage via `nuno.html` (see below) |
76+
| `sections/software.html` | Add/update tools, badges, links |
7377
| `sections/alumni.html` | Add former members (most recent departure first) |
7478
| `sections/outreach.html` | Add/update science communication games |
7579
| `sections/about.html` | Lab description, graphical abstract |
7680
| `sections/hero.html` | Headline, tagline, affiliation badges |
77-
| `sections/news.html` | Social button URLs (Bluesky feed is automatic) |
81+
| `sections/news.html` | Social button URLs; BIOMICS videos; Bluesky feed is automatic |
7882
| `sections/location.html` | Address text, map pin |
79-
| `index.html` | Funding logos (static block near the footer) |
83+
| `index.html` | Funding logos (static block near the footer), footer links |
84+
85+
### Nuno's profile page (`sections/nuno.html`)
86+
87+
This is a standalone HTML page (not injected via the section loader) with its own `<head>`, inline CSS, and scripts. It uses relative paths (`../css/`, `../assets/`, `../js/`) because it lives inside `sections/`. The PI card in `sections/team.html` links to it.
88+
89+
The "Back to team" link in `sections/nuno.html` points to `../index.html#team`. The `#team` hash scroll is handled by `js/main.js` after sections finish loading asynchronously.
8090

8191
### Adding a team member
8292

@@ -91,7 +101,27 @@ Photos are automatically cropped to a consistent `5/4` aspect ratio — any size
91101

92102
### Adding a publication
93103

94-
Publications are grouped by year. Copy a `.pub-paper` block inside the matching `.pub-year-papers` container (or copy a full `.pub-year-group` block to start a new year). Keep years in reverse chronological order.
104+
`sections/nuno.html` is the **single source of truth** for all publications. The main website's Publications section is auto-populated from it by `js/main.js` at page load — there is no paper data in `sections/publications.html`.
105+
106+
To add a paper:
107+
108+
1. Open `sections/nuno.html` and find the correct year section (or Preprints) in the publication list.
109+
2. Add a new `<li class="nuno-pub-item">` with the citation.
110+
3. If the paper should appear in the **main Publications section**, also add:
111+
```html
112+
<li class="nuno-pub-item key-paper"
113+
data-selected="true"
114+
data-year="2025"
115+
data-authors="Smith A, Jones B, Barbosa-Morais NL"
116+
data-journal="Nature, 2025;123:456"
117+
data-tags="cancer,RNA-seq">
118+
```
119+
- `key-paper` shows a ★ star on Nuno's page.
120+
- `data-selected="true"` makes the paper appear in the main publications section.
121+
- `data-year` controls which year group it appears under (`"preprint"` for preprints).
122+
- `data-tags` enables keyword filtering.
123+
124+
4. Push — both pages update automatically.
95125

96126
### Adding an alumni entry
97127

‎assets/photos/Alexandre.jpg‎

4.44 MB
Loading

0 commit comments

Comments
 (0)