example/src/sqwl/cms/Content.scala
changeset 9 7d5ed4c927ce
parent 7 50a354e5bda4
child 10 4b5313097a4d
equal deleted inserted replaced
8:8e0809dad9f7 9:7d5ed4c927ce
    44   val values = findValues
    44   val values = findValues
    45   case object A1 extends Article("Article 1", Some(Cat1), Seq())
    45   case object A1 extends Article("Article 1", Some(Cat1), Seq())
    46 }
    46 }
    47 
    47 
    48 object Content extends iContent {
    48 object Content extends iContent {
    49   def appTitle: String = "Kvalita pracovního života - studie"
    49   def appTitle: String = "Content management system example"
    50   def appTitleShort: String = "KPŽ - studie"
    50   def appTitleShort: String = "CMS"
    51   def icon = ("icon.png", Paths.get("example/content/public/images/icon.png"))
    51   def icon = ("icon.png", Paths.get("example/content/public/images/icon.png"))
    52   def publicAssets: Path = Paths.get("example/content/public")
    52   def publicAssets: Path = Paths.get("example/content/public")
    53   def styleSheet = ("site.css", Paths.get("example/content/public/css/site.css"))
    53   def styleSheet = ("site.css", Paths.get("example/content/public/css/site.css"))
    54   def articlesByTag(t: iTag): Seq[iArticle] = Seq()
    54   def articlesByTag(t: iTag): Seq[iArticle] = Seq()
    55   def articlesByCategory(c: iCategory): Seq[iArticle] = Seq()
    55   def articlesByCategory(c: iCategory): Seq[iArticle] = Seq()