From af4e113f6c4ec78c2a5757f29d35ad858be97206 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+tobealive@users.noreply.github.com> Date: Thu, 22 Jun 2023 10:11:02 +0200 Subject: [PATCH] vweb: use `` instead of `
` in the html templates (#18516) --- examples/vweb/server_sent_events/index.html | 4 ++-- examples/vweb/vweb_assets/index.html | 4 ++-- .../building_a_simple_web_blog_with_vweb/code/blog/index.html | 4 ++-- .../building_a_simple_web_blog_with_vweb/code/blog/new.html | 4 ++-- vlib/vweb/README.md | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/vweb/server_sent_events/index.html b/examples/vweb/server_sent_events/index.html index 7e500c9295..036922f744 100644 --- a/examples/vweb/server_sent_events/index.html +++ b/examples/vweb/server_sent_events/index.html @@ -1,9 +1,9 @@ -
+ @title @css 'assets/site.css' -
+

@title

diff --git a/examples/vweb/vweb_assets/index.html b/examples/vweb/vweb_assets/index.html index b3d81320de..7bbe89a0d6 100644 --- a/examples/vweb/vweb_assets/index.html +++ b/examples/vweb/vweb_assets/index.html @@ -1,9 +1,9 @@ -
+ @title @css 'index.css' -
+

@title

@subtitle

diff --git a/tutorials/building_a_simple_web_blog_with_vweb/code/blog/index.html b/tutorials/building_a_simple_web_blog_with_vweb/code/blog/index.html index 399b2670d3..3518511a48 100644 --- a/tutorials/building_a_simple_web_blog_with_vweb/code/blog/index.html +++ b/tutorials/building_a_simple_web_blog_with_vweb/code/blog/index.html @@ -1,7 +1,7 @@ -
+ V Blog -
+ user id = @app.user_id
@for article in articles diff --git a/tutorials/building_a_simple_web_blog_with_vweb/code/blog/new.html b/tutorials/building_a_simple_web_blog_with_vweb/code/blog/new.html index 04ca000688..237d4a0793 100644 --- a/tutorials/building_a_simple_web_blog_with_vweb/code/blog/new.html +++ b/tutorials/building_a_simple_web_blog_with_vweb/code/blog/new.html @@ -1,7 +1,7 @@ -
+ V Blog -
+

diff --git a/vlib/vweb/README.md b/vlib/vweb/README.md index d2f4bfdf7d..c7a14d4ca1 100644 --- a/vlib/vweb/README.md +++ b/vlib/vweb/README.md @@ -92,10 +92,10 @@ That means that the template automatically has access to that action's entire en ```html -
+ ${page_title} @css 'src/templates/page/home.css' -
+

Hello, Vs.

@for var in list_of_object