Property definitions

nitc $ CardText :: defaultinit
# A card that display custom text data
class CardText
	super StaticCard
	autoinit(content)

	# Custom content from options
	var content: nullable String is writable

	redef var id = "home"
	redef var title = "Home"

	redef fun rendering do
		var content = self.content
		if content == null then return
		addn "<div>"
		addn content
		addn "</div>"
		addn "<hr/>"
	end
end
src/doc/static/static_cards.nit:51,1--70,3