1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-04 07:40:09 +05:30

add html parser and test blog

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2022-09-08 15:26:33 +05:30
parent f19dba4ef8
commit 68cbbdee1f
3 changed files with 90 additions and 12 deletions
+5 -1
View File
@@ -147,7 +147,11 @@ update msg model =
GotBlogMsg blogMsg ->
case model.page of
BlogPage blog ->
toBlog model (Blog.update blogMsg blog)
toBlog
{ model
| title = blog.blog.title ++ " | " ++ model.title
}
(Blog.update blogMsg blog)
_ ->
( model, Cmd.none )