From 4616762afd54add9041c256c246a2cad27485f98 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Mon, 14 Mar 2022 10:49:23 -0400 Subject: [PATCH] lots of styling upgrades --- .../blog/2020-08-13-Drivetrain-navigation.md | 8 ++--- .../blog/2020-08-23-Notetaking-with-LaTeX.md | 7 ++-- content/blog/2020-09-03-Bazel-and-AVR.md | 7 ++-- content/blog/2020-09-10-CodeSpaces-For-FRC.md | 9 ++--- content/blog/2020-09-17-Ultralight-writeup.md | 7 ++-- content/blog/2020-09-24-Gopro-Webcam.md | 9 ++--- content/blog/2020-10-01-Reading-a-Bitmap.md | 7 ++-- .../blog/2020-10-15-Mounting-Google-Drives.md | 9 ++--- .../blog/2020-10-24-CorePack-Development.md | 5 +-- content/blog/2020-11-21-Minecraft-IRC.md | 5 +-- content/blog/2020-11-6-Vortex-Core.md | 5 +-- content/blog/2020-12-19-Vanilla-plus-mods.md | 5 +-- content/blog/2020-12-31-Year-wrapup.md | 5 +-- content/blog/2020-12-4-GalliumOS.md | 5 +-- content/blog/2021-01-16-Printer-Tunneling.md | 5 +-- content/blog/2021-02-25-KBFS-Maven.md | 5 +-- content/blog/2021-03-14-QMK-Vortex-Core.md | 5 +-- content/blog/2021-04-20-Direwolf-APRS.md | 5 +-- content/blog/2021-07-06-Windows-SSH.md | 4 +-- content/blog/2021-09-28-frc-tech-reference.md | 2 ++ content/blog/2021-11-14-amprnet-bgp.md | 2 ++ content/blog/2021-12-03-quaternions.md | 1 + .../blog/2022-01-06-unfinished-projects.md | 2 ++ content/blog/2022-01-19-monocular-blender.md | 1 + content/blog/_index.md | 3 ++ sass/styles/layout.scss | 30 +++++++++++++++++ templates/section.html | 33 +++++++++++++++---- 27 files changed, 135 insertions(+), 56 deletions(-) diff --git a/content/blog/2020-08-13-Drivetrain-navigation.md b/content/blog/2020-08-13-Drivetrain-navigation.md index 69ab77b..398ec5f 100644 --- a/content/blog/2020-08-13-Drivetrain-navigation.md +++ b/content/blog/2020-08-13-Drivetrain-navigation.md @@ -4,11 +4,11 @@ title: "Notes from FRC: Autonomous point-to-point navigation" description: "The tale of some very curvy math" date: 2020-08-13 tags: frc -excerpt: >- - This post is a continuation on my "Notes from FRC" series. This time, - I cover an extremely simple, yet very effective way to get a - tank-drive robot from A to B autonomously. extra: + excerpt: >- + This post is a continuation on my "Notes from FRC" series. This time, + I cover an extremely simple, yet very effective way to get a + tank-drive robot from A to B autonomously. uses_katex: true aliases: [/blog/2020/08/13/drivetrain-navigation] --- diff --git a/content/blog/2020-08-23-Notetaking-with-LaTeX.md b/content/blog/2020-08-23-Notetaking-with-LaTeX.md index d9fdaf0..547d8dd 100644 --- a/content/blog/2020-08-23-Notetaking-with-LaTeX.md +++ b/content/blog/2020-08-23-Notetaking-with-LaTeX.md @@ -4,9 +4,10 @@ title: "Taking notes with Markdown and LaTeX" description: "Using a lot of tech to replace a piece of paper" date: 2020-08-23 tags: pandoc latex bazel -excerpt: >- - I have completely reworked my school notetaking system to use LaTeX. - This post outlines how I did everything, and my new workflow. +extra: + excerpt: >- + I have completely reworked my school notetaking system to use LaTeX. + This post outlines how I did everything, and my new workflow. redirect_from: - /post/68df02l4/ - /68df02l4/ diff --git a/content/blog/2020-09-03-Bazel-and-AVR.md b/content/blog/2020-09-03-Bazel-and-AVR.md index 93d59cb..4ac9887 100644 --- a/content/blog/2020-09-03-Bazel-and-AVR.md +++ b/content/blog/2020-09-03-Bazel-and-AVR.md @@ -4,9 +4,10 @@ title: "Compiling AVR-C code with a modern build system" description: "Bringing Bazel to 8-bit microcontrollers" date: 2020-09-03 tags: avr embedded bazel -excerpt: >- - In this post, I cover my process of combining low level - programming with a very high level buildsystem. +extra: + excerpt: >- + In this post, I cover my process of combining low level + programming with a very high level buildsystem. redirect_from: - /post/68dk02l4/ - /68dk02l4/ diff --git a/content/blog/2020-09-10-CodeSpaces-For-FRC.md b/content/blog/2020-09-10-CodeSpaces-For-FRC.md index d01ed21..0eec2b6 100644 --- a/content/blog/2020-09-10-CodeSpaces-For-FRC.md +++ b/content/blog/2020-09-10-CodeSpaces-For-FRC.md @@ -4,10 +4,11 @@ title: "Integrating GitHub Codespaces with FRC" description: "Robotics software development in your browser" date: 2020-09-10 tags: github codespaces -excerpt: >- - I was recently accepted into the GitHub Codespaces beta test program - and decided to try it out on the largest open source project I am - currently involved with. +extra: + excerpt: >- + I was recently accepted into the GitHub Codespaces beta test program + and decided to try it out on the largest open source project I am + currently involved with. aliases: [/blog/2020/09/10/codespaces-for-frc] --- diff --git a/content/blog/2020-09-17-Ultralight-writeup.md b/content/blog/2020-09-17-Ultralight-writeup.md index d846f8b..eadf4f5 100644 --- a/content/blog/2020-09-17-Ultralight-writeup.md +++ b/content/blog/2020-09-17-Ultralight-writeup.md @@ -5,9 +5,10 @@ description: "Project overview: The Ultralight maven server" date: 2020-09-17 written: 2020-09-05 tags: project github maven -excerpt: >- - In this post, I explain the process of building my own personal - maven server, and show how simple maven servers really are. +extra: + excerpt: >- + In this post, I explain the process of building my own personal + maven server, and show how simple maven servers really are. redirect_from: - /post/2jf002s4/ - /2jf002s4/ diff --git a/content/blog/2020-09-24-Gopro-Webcam.md b/content/blog/2020-09-24-Gopro-Webcam.md index dafee08..880c17c 100644 --- a/content/blog/2020-09-24-Gopro-Webcam.md +++ b/content/blog/2020-09-24-Gopro-Webcam.md @@ -5,10 +5,11 @@ description: "Turning some spare filmmaking equipment into a high-quality video date: 2020-09-24 written: 2020-09-13 tags: video cameras workflow -excerpt: >- - As my courses have moved mostly online, I have looked to improve - my live video setup. This post covers how I stream sharp HD video - at home, and some interesting quirks of the setup. +extra: + excerpt: >- + As my courses have moved mostly online, I have looked to improve + my live video setup. This post covers how I stream sharp HD video + at home, and some interesting quirks of the setup. redirect_from: - /post/XcaM04o4/ - /XcaM04o4/ diff --git a/content/blog/2020-10-01-Reading-a-Bitmap.md b/content/blog/2020-10-01-Reading-a-Bitmap.md index 98f5e1b..651718d 100644 --- a/content/blog/2020-10-01-Reading-a-Bitmap.md +++ b/content/blog/2020-10-01-Reading-a-Bitmap.md @@ -5,9 +5,10 @@ description: "A project writeup" date: 2020-10-01 written: 2020-09-15 tags: project c images -excerpt: >- - Inspired from one of my friend's projects, I built a small - tool for displaying bitmap file info from the command line. +extra: + excerpt: >- + Inspired from one of my friend's projects, I built a small + tool for displaying bitmap file info from the command line. redirect_from: - /post/XcaMdj2m/ - /XcaMdj2m/ diff --git a/content/blog/2020-10-15-Mounting-Google-Drives.md b/content/blog/2020-10-15-Mounting-Google-Drives.md index 2cad4b0..d1842d0 100644 --- a/content/blog/2020-10-15-Mounting-Google-Drives.md +++ b/content/blog/2020-10-15-Mounting-Google-Drives.md @@ -5,10 +5,11 @@ description: "Easy-to-use Google Drive integration for Linux using rclone" date: 2020-10-15 written: 2020-09-22 tags: linux workflow google -excerpt: >- - I can never get the Google Drive webapp to load quickly when I need it - to. My solution: use some command-line magic to mount my drives directly - to my laptop's filesystem. +extra: + excerpt: >- + I can never get the Google Drive webapp to load quickly when I need it + to. My solution: use some command-line magic to mount my drives directly + to my laptop's filesystem. redirect_from: - /post/XcaM0k24/ - /XcaM0k24/ diff --git a/content/blog/2020-10-24-CorePack-Development.md b/content/blog/2020-10-24-CorePack-Development.md index 5007187..486ba66 100644 --- a/content/blog/2020-10-24-CorePack-Development.md +++ b/content/blog/2020-10-24-CorePack-Development.md @@ -5,8 +5,9 @@ description: "An overview of how I automated the build process for CorePack" date: 2020-10-24 written: 2020-09-27 tags: bazel workflow git minecraft -excerpt: >- - I decided to modernize my system for producing builds of my personal Minecraft modpack using the Bazel buildsystem. +extra: + excerpt: >- + I decided to modernize my system for producing builds of my personal Minecraft modpack using the Bazel buildsystem. redirect_from: - /post/XlA00k24/ - /XlA00k24/ diff --git a/content/blog/2020-11-21-Minecraft-IRC.md b/content/blog/2020-11-21-Minecraft-IRC.md index 72d8f47..b871bcb 100644 --- a/content/blog/2020-11-21-Minecraft-IRC.md +++ b/content/blog/2020-11-21-Minecraft-IRC.md @@ -5,8 +5,9 @@ description: "For server administration, or just chatting with friends" date: 2020-11-21 written: 2020-10-25 tags: minecraft project irc -excerpt: >- - This post outlines the process of writing a custom IRC server that can bridge between your favorite IRC client, and any Minecraft server +extra: + excerpt: >- + This post outlines the process of writing a custom IRC server that can bridge between your favorite IRC client, and any Minecraft server redirect_from: - /post/lls5jkd4/ - /lls5jkd4/ diff --git a/content/blog/2020-11-6-Vortex-Core.md b/content/blog/2020-11-6-Vortex-Core.md index db1171e..87e7125 100644 --- a/content/blog/2020-11-6-Vortex-Core.md +++ b/content/blog/2020-11-6-Vortex-Core.md @@ -5,8 +5,9 @@ description: "Just the right amount of obscure" date: 2020-11-06 written: 2020-09-28 tags: keyboards workflow -excerpt: >- - I recently purchased my first mechanical keyboard, and decided to go "all in" with a 40% layout. +extra: + excerpt: >- + I recently purchased my first mechanical keyboard, and decided to go "all in" with a 40% layout. redirect_from: - /post/XlPl0k24/ - /XlPl0k24/ diff --git a/content/blog/2020-12-19-Vanilla-plus-mods.md b/content/blog/2020-12-19-Vanilla-plus-mods.md index 795d5bb..16bcccc 100644 --- a/content/blog/2020-12-19-Vanilla-plus-mods.md +++ b/content/blog/2020-12-19-Vanilla-plus-mods.md @@ -5,8 +5,9 @@ description: "Pushing the boundaries of a vanilla game, while being able to play date: 2020-12-19 written: 2020-12-04 tags: project python short -excerpt: >- - Over the past 10 years, I have been building the perfect Minecraft experience for myself. This post shares the collection of mods I run, and why I use them. +extra: + excerpt: >- + Over the past 10 years, I have been building the perfect Minecraft experience for myself. This post shares the collection of mods I run, and why I use them. redirect_from: - /post/gas49g43/ - /gas49g43/ diff --git a/content/blog/2020-12-31-Year-wrapup.md b/content/blog/2020-12-31-Year-wrapup.md index 82f7f3e..2555981 100644 --- a/content/blog/2020-12-31-Year-wrapup.md +++ b/content/blog/2020-12-31-Year-wrapup.md @@ -5,8 +5,9 @@ description: "I wrote a lot of code this year. This post looks back on it all" date: 2020-12-31 written: 2020-12-09 tags: writeup review projects -excerpt: >- - 2020 has been my most productive year so far in terms of software development. This post looks back at the year +extra: + excerpt: >- + 2020 has been my most productive year so far in terms of software development. This post looks back at the year redirect_from: - /post/g494l5j3/ - /g494l5j3/ diff --git a/content/blog/2020-12-4-GalliumOS.md b/content/blog/2020-12-4-GalliumOS.md index 428850b..383f0b1 100644 --- a/content/blog/2020-12-4-GalliumOS.md +++ b/content/blog/2020-12-4-GalliumOS.md @@ -5,8 +5,9 @@ description: "The process of installing GalliumOS on an ACER R11" date: 2020-12-04 written: 2020-10-31 tags: project laptop hardware -excerpt: >- - Performing some upgrades to my old laptop. This post outlines the setup process for installing GalliumOS +extra: + excerpt: >- + Performing some upgrades to my old laptop. This post outlines the setup process for installing GalliumOS redirect_from: - /post/gk3jEkd4/ - /gk3jEkd4/ diff --git a/content/blog/2021-01-16-Printer-Tunneling.md b/content/blog/2021-01-16-Printer-Tunneling.md index 2d4d6b0..96de9ff 100644 --- a/content/blog/2021-01-16-Printer-Tunneling.md +++ b/content/blog/2021-01-16-Printer-Tunneling.md @@ -5,8 +5,9 @@ description: "Using socat to port-forward between network interfaces" date: 2021-01-16 written: 2020-12-19 tags: projects tutorial snippet -excerpt: >- - I use a self-hosted VPN to access all my devices at all times, and to deal with my school's aggressive firewall. This post explains the process I use for exposing my home printer to the VPN. +extra: + excerpt: >- + I use a self-hosted VPN to access all my devices at all times, and to deal with my school's aggressive firewall. This post explains the process I use for exposing my home printer to the VPN. redirect_from: - /post/g494ld99/ - /g494ld99/ diff --git a/content/blog/2021-02-25-KBFS-Maven.md b/content/blog/2021-02-25-KBFS-Maven.md index c1405b0..e1486a0 100644 --- a/content/blog/2021-02-25-KBFS-Maven.md +++ b/content/blog/2021-02-25-KBFS-Maven.md @@ -5,8 +5,9 @@ description: "A free and secure way to host personal Java libraries and applicat date: 2021-02-25 written: 2021-02-22 tags: writeup maven projects -excerpt: >- - In my never-ending hunt for a suitable solution for hosting Java libraries, I take a stop to try out Keybase Filesystem (KBFS) +extra: + excerpt: >- + In my never-ending hunt for a suitable solution for hosting Java libraries, I take a stop to try out Keybase Filesystem (KBFS) redirect_from: - /post/g4lk45j3/ - /g4lk45j3/ diff --git a/content/blog/2021-03-14-QMK-Vortex-Core.md b/content/blog/2021-03-14-QMK-Vortex-Core.md index 2aefe71..6ec3977 100644 --- a/content/blog/2021-03-14-QMK-Vortex-Core.md +++ b/content/blog/2021-03-14-QMK-Vortex-Core.md @@ -5,8 +5,9 @@ description: "Open-source firmware on a closed-source keyboard" date: 2021-03-14 written: 2021-03-14 tags: project keyboards qmk firmware -excerpt: >- - After having some issues with the factory firmware on my 40% keyboard, I decided to replace it with the widely used QMK firmware instead. +extra: + excerpt: >- + After having some issues with the factory firmware on my 40% keyboard, I decided to replace it with the widely used QMK firmware instead. redirect_from: - /post/gkedkd93/ - /gkedkd93/ diff --git a/content/blog/2021-04-20-Direwolf-APRS.md b/content/blog/2021-04-20-Direwolf-APRS.md index 0cbc6cf..75d642e 100644 --- a/content/blog/2021-04-20-Direwolf-APRS.md +++ b/content/blog/2021-04-20-Direwolf-APRS.md @@ -5,8 +5,9 @@ description: "How I set up my feature-packed APRS digipeater for under $100" date: 2021-04-20 written: 2021-04-20 tags: project raspberrypi hamradio aprs -excerpt: >- - Using an extra radio and some spare parts, I set up an APRS/APRS-IS/APRStt digipeater. This post covers some of the details. +extra: + excerpt: >- + Using an extra radio and some spare parts, I set up an APRS/APRS-IS/APRStt digipeater. This post covers some of the details. redirect_from: - /post/eb0klDd9/ - /eb0klDd9/ diff --git a/content/blog/2021-07-06-Windows-SSH.md b/content/blog/2021-07-06-Windows-SSH.md index 4348531..c8273e5 100644 --- a/content/blog/2021-07-06-Windows-SSH.md +++ b/content/blog/2021-07-06-Windows-SSH.md @@ -5,8 +5,8 @@ description: "A tutorial for future me" date: 2021-07-07 written: 2021-07-07 tags: reference -excerpt: >- - I commonly need to configure SSH servers on remote Windows 10 boxes. This post covers the whole process. +extra: + excerpt: I commonly need to configure SSH servers on remote Windows 10 boxes. This post covers the whole process. aliases: [/blog/2021/07/07/windows-ssh] --- diff --git a/content/blog/2021-09-28-frc-tech-reference.md b/content/blog/2021-09-28-frc-tech-reference.md index e5eda0e..e704b9f 100644 --- a/content/blog/2021-09-28-frc-tech-reference.md +++ b/content/blog/2021-09-28-frc-tech-reference.md @@ -5,6 +5,8 @@ description: "Reference material for my friends" date: 2021-09-28 written: 2021-09-28 tags: reference +extra: + excerpt: This document is aimed at a small handful of people, but published publicly as reference material for anyone that needs it. All contents are highly specific to the FRC robotics electrical and programming environments. --- This document is aimed at a small handful of people, but published publicly as reference material for anyone that needs it. All contents are highly specific to the FRC robotics electrical and programming environments. diff --git a/content/blog/2021-11-14-amprnet-bgp.md b/content/blog/2021-11-14-amprnet-bgp.md index 4482410..b7ad27f 100644 --- a/content/blog/2021-11-14-amprnet-bgp.md +++ b/content/blog/2021-11-14-amprnet-bgp.md @@ -4,6 +4,8 @@ title: "Adventures in BGP: routing my own public IPv4 address space" description: "A college student, playing with the \"big boys\"" date: 2021-11-14 tags: reference +extra: + excerpt: This post covers the process I went through to publicly route my own /24 block of IP addresses with low-cost hardware. --- Your first, and possibly only question is likely: *"what?"*, and I forgive you for asking such a thing. As probably any reader of my posts knows very well, IPv4 address blocks are practically impossible to get, and more than impossible to get for personal use. To quickly clear things up, my address block is *not* for personal use, but in comparison to the majority of the internet's existing address block owners, I am basically a single person holding on to a `/24` subnet for dear life while the giants of large internet corporations are eating up everything around me. diff --git a/content/blog/2021-12-03-quaternions.md b/content/blog/2021-12-03-quaternions.md index 5a33830..a089ca9 100644 --- a/content/blog/2021-12-03-quaternions.md +++ b/content/blog/2021-12-03-quaternions.md @@ -7,6 +7,7 @@ tags: reference draft: false extra: uses_katex: true + excerpt: This post is an overview of Quaternions for Rust programmers, and anyone willing to learn. --- The running joke in the graphics programming world is that nobody understands quaternions. These big scary math-filled types are always someone else's problem. While quaternions are may be scary, they serve an important purpose in the world of computing as they diff --git a/content/blog/2022-01-06-unfinished-projects.md b/content/blog/2022-01-06-unfinished-projects.md index b1d958a..bb8bef5 100644 --- a/content/blog/2022-01-06-unfinished-projects.md +++ b/content/blog/2022-01-06-unfinished-projects.md @@ -7,10 +7,12 @@ tags: random draft: false extra: uses_katex: false + excerpt: My GitHub profile is a bit like an iceberg. At the time of writing, I have made nearly 8 and a half thousand commits to nearly a thousand repositories. This post covers the hidden failed projects. --- My [GitHub profile](https://github.com/Ewpratten) is a bit like an iceberg. At the time of writing, I have made nearly 8 and a half thousand commits to nearly a thousand repositories. Since July 2018, I have made an effort to go no more than 3 consecutive days without writing code, and I have only broken that streak 6 times (each of those being a 4-day break). + ![My 2021 commit history](/images/posts/unfinished-projects/commit_history.png) I remember making myself a GitHub account back in 8th grade (August 16, 2016 to be exact). Ever since then, I have published *every single* personal project I have made to GitHub. diff --git a/content/blog/2022-01-19-monocular-blender.md b/content/blog/2022-01-19-monocular-blender.md index 22f1786..318ac3e 100644 --- a/content/blog/2022-01-19-monocular-blender.md +++ b/content/blog/2022-01-19-monocular-blender.md @@ -7,6 +7,7 @@ tags: random 3d-pipeline draft: false extra: uses_katex: false + excerpt: This post covers the process I went through to write a Neural-Network-assisted Blender plugin for converting monocular images into 3D textured meshes. --- A while back, I encountered an interesting trend going on over on TikTok. People were turning their photos into videos with 3D camera movements. diff --git a/content/blog/_index.md b/content/blog/_index.md index 7f2d68f..65f8a62 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -1,6 +1,7 @@ --- title: Blog sort_by: date +paginate_by: 10 extra: inject_blog_posts: true --- @@ -9,3 +10,5 @@ extra: I write about software, hardware, life, and school. ([RSS](/rss.xml)) +--- +
\ No newline at end of file diff --git a/sass/styles/layout.scss b/sass/styles/layout.scss index bc318c9..0686d4a 100644 --- a/sass/styles/layout.scss +++ b/sass/styles/layout.scss @@ -163,3 +163,33 @@ ul { margin: auto !important; width: fit-content !important; } + +.blog-post-listing-item { + color: black !important; + + h4, + h1, + p { + padding: 0; + margin: 0; + } + + h1{ + margin-bottom:10px; + } + + &:hover { + color:rgb(85, 85, 85) !important; + } +} + +.pn-previous, .pn-next { + border:1px solid black; + border-radius:5px; + padding:5px; + color:black !important; + &:hover{ + color:rgb(85, 85, 85) !important; + border: 1px solid rgb(85, 85, 85) !important; + } +} \ No newline at end of file diff --git a/templates/section.html b/templates/section.html index a97c886..2bf16ec 100644 --- a/templates/section.html +++ b/templates/section.html @@ -51,15 +51,36 @@ {# Blog posts #} {% if section.extra.inject_blog_posts %} - + + +
+ {% if paginator.previous %} + PREV + {% endif %} + {% if paginator.previous and paginator.next %} + + {% endif %} + {% if paginator.next %} + NEXT + {% endif %} +
+ {% endif %} {# RFCs #}