diff --git a/content/_index.md b/content/_index.md index bca5856d..7ae6b2f9 100644 --- a/content/_index.md +++ b/content/_index.md @@ -42,26 +42,6 @@ sections: 1. Singapore Ministry of Education (MoE) Academic Research Fund (AcRF) Tier 1 grant. 2. National Research Foundation, Singapore, and Cyber Security Agency of Singapore under its National Cybersecurity R&D Programme (Fuzz Testing \). - - # - block: collection - # content: - # title: Latest News - # subtitle: - # text: - # count: 5 - # filters: - # author: '' - # category: '' - # exclude_featured: false - # publication_type: '' - # tag: '' - # offset: 0 - # order: desc - # page_type: post - # design: - # view: card - # columns: '1' - # - block: markdown # content: # title: @@ -91,6 +71,25 @@ sections: show_role: true show_social: true + - block: collection + content: + title: News + subtitle: + text: + count: 5 + filters: + author: '' + category: '' + exclude_featured: false + publication_type: '' + tag: '' + offset: 0 + order: desc + page_type: news + design: + view: news + columns: '1' + - block: collection content: title: Publications diff --git a/content/authors/alexey.paznikov/_index.md b/content/authors/alexey.paznikov/_index.md index fb001769..d91b5a24 100644 --- a/content/authors/alexey.paznikov/_index.md +++ b/content/authors/alexey.paznikov/_index.md @@ -11,4 +11,11 @@ last_name: Paznikov user_groups: - Research Fellows +link: https://apaznikov.github.io/ + +social: + - icon: orcid + icon_pack: fab + link: https://orcid.org/0000-0002-3735-6882 + --- diff --git a/content/authors/alexey.paznikov/avatar.jpg b/content/authors/alexey.paznikov/avatar.jpg new file mode 100755 index 00000000..9bf7d79b Binary files /dev/null and b/content/authors/alexey.paznikov/avatar.jpg differ diff --git a/content/news/2024-06-26-alexey.md b/content/news/2024-06-26-alexey.md new file mode 100644 index 00000000..4becf89a --- /dev/null +++ b/content/news/2024-06-26-alexey.md @@ -0,0 +1,6 @@ +--- +date: 2024-06-26 +--- + + +Alexey Paznikov joins us as a Research Fellow! diff --git a/content/news/2024-08-12-zihan-arnav.md b/content/news/2024-08-12-zihan-arnav.md new file mode 100644 index 00000000..cf115636 --- /dev/null +++ b/content/news/2024-08-12-zihan-arnav.md @@ -0,0 +1,7 @@ +--- +date: 2024-08-16 +--- + + +Zihan Zhou joins us as a PhD Student! +Arnav Aggarwal joins us as an undergraduate student! diff --git a/content/news/_index.md b/content/news/_index.md new file mode 100644 index 00000000..0691d0a1 --- /dev/null +++ b/content/news/_index.md @@ -0,0 +1,10 @@ +--- +title: News +# Listing view +view: news + +# Optional banner image (relative to `assets/media/` folder). +banner: + caption: '' + image: '' +--- diff --git a/content/post/24-04-22-first-post/index.md b/content/post/24-04-22-first-post/index.md deleted file mode 100644 index e1cddb15..00000000 --- a/content/post/24-04-22-first-post/index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: First Post -date: 2024-04-22 -author: Daniel Lim ---- - - diff --git a/themes/blox-bootstrap/assets/scss/wowchemy/layouts/_listing.scss b/themes/blox-bootstrap/assets/scss/wowchemy/layouts/_listing.scss index f8eaabf4..fa60a599 100644 --- a/themes/blox-bootstrap/assets/scss/wowchemy/layouts/_listing.scss +++ b/themes/blox-bootstrap/assets/scss/wowchemy/layouts/_listing.scss @@ -16,6 +16,18 @@ margin-bottom: 0; } +.news-list-item .news-date { + font-weight: bold; +} + +.news-list-item .news-content { + margin-bottom: 0.8rem; +} + +.news-list-item .news-content p { + margin-bottom: 0; +} + .pub-list-item { margin-top: 0rem; margin-bottom: 1.8rem; diff --git a/themes/blox-bootstrap/layouts/partials/blocks/collection.html b/themes/blox-bootstrap/layouts/partials/blocks/collection.html index 68a478c5..2ec15a27 100644 --- a/themes/blox-bootstrap/layouts/partials/blocks/collection.html +++ b/themes/blox-bootstrap/layouts/partials/blocks/collection.html @@ -77,7 +77,15 @@ {{ $columns := $block.design.columns | default "2" }} -
+
{{ with $block.content.text }}{{ . | emojify | $page.RenderString }}{{ end }} diff --git a/themes/blox-bootstrap/layouts/partials/functions/get_news_dates.html b/themes/blox-bootstrap/layouts/partials/functions/get_news_dates.html new file mode 100644 index 00000000..3393f065 --- /dev/null +++ b/themes/blox-bootstrap/layouts/partials/functions/get_news_dates.html @@ -0,0 +1,4 @@ +{{/* Function to get event start and end dates/times. */}} +{{ $t1 := time .Date }}{{/* Start datetime. */}} +{{ $str := slice (time.Format site.Params.locale.date_format (time $t1)) }}{{/* Init return string with start date. */}} +{{ return ((delimit $str " ") | safeHTML) }} diff --git a/themes/blox-bootstrap/layouts/partials/views/list.html b/themes/blox-bootstrap/layouts/partials/views/list.html index 3b01a64c..3f86c527 100644 --- a/themes/blox-bootstrap/layouts/partials/views/list.html +++ b/themes/blox-bootstrap/layouts/partials/views/list.html @@ -12,6 +12,8 @@ {{ end }} {{ if eq $item.Type "post" }} {{ $icon = "fa-newspaper" }} +{{ else if eq $item.Type "news" }} + {{ $icon = "fa-newspaper" }} {{ else if eq $item.Type "event" }} {{ $icon = "fa-calendar-alt" }} {{ else if eq $item.Type "publication" }} diff --git a/themes/blox-bootstrap/layouts/partials/views/news.html b/themes/blox-bootstrap/layouts/partials/views/news.html new file mode 100644 index 00000000..83da2122 --- /dev/null +++ b/themes/blox-bootstrap/layouts/partials/views/news.html @@ -0,0 +1,7 @@ +{{ $item := .item }} +{{ $has_attachments := partial "functions/has_attachments" $item }} + +
+ {{ partial "functions/get_news_dates" $item }}
{{ $item.Content }}
+ +