diff --git a/content/blog/2019-09-11-Buildingimgfrombin.md b/content/blog/2019-09-11-Buildingimgfrombin.md index eed5fca..e3f146b 100644 --- a/content/blog/2019-09-11-Buildingimgfrombin.md +++ b/content/blog/2019-09-11-Buildingimgfrombin.md @@ -7,9 +7,9 @@ tags: python images redirect_from: - /post/ef7b3166/ - /ef7b3166/ -uses: - - twitter aliases: [/blog/2019/09/11/buildingimgfrombin] +extra: + uses_twitter: true --- 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/content/blog/2020-04-20-LudumDare46.md b/content/blog/2020-04-20-LudumDare46.md index 211ad30..8614702 100644 --- a/content/blog/2020-04-20-LudumDare46.md +++ b/content/blog/2020-04-20-LudumDare46.md @@ -7,9 +7,9 @@ tags: gamedev gamejam team ldjam javascript redirect_from: - /post/ebsdjtd9/ - /ebsdjtd9/ -uses: - - twitter aliases: [/blog/2020/04/20/ludumdare46] +extra: + uses_twitter: true --- 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/templates/page.html b/templates/page.html index f25e491..9898a3e 100644 --- a/templates/page.html +++ b/templates/page.html @@ -40,4 +40,8 @@ MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], displayMat {{page.content | safe}} + +{% if page.extra.uses_twitter %} + +{% endif %} {% endblock content %} \ No newline at end of file