From 6fda5af2b0c90a99ac5770d837cfa4db0d5929f8 Mon Sep 17 00:00:00 2001 From: Maruan Al-Shedivat Date: Sat, 2 May 2020 19:14:27 -0400 Subject: [PATCH] Add distill post styles and template --- _config.yml | 2 + _includes/head.html | 6 +- _includes/header.html | 6 +- _includes/hemline.html | 6 +- _includes/news.html | 2 +- _includes/pagination.html | 6 +- _layouts/about.html | 2 +- _layouts/bib.html | 12 +- _layouts/default.html | 6 +- _layouts/distill.html | 63 +- _layouts/post.html | 7 + _pages/projects.md | 6 +- _posts/2018-12-22-distill.md | 139 + _sass/_base.scss | 10 + assets/bibliography/2018-12-22-distill.bib | 7 + assets/js/distillpub/template.v2.js | 9247 +++++++++++++ assets/js/distillpub/transforms.v2.js | 13185 +++++++++++++++++++ 17 files changed, 22661 insertions(+), 51 deletions(-) create mode 100644 _posts/2018-12-22-distill.md create mode 100644 assets/bibliography/2018-12-22-distill.bib create mode 100644 assets/js/distillpub/template.v2.js create mode 100644 assets/js/distillpub/transforms.v2.js diff --git a/_config.yml b/_config.yml index 4ddea87..f78604e 100644 --- a/_config.yml +++ b/_config.yml @@ -51,6 +51,8 @@ pagination: collection: 'posts' permalink: /page/:num/ per_page: 3 + sort_field: 'date' + sort_reverse: true trail: before: 1 # The number of links before the current page after: 3 # The number of links after the current page diff --git a/_includes/head.html b/_includes/head.html index 9a38573..32717d0 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -15,7 +15,7 @@ - - + + - + diff --git a/_includes/header.html b/_includes/header.html index d8fa8ea..74498f8 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -23,7 +23,7 @@