Skip to content

Commit

Permalink
Update alexey info and add news
Browse files Browse the repository at this point in the history
  • Loading branch information
dwslim committed Aug 16, 2024
1 parent 8731e61 commit 9e9ae53
Show file tree
Hide file tree
Showing 12 changed files with 83 additions and 28 deletions.
39 changes: 19 additions & 20 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \<NRF-NCR25-Fuzz-0001\>).
# - 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:
Expand Down Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions content/authors/alexey.paznikov/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

---
Binary file added content/authors/alexey.paznikov/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions content/news/2024-06-26-alexey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
date: 2024-06-26
---


Alexey Paznikov joins us as a Research Fellow!
7 changes: 7 additions & 0 deletions content/news/2024-08-12-zihan-arnav.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
date: 2024-08-16
---


Zihan Zhou joins us as a PhD Student!
Arnav Aggarwal joins us as an undergraduate student!
10 changes: 10 additions & 0 deletions content/news/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: News
# Listing view
view: news

# Optional banner image (relative to `assets/media/` folder).
banner:
caption: ''
image: ''
---
7 changes: 0 additions & 7 deletions content/post/24-04-22-first-post/index.md

This file was deleted.

12 changes: 12 additions & 0 deletions themes/blox-bootstrap/assets/scss/wowchemy/layouts/_listing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
10 changes: 9 additions & 1 deletion themes/blox-bootstrap/layouts/partials/blocks/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,15 @@

{{ $columns := $block.design.columns | default "2" }}

<div class="{{if eq $archive_page.Type "publication"}}col-8{{ else}}col-12{{end}} {{if eq $columns "2"}}col-lg-8{{end}}">
<div class="
{{if or (eq $archive_page.Type "publication") (eq $archive_page.Type "news") }}
col-8
{{ else }}
col-12
{{end}}
{{if eq $columns "2"}}
col-lg-8
{{end}}">

{{ with $block.content.text }}{{ . | emojify | $page.RenderString }}{{ end }}

Expand Down
Original file line number Diff line number Diff line change
@@ -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) }}
2 changes: 2 additions & 0 deletions themes/blox-bootstrap/layouts/partials/views/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -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" }}
Expand Down
7 changes: 7 additions & 0 deletions themes/blox-bootstrap/layouts/partials/views/news.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{{ $item := .item }}
{{ $has_attachments := partial "functions/has_attachments" $item }}

<div class="news-list-item view-news">
<span class="news-date">{{ partial "functions/get_news_dates" $item }}</span><div class="news-content">{{ $item.Content }}</div>

</div>

0 comments on commit 9e9ae53

Please sign in to comment.