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:
+5
-1
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user