From 94de493b378fd66e1ded525307cbcd3677337b61 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 14 Dec 2019 18:50:25 +0300 Subject: [PATCH] tutorial: minor fixes + move code and images to a separate dir --- tutorials/building-a-simple-web-blog-with-vweb.md | 3 ++- tutorials/{ => code/blog}/article.v | 0 tutorials/{ => code/blog}/blog.v | 0 tutorials/{ => img}/articles1.png | Bin tutorials/{ => img}/hello.png | Bin tutorials/{ => img}/hello_html.png | Bin tutorials/{ => img}/time.png | Bin 7 files changed, 2 insertions(+), 1 deletion(-) rename tutorials/{ => code/blog}/article.v (100%) rename tutorials/{ => code/blog}/blog.v (100%) rename tutorials/{ => img}/articles1.png (100%) rename tutorials/{ => img}/hello.png (100%) rename tutorials/{ => img}/hello_html.png (100%) rename tutorials/{ => img}/time.png (100%) diff --git a/tutorials/building-a-simple-web-blog-with-vweb.md b/tutorials/building-a-simple-web-blog-with-vweb.md index 784c08387a..46aa478123 100644 --- a/tutorials/building-a-simple-web-blog-with-vweb.md +++ b/tutorials/building-a-simple-web-blog-with-vweb.md @@ -17,7 +17,7 @@ is enough. *Please note that V and Vweb are at a very early stage and are changing rapidly.* -The code is available here. +The code is available here. ### Installing V @@ -58,6 +58,7 @@ import ( ) struct App { +mut: vweb vweb.Context } diff --git a/tutorials/article.v b/tutorials/code/blog/article.v similarity index 100% rename from tutorials/article.v rename to tutorials/code/blog/article.v diff --git a/tutorials/blog.v b/tutorials/code/blog/blog.v similarity index 100% rename from tutorials/blog.v rename to tutorials/code/blog/blog.v diff --git a/tutorials/articles1.png b/tutorials/img/articles1.png similarity index 100% rename from tutorials/articles1.png rename to tutorials/img/articles1.png diff --git a/tutorials/hello.png b/tutorials/img/hello.png similarity index 100% rename from tutorials/hello.png rename to tutorials/img/hello.png diff --git a/tutorials/hello_html.png b/tutorials/img/hello_html.png similarity index 100% rename from tutorials/hello_html.png rename to tutorials/img/hello_html.png diff --git a/tutorials/time.png b/tutorials/img/time.png similarity index 100% rename from tutorials/time.png rename to tutorials/img/time.png