release: v0.3.1 — W8 favicon/head/images + entry_dir fix
Ship site icons, head asset tables, and image assembly; absolutize entry_dir for relative entry scripts so sqlite paths no longer nest. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
1e5e6f4891
commit
416914a346
29 files changed
+1497
-36
No files matched your search
@@ -0,0 +1,36 @@
|
||||
---
|
||||
title: web assets live server
|
||||
description: Live favicon + head icon + images_html on home page.
|
||||
import web:ext/web/web.mq.md
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
`icons_table` =
|
||||
|
||||
|path|rel|type|url|
|
||||
|---|---|---|---|
|
||||
|"web-fixtures/public/favicon.png"|icon|"image/png"|"/favicon.ico"|
|
||||
|
||||
`head_table` =
|
||||
|
||||
|rel|href|type|
|
||||
|---|---|---|
|
||||
|apple-touch-icon|"/static/favicon.png"|"image/png"|
|
||||
|
||||
`images_table` =
|
||||
|
||||
|src|alt|class|loading|
|
||||
|---|---|---|---|
|
||||
|"/static/favicon.svg"|mark|brand|eager|
|
||||
|
||||
*home = > web.page title="Live assets" intro="<p>assets live</p>"*
|
||||
*home = > `home`.head table=`head_table`*
|
||||
*home = > `home`.images table=`images_table`*
|
||||
|
||||
*app = > web.app page=`home` host=127.0.0.1 port=18092*
|
||||
*app = > `app`.static dir="web-fixtures/public" mount="/static"*
|
||||
*app = > `app`.icons table=`icons_table`*
|
||||
|
||||
> print text=marqdo web assets live starting
|
||||
> `app`.listen
|
||||
Reference in new issue
Block a user