From 914a5f9b8a1b988e0d0fa3b27d099aca57b183a7 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 15 Sep 2020 16:17:28 -0400 Subject: [PATCH] Small formatting changes --- Gemfile | 4 +- Gemfile.lock | 6 ++- _config.yml | 1 + _drafts/2020-10-01-Reading-a-Bitmap.md | 2 + _includes/footer.html | 58 ++++++++++++++++++++++++++ _layouts/page.html | 3 +- 6 files changed, 70 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 7e2b8f0..7c80a25 100644 --- a/Gemfile +++ b/Gemfile @@ -34,4 +34,6 @@ gem 'jekyll-redirect-from' gem 'jemoji' gem 'jekyll-mentions' gem 'jekyll-seo-tag' -gem "jekyll-github-metadata" \ No newline at end of file +gem "jekyll-github-metadata" +gem 'jekyll-avatar' +gem 'html-pipeline' \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 418f2a4..e3057b7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -40,6 +40,8 @@ GEM rouge (~> 3.0) safe_yaml (~> 1.0) terminal-table (~> 1.8) + jekyll-avatar (0.7.0) + jekyll (>= 3.0, < 5.0) jekyll-feed (0.12.1) jekyll (>= 3.7, < 5.0) jekyll-github-metadata (2.13.0) @@ -105,7 +107,9 @@ PLATFORMS ruby DEPENDENCIES + html-pipeline jekyll (~> 4.0.0) + jekyll-avatar jekyll-feed (~> 0.12) jekyll-github-metadata jekyll-mentions @@ -117,4 +121,4 @@ DEPENDENCIES wdm (~> 0.1.1) BUNDLED WITH - 2.0.2 + 2.1.4 diff --git a/_config.yml b/_config.yml index 0b03a9e..4fa0683 100644 --- a/_config.yml +++ b/_config.yml @@ -63,6 +63,7 @@ plugins: - jekyll-mentions - jekyll-seo-tag - jekyll-github-metadata + - jekyll-avatar exclude: - Gemfile diff --git a/_drafts/2020-10-01-Reading-a-Bitmap.md b/_drafts/2020-10-01-Reading-a-Bitmap.md index bce119c..50ae870 100644 --- a/_drafts/2020-10-01-Reading-a-Bitmap.md +++ b/_drafts/2020-10-01-Reading-a-Bitmap.md @@ -11,6 +11,8 @@ excerpt: >- redirect_from: - /post/XcaMdj2m/ - /XcaMdj2m/ +uses: + - github-cards --- Recently, @rsninja722 was telling me about [a project](https://github.com/rsninja722/file2bmp) he was working on. The basic idea is that you pass a file into his program, and it generates a bitmap of the binary data. This was inspired by [an old post of mine](/post/ef7b3166) where I did the same thing with a horribly written Python script and the library [`pillow`](https://github.com/python-pillow/Pillow). diff --git a/_includes/footer.html b/_includes/footer.html index 27f025e..114fa86 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -106,4 +106,62 @@ {% if page.uses contains "graphs" %} +{% endif %} + +{% if page.uses contains "github-cards" and false %} + + + + + + + + + {% endif %} \ No newline at end of file diff --git a/_layouts/page.html b/_layouts/page.html index 4065a8d..8c8a326 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -89,13 +89,12 @@ {% endif %} - - {% include footer.html %} +