basic website complete
- ported posts from Efiens - add CV - add MachO obfuscation whitepaper
This commit is contained in:
@ -86,7 +86,7 @@ frontmatterDecoder : Decoder ArticleMetadata
|
||||
frontmatterDecoder =
|
||||
Decode.map4 ArticleMetadata
|
||||
(Decode.field "title" Decode.string)
|
||||
(Decode.field "description" Decode.string)
|
||||
(Decode.field "summary" Decode.string)
|
||||
(Decode.field "published"
|
||||
(Decode.string
|
||||
|> Decode.andThen
|
||||
@ -136,10 +136,5 @@ view app shared =
|
||||
(app.data.body
|
||||
|> Markdown.Renderer.render TailwindMarkdownRenderer.renderer
|
||||
|> Result.withDefault []
|
||||
|> processReturn
|
||||
)
|
||||
}
|
||||
|
||||
processReturn : List (Html Msg) -> List (Html (PagesMsg Msg))
|
||||
processReturn =
|
||||
List.map (Html.Styled.map (PagesMsg.fromMsg))
|
||||
|
Reference in New Issue
Block a user