25 link(rel:="stylesheet", href:=bootstrapCss), |
25 link(rel:="stylesheet", href:=bootstrapCss), |
26 link(rel:="stylesheet", href:=fontAwesomeCss), |
26 link(rel:="stylesheet", href:=fontAwesomeCss), |
27 link(rel:="stylesheet", href:=siteCss), |
27 link(rel:="stylesheet", href:=siteCss), |
28 tags2.title(st match { |
28 tags2.title(st match { |
29 case ViewArticle(v) => s"${v.title} | ${content.appTitleShort}" |
29 case ViewArticle(v) => s"${v.title} | ${content.appTitleShort}" |
30 case ViewCategory(v) => v.name |
30 case ViewCategory(v) => s"${v.name} | ${content.appTitleShort}" |
31 case ViewTag(v) => v.name |
31 case ViewTag(v) => s"${v.name} | ${content.appTitleShort}" |
32 case Dashboard => content.appTitle |
32 case Dashboard => content.appTitle |
33 case News => "Novinky" |
33 case News => "Novinky" |
34 }) |
34 }) |
35 ), |
35 ), |
36 body(paddingTop:=120, |
36 body(paddingTop:=120, |
37 Navbar(content, st), |
37 Navbar(content, st), |
38 div(role:="main", cls:="container", |
38 div(role:="main", cls:="container", |
39 Categories(content, st), |
39 Categories(content, st), |
40 ArticlesInCategory(content, st), |
40 ArticlesInCategory(content, st), |
41 PrimaryView(content, st) |
41 ArticlesByTag(content, st), |
|
42 PrimaryView(content, st), |
|
43 TagCloud(content, st) |
42 ), |
44 ), |
43 footer(id:="footer", p(raw(" "))), |
45 footer(id:="footer", p(raw(" "))), |
44 script(src:=jquery), |
46 script(src:=jquery), |
45 script(src:=bootstrapJs) |
47 script(src:=bootstrapJs) |
46 ) |
48 ) |