diff --git a/_includes/footer.html b/_includes/footer.html index 9ac5dd6..4a810d0 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -16,16 +16,21 @@ integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"> +{% if page.uses contains "masonry" %} +{% endif %} +{% if page.uses contains "qrcodes" %} +{% endif %} +{% if page.uses contains "katex" %} +{% endif %} @@ -85,13 +93,13 @@ -{% if page.requires_twitter %} +{% if page.uses contains "twitter" %} {% endif %} -{% if page.requires_graphs %} +{% if page.uses contains "graphs" %} {% endif %} \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index edb5a14..84a47ed 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,4 +1,5 @@ + {{page.title}} | {{ site.title }} @@ -14,11 +15,15 @@ + {% if page.uses contains "katex" %} + {% endif %} + {% if page.uses contains "tikz" %} + {% endif %} diff --git a/_posts/2019-09-11-Buildingimgfrombin.md b/_posts/2019-09-11-Buildingimgfrombin.md index bb867b7..431248d 100644 --- a/_posts/2019-09-11-Buildingimgfrombin.md +++ b/_posts/2019-09-11-Buildingimgfrombin.md @@ -4,10 +4,11 @@ title: "Building images from binary data" description: "Simple, yet fun" date: 2019-09-11 12:41:00 categories: python images -requires_twitter: true redirect_from: - /post/ef7b3166/ - /ef7b3166/ +uses: + - twitter --- During a computer science class today, we were talking about embedding code and metadata in *jpg* and *bmp* files. @exvacuum was showing off a program he wrote that watched a directory for new image files, and would display them on a canvas. He then showed us a special image. In this image, he had injected some metadata into the last few pixels, which were not rendered, but told his program where to position the image on the canvas, and it's size. diff --git a/_posts/2020-04-20-LudumDare46.md b/_posts/2020-04-20-LudumDare46.md index 1313fb9..6da8e5f 100644 --- a/_posts/2020-04-20-LudumDare46.md +++ b/_posts/2020-04-20-LudumDare46.md @@ -4,10 +4,11 @@ title: "LudumDare46 Recap" description: "Recapping the development of Micromanaged Mike" date: 2020-04-20 12:00:00 categories: gamedev gamejam team -requires_twitter: true redirect_from: - /post/ebsdjtd9/ - /ebsdjtd9/ +uses: + - twitter --- Over the past weekend I teamed up with @rsninja722, @wm-c, @exvacuum, @marshmarlow, and our friends Sally and Matt to participate in the [LudumDare46](https://ldjam.com/events/ludum-dare/46) game jam. This post will outline the game development process. diff --git a/_posts/2020-08-03-Joystick-to-Voltage.md b/_posts/2020-08-03-Joystick-to-Voltage.md index ad59433..336b479 100644 --- a/_posts/2020-08-03-Joystick-to-Voltage.md +++ b/_posts/2020-08-03-Joystick-to-Voltage.md @@ -7,6 +7,8 @@ categories: frc redirect_from: - /post/6j49kjl4/ - /6j49kjl4/ +uses: + - katex --- I am starting a new little series here called "Notes from FRC". The idea is that I am going to write about what I have learned over the past three years of working (almost daily) with robots, and hopefully someone in the future will find them useful. The production source code I based this post around is available [here](https://github.com/frc5024/lib5k/blob/cd8ad407146b514cf857c1d8ac82ac8f3067812b/common_drive/src/main/java/io/github/frc5024/common_drive/calculation/DifferentialDriveCalculation.java). diff --git a/_posts/2020-08-13-Drivetrain-navigation.md b/_posts/2020-08-13-Drivetrain-navigation.md index d3c8815..ad790c2 100644 --- a/_posts/2020-08-13-Drivetrain-navigation.md +++ b/_posts/2020-08-13-Drivetrain-navigation.md @@ -11,6 +11,8 @@ excerpt: >- redirect_from: - /post/68dj2jl4/ - /68dj2jl4/ +uses: + - katex --- This post is a continuation on my "Notes from FRC" series. If you haven't already, I recommend reading my post on [Converting joystick data to tank-drive outputs](/blog/2020/08/03/joystick-to-voltage). Some concepts in this post were introduced there. Like last time, to see the production code behind this post, check [here](https://github.com/frc5024/lib5k/blob/ab90994b2a0c769abfdde9a834133725c3ce3a38/common_drive/src/main/java/io/github/frc5024/common_drive/DriveTrainBase.java) and [here](https://github.com/frc5024/lib5k/tree/master/purepursuit/src/main/java/io/github/frc5024/purepursuit/pathgen). diff --git a/donations.md b/donations.md index 8ed4116..dbe0b98 100644 --- a/donations.md +++ b/donations.md @@ -4,6 +4,8 @@ description: Looking to make a donation? layout: page backing_img: /assets/images/money_transfer__monochromatic.svg backing_scalar: "height:90%;" +uses: + - qrcodes --- You probably ended up here from my GitHub page. Since I still am not 18, I can't finish signing up to [GitHub Sponsors](). Due to this, I had to get a little creative with my donations setup. diff --git a/index.html b/index.html index a2f0a87..61f1683 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,7 @@ --- title: Home +uses: + - masonry --- {% include head.html %}