Skip to content

Commit 1716355

Browse files
Updated styling and reverted news
It was fun to fiddle with the Hugo templating engine for a while, but the syntax is really atrocious.
1 parent 0ed0f95 commit 1716355

File tree

3 files changed

+23
-16
lines changed

3 files changed

+23
-16
lines changed

data/news.toml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,21 @@
22
# key, format it correctly (YYYY-MM-DD), and you are set. The *value*
33
# attached to your key supports Markdown directly.
44

5+
2025-01-08 = """Bastian will give three talks at
6+
[JMM](https://jointmathematicsmeetings.org/jmm), the Joint Mathematics
7+
Meetings, one on "Diss-lECT: Dissecting Data with local Euler Characteristic
8+
Transforms" (related to a [recent preprint of
9+
ours](https://arxiv.org/abs/2410.02622)), the second one on "Two
10+
Households, Both Alike In Dignity: Geometry and Topology in Machine
11+
Learning," and the final one on "Good Gradients and How To Find Them:
12+
Towards Multi-Scale Representation Learning."
13+
Find these (and more!) talks at [Bastian's website](https://bastian.rieck.me/talks/).
14+
"""
15+
516
2024-12-19 = """
617
Emily wrote up a great thread on [SCOTT](https://github.com/aidos-lab/curvature-filtrations), our
718
new codebase for curvature filtrations.
819
See her post on [X](https://x.com/simons_emilym/status/1869728997623628106) or
920
[BlueSky](https://bsky.app/profile/emsimons.bsky.social/post/3ldnzqoefrc2x)
1021
for more details.
1122
"""
12-
13-
2025-01-08 = """
14-
Bastian will give three talks at
15-
[JMM](https://jointmathematicsmeetings.org/jmm), the Joint Mathematics
16-
Meetings:
17-
18-
1. Diss-lECT: Dissecting Data with local Euler Characteristic
19-
Transforms (related to a [recent preprint of
20-
ours](https://arxiv.org/abs/2410.02622))
21-
2. Two Households, Both Alike In Dignity: Geometry and Topology in Machine Learning
22-
3. Good Gradients and How To Find Them: Towards Multi-Scale Representation Learning
23-
24-
Find these (and more!) talks at [Bastian's website](https://bastian.rieck.me/talks/).
25-
"""

layouts/shortcodes/news.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
<h2>News</h2>
22

3+
{{ $dates := slice }}
34
{{ range $date, $news := .Site.Data.news }}
4-
<article>
5+
{{ $dates = $dates | append $date }}
6+
{{ end }}
7+
8+
{{ range $date := $dates | collections.Reverse }}
9+
{{ $news := index $.Site.Data.news $date }}
10+
<article class="news">
511
{{ $date := printf $date | time }}
612
<time>{{ time.Format "January 2, 2006" $date }}</time>:
713
{{ $news | markdownify }}
814
</article>
9-
</ul>
1015
{{ end }}

themes/brevis/static/css/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,3 +318,8 @@ time
318318
width: 100%;
319319
}
320320
}
321+
322+
article.news
323+
{
324+
margin-bottom: 1em;
325+
}

0 commit comments

Comments
 (0)