fix head tags
This commit is contained in:
parent
591b6e56df
commit
b559885ed4
@ -62,16 +62,16 @@ head :
|
||||
head app =
|
||||
Seo.summary
|
||||
{ canonicalUrlOverride = Nothing
|
||||
, siteName = "elm-pages"
|
||||
, siteName = "nganhkhoa blogs"
|
||||
, image =
|
||||
{ url = Pages.Url.external "TODO"
|
||||
, alt = "elm-pages logo"
|
||||
{ url = Pages.Url.external ""
|
||||
, alt = "nganhkhoa blogs"
|
||||
, dimensions = Nothing
|
||||
, mimeType = Nothing
|
||||
}
|
||||
, description = "TODO"
|
||||
, description = "blogs"
|
||||
, locale = Nothing
|
||||
, title = "TODO title" -- metadata.title -- TODO
|
||||
, title = "nganhkhoa blogs"
|
||||
}
|
||||
|> Seo.website
|
||||
|
||||
@ -81,7 +81,7 @@ view :
|
||||
-> Shared.Model
|
||||
-> View msg
|
||||
view app shared =
|
||||
{ title = "title"
|
||||
{ title = "nganhkhoa blogs"
|
||||
, body = app.data
|
||||
|> List.map renderBlogItem
|
||||
}
|
||||
|
@ -112,16 +112,16 @@ head :
|
||||
head app =
|
||||
Seo.summary
|
||||
{ canonicalUrlOverride = Nothing
|
||||
, siteName = "elm-pages"
|
||||
, siteName = "nganhkhoa blogs"
|
||||
, image =
|
||||
{ url = Pages.Url.external "TODO"
|
||||
, alt = "elm-pages logo"
|
||||
{ url = Pages.Url.external ""
|
||||
, alt = app.data.metadata.title
|
||||
, dimensions = Nothing
|
||||
, mimeType = Nothing
|
||||
}
|
||||
, description = "TODO"
|
||||
, description = ""
|
||||
, locale = Nothing
|
||||
, title = "TODO title" -- metadata.title -- TODO
|
||||
, title = app.data.metadata.title
|
||||
}
|
||||
|> Seo.website
|
||||
|
||||
@ -131,7 +131,7 @@ view :
|
||||
-> Shared.Model
|
||||
-> View (PagesMsg Msg)
|
||||
view app shared =
|
||||
{ title = "title"
|
||||
{ title = app.data.metadata.title
|
||||
, body =
|
||||
(app.data.body
|
||||
|> Markdown.Renderer.render TailwindMarkdownRenderer.renderer
|
||||
|
@ -82,7 +82,7 @@ view :
|
||||
-> Shared.Model
|
||||
-> View (PagesMsg Msg)
|
||||
view app shared =
|
||||
{ title = "Anh Khoa Nguyen"
|
||||
{ title = "nganhkhoa"
|
||||
, body =
|
||||
[ img [Attributes.src "/nganhkhoa.png"] []
|
||||
, withSpacing (p [])
|
||||
|
@ -63,16 +63,16 @@ head :
|
||||
head app =
|
||||
Seo.summary
|
||||
{ canonicalUrlOverride = Nothing
|
||||
, siteName = "elm-pages"
|
||||
, siteName = "nganhkhoa osx series"
|
||||
, image =
|
||||
{ url = Pages.Url.external "TODO"
|
||||
, alt = "elm-pages logo"
|
||||
{ url = Pages.Url.external ""
|
||||
, alt = "nganhkhoa osx series"
|
||||
, dimensions = Nothing
|
||||
, mimeType = Nothing
|
||||
}
|
||||
, description = "TODO"
|
||||
, description = "An OSX series"
|
||||
, locale = Nothing
|
||||
, title = "TODO title" -- metadata.title -- TODO
|
||||
, title = "OSX"
|
||||
}
|
||||
|> Seo.website
|
||||
|
||||
@ -82,7 +82,7 @@ view :
|
||||
-> Shared.Model
|
||||
-> View msg
|
||||
view app shared =
|
||||
{ title = "title"
|
||||
{ title = "nganhkhoa osx series"
|
||||
, body =
|
||||
[ div []
|
||||
[ text "For years, I learned how the Apple binary format works."
|
||||
|
@ -112,16 +112,16 @@ head :
|
||||
head app =
|
||||
Seo.summary
|
||||
{ canonicalUrlOverride = Nothing
|
||||
, siteName = "elm-pages"
|
||||
, siteName = "nganhkhoa osx series"
|
||||
, image =
|
||||
{ url = Pages.Url.external "TODO"
|
||||
, alt = "elm-pages logo"
|
||||
{ url = Pages.Url.external ""
|
||||
, alt = app.data.metadata.title
|
||||
, dimensions = Nothing
|
||||
, mimeType = Nothing
|
||||
}
|
||||
, description = "TODO"
|
||||
, description = ""
|
||||
, locale = Nothing
|
||||
, title = "TODO title" -- metadata.title -- TODO
|
||||
, title = app.data.metadata.title
|
||||
}
|
||||
|> Seo.website
|
||||
|
||||
@ -131,7 +131,7 @@ view :
|
||||
-> Shared.Model
|
||||
-> View (PagesMsg Msg)
|
||||
view app shared =
|
||||
{ title = "title"
|
||||
{ title = app.data.metadata.title
|
||||
, body =
|
||||
(app.data.body
|
||||
|> Markdown.Renderer.render TailwindMarkdownRenderer.renderer
|
||||
|
@ -3,8 +3,9 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"postinstall": "elm-tooling install",
|
||||
"start": "elm-pages dev",
|
||||
"build": "elm-pages build"
|
||||
"start": "elm-pages dev --port 8080",
|
||||
"build": "elm-pages build",
|
||||
"publish": "npm run build && scp -r dist/* luibo@nganhkhoa.com:~/website/"
|
||||
},
|
||||
"devDependencies": {
|
||||
"elm-codegen": "^0.3.0",
|
||||
@ -17,4 +18,4 @@
|
||||
"dependencies": {
|
||||
"@netlify/functions": "^1.4.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user