-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
init
committed
Nov 18, 2024
1 parent
ca00fa3
commit bf04f4b
Showing
3 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
<div class="publications"> | ||
<h2>selected publications</h2> | ||
<h2>publications</h2> | ||
{% bibliography -f papers -q @*[selected=true]* %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
<div class="news"> | ||
<h2>news</h2> | ||
{% if site.news != blank -%} | ||
{%- assign news_size = site.news | size -%} | ||
<div class="table-responsive" {% if site.news_scrollable and news_size > 3 %}style="max-height: 10vw"{% endif %}> | ||
<table class="table table-sm table-borderless"> | ||
{%- assign news = site.news | reverse -%} | ||
{% if site.news_limit %} | ||
{% assign news_limit = site.news_limit %} | ||
{% else %} | ||
{% assign news_limit = news_size %} | ||
{% endif %} | ||
{% for item in news limit: news_limit %} | ||
<tr> | ||
<th scope="row">{{ item.date | date: "%b %-d, %Y" }}</th> | ||
<td> | ||
{% if item.inline -%} | ||
{{ item.content | remove: '<p>' | remove: '</p>' | emojify }} | ||
{%- else -%} | ||
<a class="news-title" href="{{ item.url | relative_url }}">{{ item.title }}</a> | ||
{%- endif %} | ||
</td> | ||
</tr> | ||
{%- endfor %} | ||
</table> | ||
</div> | ||
{%- else -%} | ||
<p>No news so far...</p> | ||
{%- endif %} | ||
</div> |