equal
deleted
inserted
replaced
1 package sqwl.cms |
|
2 |
|
3 import java.nio.file.Path |
|
4 |
|
5 trait FsArticle extends iArticle { |
|
6 |
|
7 protected def contentPath: Path |
|
8 protected def encoding: String = "UTF-8" |
|
9 |
|
10 override def htmlContent: String = |
|
11 readFile(contentPath, encoding) getOrElse "" |
|
12 } |
|