public override string Render(RenderedFormats renderedFormats, string morph = null) { if (morph == Global.MORPH_TILE) { return(Context.GetLogic <VariableBinder>().Bind( Context.GetLogic <Storage>().LoadTemplate("postTile.html"), this ).ToString()); } return(base.Render(renderedFormats, morph)); }
public virtual string Render(RenderedFormats renderedFormats, string morph = null) => Context.GetLogic <VariableBinder>() .Bind( Context.GetLogic <Storage>().LoadTemplate(TemplateName), this ).ToString();