aboutsummaryrefslogtreecommitdiffstats
path: root/src/content
diff options
context:
space:
mode:
authorPinapelz <donaldshan1@outlook.com>2023-07-25 16:38:39 -0700
committerPinapelz <donaldshan1@outlook.com>2023-07-25 16:38:39 -0700
commit3158939f55a1bbe4843b0908ca18b5901d8a4ae4 (patch)
tree1ac7df8a85cf8b791f96567562c6bcf1adfcb321 /src/content
parentc1ddec17aec74e2912f231600e64bfb0656a4984 (diff)
patchwork-4 edits
- Added section about using Flask
Diffstat (limited to 'src/content')
-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