class Tremolite::Views::BaseView
- Tremolite::Views::BaseView
- Tremolite::Views::AbstractView
- Reference
- Object
Defined in:
tremolite/views/base_view.crConstant Summary
-
Log =
::Log.for(self)
Constructors
Class Method Summary
Instance Method Summary
- #close_body_html
- #close_html_html
- #content
-
#custom_process_function(command : String, string : String, post : Tremolite::Post | Nil) : String | Nil
command - string withing
{% the string %}
string - post string, probably now is not used post - if run within post - #footer_html
- #head_close_html
- #head_open_html
- #layout_path
-
#load_html(name : String, data : Hash(String, String))
this should be much faster if
data
has more keys than document has fields - #load_html(name : String)
-
#nav_html
Some partials are parametrized
- #open_body_html
-
#output
Alias to refactor
write_output
- #process_functions(string : String, post : Tremolite::Post | Nil = nil)
- #process_variable(string : String, key : String, value : String)
- #title
- #title_html
-
#to_html
Try to allow one method create result by joining various parts of html
-
#top_html
Load html partials
- #tracking_html
Instance methods inherited from class Tremolite::Views::AbstractView
add_to_sitemap?
add_to_sitemap?
Constructor Detail
Class Method Detail
Instance Method Detail
def custom_process_function(command : String, string : String, post : Tremolite::Post | Nil) : String | Nil
#
command - string withing {% the string %}
string - post string, probably now is not used
post - if run within post
this should be much faster if data
has more keys than document has fields