base/src/sqwl/cms/datamodel.scala
changeset 7 50a354e5bda4
parent 4 1a1347e8c5be
child 27 8529ce302f7c
equal deleted inserted replaced
6:ba89bccede7e 7:50a354e5bda4
    21   def tags: Seq[iTag]
    21   def tags: Seq[iTag]
    22   def assets: Path
    22   def assets: Path
    23 }
    23 }
    24 
    24 
    25 trait iContent {
    25 trait iContent {
       
    26   def appTitle: String
       
    27   def appTitleShort: String
       
    28   def icon: (String, Path)
       
    29   def publicAssets: Path
       
    30   def styleSheet: (String, Path)
    26   def articlesByTag(t: iTag): Seq[iArticle]
    31   def articlesByTag(t: iTag): Seq[iArticle]
    27   def articlesByCategory(c: iCategory): Seq[iArticle]
    32   def articlesByCategory(c: iCategory): Seq[iArticle]
    28   def tags: Seq[iTag]
    33   def tags: Seq[iTag]
    29   def categories: Seq[iCategory]
    34   def categories: Seq[iCategory]
    30   def articleByPath(path: String): Option[iArticle]
    35   def articleByPath(path: String): Option[iArticle]