main #3

Merged
array-in-a-matrix merged 17 commits from main into hpx-spa 2024-01-10 19:49:12 -05:00
Showing only changes of commit cf861512f1 - Show all commits

View file

@ -3,8 +3,10 @@ import happyx, os
component Read: component Read:
title: string title: string
if !fileExists("/public/Blog/{self.title}.html"): # TODO: fix
route "/404" # if !fileExists("/public/Blog/{self.title}.html"):
# route "/404"
# else:
`template`: `template`:
tIframe(src="/public/Blog/{self.title}.html", class="flex items-center flex-1 m-14 max-md:m-7 max-sm:m-0 rounded-3xl max-sm:rounded-none") tIframe(src="/public/Blog/{self.title}.html", class="flex items-center flex-1 m-14 max-md:m-7 max-sm:m-0 rounded-3xl max-sm:rounded-none")