diff -r 50a354e5bda4 -r 8e0809dad9f7 base/src/sqwl/cms/Layout.scala --- a/base/src/sqwl/cms/Layout.scala Thu Dec 06 13:27:14 2018 +0100 +++ b/base/src/sqwl/cms/Layout.scala Thu Dec 06 13:35:32 2018 +0100 @@ -25,12 +25,11 @@ link(rel:="stylesheet", href:=bootstrapCss), link(rel:="stylesheet", href:=fontAwesomeCss), link(rel:="stylesheet", href:=siteCss), - link(rel:="icon", href:="favicon.ico"), tags2.title(st match { - case ViewArticle(v) => v.title + case ViewArticle(v) => s"${v.title} | ${content.appTitleShort}" case ViewCategory(v) => v.name case ViewTag(v) => v.name - case Dashboard => "SQWL" + case Dashboard => content.appTitle case News => "Novinky" }) ), @@ -39,7 +38,7 @@ div(role:="main", cls:="container", st match { case ViewArticle(article) => div( - a(href:=article.pathSegment, article.title), + a(href:=s"/${http.prefix}/${article.pathSegment}", article.title), raw(article.htmlContent) ) case _ => ""