diff --git a/_data/news.yaml b/_data/news.yaml new file mode 100644 index 0000000..0e1ee39 --- /dev/null +++ b/_data/news.yaml @@ -0,0 +1,20 @@ +- date: 2024-05-13 + type: news-paper-accepted + title: "2 Papers Accepted to be presented at ACM HotStorage 2024" + +- date: 2024-03-19 + type: news-paper-accepted + title: "2 Papers Accepted to be presented at MSST 2024" + +- date: 2024-02-23 + type: news-paper-accepted + title: "1 Paper Accepted to be presented at ACM SIGMOD 2024" + +- date: 2024-01-23 + type: news-paper-accepted + title: "1 Project Accepted for WIP and Poster at FAST 2024" + +- date: 2023-12-01 + type: news-info + title: "2023 Winter Research Camp Starts!" + diff --git a/_data/types.yaml b/_data/types.yaml index df126ca..2614f83 100644 --- a/_data/types.yaml +++ b/_data/types.yaml @@ -150,6 +150,24 @@ error: icon: fa-solid fa-ban color: "#ef4444" +# news + +news-paper-accepted: + icon: fa-solid fa-file-lines + color: "#22c55e" + +news-info: + icon: fa-solid fa-circle-info + color: "#6366f1" + +news-award: + icon: fa-solid fa-award + color: "#ffd700" + +news-general: + icon: fa-solid fa-newspaper + color: "#0ea5e9" + # publications paper: diff --git a/_includes/header.html b/_includes/header.html index 6ee7248..b16a430 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -22,7 +22,11 @@ {% if svg %} {{ svg | file_read }} {% else %} - + {% if page.url == "/" %} + + {% else %} + + {% endif %} {% endif %} {% endif %} @@ -31,8 +35,10 @@ {% if site.title and site.show-title != false %} {{ site.title }} {% endif %} - {% if site.subtitle and site.show-subtitle != false %} - {{ site.subtitle }} + {% if page.url == "/" %} + {% if site.subtitle and site.show-subtitle != false %} + {{ site.subtitle }} + {% endif %} {% endif %} {% endif %} diff --git a/_includes/news.html b/_includes/news.html new file mode 100644 index 0000000..9c000cc --- /dev/null +++ b/_includes/news.html @@ -0,0 +1,10 @@ +{% assign color = site.data.types[include.type].color | default: "#808080" %} +