Full page content, fixes, cleaner settings
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
|
||||
struct ContentBox: HtmlProducer {
|
||||
|
||||
let title: String
|
||||
|
||||
let text: String
|
||||
|
||||
func populate(_ result: inout String) {
|
||||
result += "<div class='box'>"
|
||||
result += "<span class='title'>\(title)</span>"
|
||||
result += "<p>\(text)</p>"
|
||||
result += "</div>"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user