aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/blog/patchwork-posts/patchwork-archive-4.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content/blog/patchwork-posts/patchwork-archive-4.md b/src/content/blog/patchwork-posts/patchwork-archive-4.md
index 07aa2fc..f5408be 100644
--- a/src/content/blog/patchwork-posts/patchwork-archive-4.md
+++ b/src/content/blog/patchwork-posts/patchwork-archive-4.md
@@ -291,6 +291,8 @@ Full script [here](https://gist.github.com/pinapelz/1b02334aa09267717877e0502b4c
The web UI itself is super simple. Everything is good old HTML, CSS, and JS. I figured since there wasn't really any "responsive" design, it would be easier to just write it all in vanilla JS.
+I've opted to use Flask as the web server for this project since it's fairly lightweight and when combined with templates and Jinja2, it's fairly easy to serve up static pages.
+
## Landing Page
The landing page features some basic information I pulled from the Cloudflare R2 API and shows 2 randomly selected featured videos at the top of the page. This is basically done by using a random number generator where today's date is the seed. A fairly simple way to ensure that the same videos are shown for the entire day.
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage