-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublications.html
More file actions
51 lines (45 loc) · 1.34 KB
/
publications.html
File metadata and controls
51 lines (45 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
layout: default
title: Publications
---
<div class="section-page">
<h1>Publications</h1>
<p class="section-description">Professional publications and collaborative work</p>
<ul class="posts">
{% assign pub_posts = site.posts | where_exp:"post", "post.tags contains 'publication'" %}
{% for post in pub_posts %}
<li>
<span class="post-date">{{ post.date | date_to_string }}</span>
»
{% if post.external_url %}
<a href="{{ post.external_url }}" target="_blank" rel="noopener">{{ post.title }}</a>
{% else %}
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
{% endif %}
{% if post.description %}
<div class="post-description">{{ post.description }}</div>
{% endif %}
</li>
{% endfor %}
</ul>
{% if pub_posts.size == 0 %}
<p>No publications yet.</p>
{% endif %}
</div>
<style>
.publications-intro {
background: #fff7ed;
padding: 1.5rem;
border-radius: 8px;
margin-bottom: 2rem;
border-left: 4px solid #f59e0b;
}
[data-theme="dark"] .publications-intro {
background: #1c2128;
}
.publications-intro p {
margin: 0;
font-size: 1.05rem;
line-height: 1.6;
}
</style>