Skip to content

Commit 3578d5c

Browse files
committed
style(listings): add journal (+ remove description) (#2)
1 parent 7a3effe commit 3578d5c

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

css/theme.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,11 @@ h4 {
9999
.iframe-header a:focus {
100100
text-decoration: none;
101101
}
102+
103+
/* Blog posts / listings */
104+
.listing-container-title {
105+
font-size: 0.95rem;
106+
font-style: italic;
107+
margin-top: 0.1rem;
108+
margin-bottom: 0.7rem;
109+
}

pages/publications.ejs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
<% } %>
1818
</a>
1919
20+
<% if (item.citation && item.citation["container-title"]) { %>
21+
<div class="listing-container-title">
22+
<%= item.citation["container-title"] %>
23+
</div>
24+
<% } %>
25+
2026
<% if (item.categories && item.categories.length > 0) { %>
2127
<div class="listing-categories">
2228
<% for (const category of item.categories) { %>
@@ -25,7 +31,6 @@
2531
</div>
2632
<% } %>
2733
28-
<div class="listing-description"><%= item.description %></div>
2934
</div>
3035
3136
<div class="thumbnail">

0 commit comments

Comments
 (0)