From 3c7ee036233f84f5969cd4309fb1d5d0c6feb789 Mon Sep 17 00:00:00 2001 From: Justin Hsu Date: Sun, 11 Jul 2021 00:35:38 +0100 Subject: [PATCH] Make separate section for invited chapters and surveys. --- app/Main.hs | 8 +++++--- app/site.hs | 8 +++++--- css/style.scss | 2 +- index.html | 6 ++++++ 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/app/Main.hs b/app/Main.hs index 324a903..6600654 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -15,9 +15,11 @@ config = defaultConfiguration -------------------------------------------------------------------------------- bibHeaders :: [(String, [String])] -bibHeaders = [ ("drafts" , [ "-c", "$type='UNPUBLISHED'" ] ) , - ("thesis" , [ "-c", "$type='PHDTHESIS'" ] ) , - ("pubs" , [ "-c", "$type='INPROCEEDINGS' or $type='ARTICLE'" ] ) ] +bibHeaders = [ ("drafts" , [ "-c", "$type='UNPUBLISHED'" ] ) + , ("thesis" , [ "-c", "$type='PHDTHESIS'" ] ) + , ("pubs" , [ "-c", "($type='INPROCEEDINGS' | $type='ARTICLE') & reviewed='yes'" ] ) + , ("invite" , [ "-c", "($type='ARTICLE' | $type='INBOOK') & reviewed='no'" ] ) + ] bibSources :: [String] bibSources = [ "bibs/header.bib" diff --git a/app/site.hs b/app/site.hs index 324a903..65fc672 100644 --- a/app/site.hs +++ b/app/site.hs @@ -15,9 +15,11 @@ config = defaultConfiguration -------------------------------------------------------------------------------- bibHeaders :: [(String, [String])] -bibHeaders = [ ("drafts" , [ "-c", "$type='UNPUBLISHED'" ] ) , - ("thesis" , [ "-c", "$type='PHDTHESIS'" ] ) , - ("pubs" , [ "-c", "$type='INPROCEEDINGS' or $type='ARTICLE'" ] ) ] +bibHeaders = [ ("drafts" , [ "-c", "$type='UNPUBLISHED'" ] ) + , ("thesis" , [ "-c", "$type='PHDTHESIS'" ] ) + , ("pubs" , [ "-c", "($type='INPROCEEDINGS' | $type='ARTICLE') & $reviewed='yes'" ] ) + , ("invite" , [ "-c", "($type='INPROCEEDINGS' | $type='ARTICLE' | $type='INBOOK') & $reviewed='no'" ] ) + ] bibSources :: [String] bibSources = [ "bibs/header.bib" diff --git a/css/style.scss b/css/style.scss index fda2c46..a9b31a8 100644 --- a/css/style.scss +++ b/css/style.scss @@ -192,7 +192,7 @@ body { }; } -#drafts, #thesis, #pubs { +#drafts, #thesis, #pubs, #invite { padding: $text-pad; } diff --git a/index.html b/index.html index 6891273..d763e27 100644 --- a/index.html +++ b/index.html @@ -81,6 +81,12 @@ type='text/css'> $thesis$ +
+

Invited Chapters and Surveys

+ + $invite$ +
+

Refereed Publications