From 56bb4892ee342a5396ddad9e369b6cbf79c59ace Mon Sep 17 00:00:00 2001 From: xushiwei Date: Sun, 10 Mar 2024 02:27:51 +0800 Subject: [PATCH] yap templ --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b9d8f1b..62f7bda 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ Execute `gop run .` and visit http://localhost:8080/p/123, you will get: #### YAP Template -In most cases, we will not use the `html` directive to return a html page, but use the `yap` template engine. See [get_p_#id.yap](demo/classfile2_blog/get_p_%23id.yap): +In most cases, we don't use the `html` directive to generate html pages, but use the `yap` template engine. See [get_p_#id.yap](demo/classfile2_blog/get_p_%23id.yap): ```coffee yap "article", { @@ -88,7 +88,7 @@ yap "article", { } ``` -It means we need to find a template called `article` to render. See [yap/article_yap.html](demo/classfile2_blog/yap/article_yap.html): +It means finding a template called `article` to render. See [yap/article_yap.html](demo/classfile2_blog/yap/article_yap.html): ```html