You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- README: document lab news and events in news.yml, fix site structure and img list
- Footer and people page: use rel='noopener noreferrer' on external links
- Default layout: og/twitter image to header_london.png (hero.jpg did not exist)
Copy file name to clipboardExpand all lines: README.md
+38-9Lines changed: 38 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This is the official website for the Learning, Inference & Memory (LIM) Lab, at
9
9
This website is built using [Jekyll](https://jekyllrb.com/) with the `github-pages` gem, ensuring full compatibility with GitHub Pages. This provides:
10
10
11
11
-**Template System**: One layout file controls all pages
12
-
-**Data-Driven Content**: Peopleand publications managed in YAML files
12
+
-**Data-Driven Content**: People, publications, and lab news managed in YAML files
13
13
-**Automatic Builds**: GitHub Pages builds automatically on push
14
14
-**Easy Maintenance**: Add new content without touching HTML
15
15
@@ -25,7 +25,8 @@ This website is built using [Jekyll](https://jekyllrb.com/) with the `github-pag
25
25
│ └── footer.html # Footer partial
26
26
├── _data/
27
27
│ ├── people.yml # Lab members data
28
-
│ └── publications.yml # Publications data
28
+
│ ├── publications.yml # Publications data
29
+
│ └── news.yml # Lab news entries
29
30
├── Gemfile # Ruby dependencies
30
31
├── Gemfile.lock # Locked dependency versions
31
32
├── .gitignore # Git ignore rules
@@ -45,8 +46,8 @@ This website is built using [Jekyll](https://jekyllrb.com/) with the `github-pag
45
46
│ └── style.css # All styling
46
47
└── img/ # Images and photos
47
48
├── athena1b.jpg
48
-
├── European_Research_Council_logo-01.webp
49
-
├── sainsbury.png
49
+
├── erc.png
50
+
├── swc.png
50
51
├── ucl.png
51
52
└── [other member photos and logos]
52
53
```
@@ -101,9 +102,37 @@ published:
101
102
note: "Additional note" # optional
102
103
```
103
104
104
-
### Adding News
105
+
### Adding Lab News
105
106
106
-
Edit `labnews/index.md` and add new news items in the Recent News section.
107
+
Edit `_data/news.yml` and add new entries under `recent_news`. Each item has a `date`, `title`, and `paragraphs` list. Paragraphs support **markdown** (bold, links, lists).
108
+
109
+
```yaml
110
+
recent_news:
111
+
- date: "2025"
112
+
title: "Your headline"
113
+
paragraphs:
114
+
- "First paragraph."
115
+
- "Second paragraph. Use **bold** or [links](/join/) in markdown."
116
+
- |
117
+
- List item one
118
+
- List item two
119
+
```
120
+
121
+
Add new items at the top of the list so the latest news appears first.
122
+
123
+
### Upcoming Events (Lab News page)
124
+
125
+
The lab news page has an **Upcoming Events** section. Edit `_data/news.yml`:
126
+
127
+
- **Placeholder message** (when there are no events): change `events_placeholder`.
128
+
- **Add events**: replace `upcoming_events: []` with a list of items, each with `date`, `title`, and optional `description` (markdown):
129
+
130
+
```yaml
131
+
upcoming_events:
132
+
- date: "2025-03-15"
133
+
title: "Lab meeting"
134
+
description: "Weekly lab meeting, Room 123."
135
+
```
107
136
108
137
## 🎨 Making Design Changes
109
138
@@ -181,9 +210,9 @@ We welcome contributions to improve the website! Here's how you can help:
181
210
- Include DOI links when available
182
211
183
212
3. **Share News**:
184
-
- Edit `labnews/index.md`
185
-
- Add new items to the "Recent News" section
186
-
- Include relevant links and images
213
+
- Edit `_data/news.yml` and add a new entry under `recent_news`
214
+
- Use `date`, `title`, and `paragraphs` (list of strings; markdown supported)
215
+
- Add new items at the top so the latest news appears first
<p>Athena Akrami leads the Learning, Inference & Memory Lab at the Sainsbury Wellcome Centre, UCL. Her research focuses on understanding the neural mechanisms underlying learning, memory, and inference in both humans and animals.</p>
0 commit comments