diff --git a/css/default.scss b/css/default.scss index cd73100..d1f7f5d 100644 --- a/css/default.scss +++ b/css/default.scss @@ -1,10 +1,9 @@ $bg-color: #F3F8F1; -$primary-color: #0197F6; -$secondary-color: #D7263D; +$primary-color: #D7263D; +$secondary-color: #984EA3; html { - font-family: Hack, monospace; - font-size: 80%; + font-family: "Iosevka", sans; background-color: $bg-color; } @@ -23,7 +22,6 @@ a:visited { body { font-size: 1.6rem; - color: #000; } header { @@ -150,3 +148,21 @@ article .header { font-size: 1.8rem; } } + +img { + border: 1px solid; + margin: auto; + display: block; + max-width:50%; +} + +.modded { + color: grey; +} + +code { + color: white; + background-color: #212121; + font-family: monospace; + padding: 0 3px; +} diff --git a/index.html b/index.html index b6c9668..7ae2bff 100644 --- a/index.html +++ b/index.html @@ -1,20 +1,24 @@ --- -title: Welcome +title: Home --- -

About me

-

My name is (R)ostyslav Hnaty(shyn), but I go by Rosty. -I am a first year PhD student at Arizona State University. -My primary research interests are computer graphics, data visualization and algorithm design. -I currently work as an intern at Los Alamos National Laboratory, and I am also a research assistant at the VADER lab at ASU. My resume is available here.

-

This website aims to document some of my interests and the projects that I have been working on, both in and out of school. -It is written in Haskell using Hakyll, and the source code is available here. +

+My name is (R)ostyslav Hnaty(shyn), but I go by Rosty. +I am a second year PhD student at Arizona State University. +My resume is available here.

-

Research

-

My master's thesis focused on building a visual analytics system for working with molecular dynamics simulations. -It can be viewed in full without any copyright here. -The development of the system is still on-going, and I plan to submit it in its final form to EuroVIS 2023.

+

+This website aims to document some of my interests and the projects that I have been working on, both in and out of school. +It is generated using Hakyll; the source code is available here. +

+ +

+ All of the opinions expressed on this site are my own and do not represent the views of my employers. +

+ +

Publications

+$partial("templates/pub-list.html")$

Posts

$partial("templates/post-list.html")$ diff --git a/site.hs b/site.hs index b0abde8..8ea3986 100644 --- a/site.hs +++ b/site.hs @@ -41,13 +41,21 @@ main = hakyllWith config $ do >>= loadAndApplyTemplate "templates/default.html" postCtx >>= relativizeUrls + match "publications/*" $ do + route $ setExtension "html" + compile $ + pandocCompiler + >>= loadAndApplyTemplate "templates/post.html" postCtx + >>= loadAndApplyTemplate "templates/default.html" postCtx + >>= relativizeUrls + match "index.html" $ do route idRoute compile $ do - posts <- recentFirst =<< loadAll "posts/*" - let indexCtx = - listField "posts" postCtx (return posts) - `mappend` defaultContext + posts <- loadAll "posts/*" + pubs <- loadAll "publications/*" + + let indexCtx = listField "publications" postCtx (return pubs) <> listField "posts" postCtx (return posts) `mappend` defaultContext getResourceBody >>= applyAsTemplate indexCtx @@ -58,6 +66,4 @@ main = hakyllWith config $ do -------------------------------------------------------------------------------- postCtx :: Context String -postCtx = - dateField "date" "%B %e, %Y" - `mappend` defaultContext +postCtx = modificationTimeField "modded" "%B %e, %Y" `mappend` defaultContext diff --git a/templates/default.html b/templates/default.html index cd2267c..b9046ed 100644 --- a/templates/default.html +++ b/templates/default.html @@ -4,7 +4,7 @@ - rshyn.site - $title$ + rshyn.site diff --git a/templates/post-list.html b/templates/post-list.html index 05980f2..9ddd043 100644 --- a/templates/post-list.html +++ b/templates/post-list.html @@ -2,7 +2,7 @@ $if(posts)$ $for(posts)$
  • - $title$ - $date$ + $title$ - $modded$
  • $endfor$ $endif$ diff --git a/templates/post.html b/templates/post.html index acfc6fc..fcd1569 100644 --- a/templates/post.html +++ b/templates/post.html @@ -7,4 +7,5 @@
    $body$
    + Last modified: $modded$ diff --git a/templates/pub-list.html b/templates/pub-list.html new file mode 100644 index 0000000..79de7f4 --- /dev/null +++ b/templates/pub-list.html @@ -0,0 +1,9 @@ +