class

Tremolite::Views::BaseView

Inherits Tremolite::Views::AbstractView / Reference / Object

Constants

Log = ::Log.for(self)

Constructors

new(blog : Tremolite::Blog, url : String = "")
Source

Class methods

process_variable(string : String, key : String, value : String)
Source

Instance methods

close_body_html
Source
close_html_html
Source
content
Source
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

Source
head_close_html
Source
head_open_html
Source
layout_path
Source
load_html(name : String, data : Hash(String, String))

this should be much faster if data has more keys than document has fields

Source
load_html(name : String)
Source
open_body_html
Source
output

Alias to refactor write_output

Source
process_functions(string : String, post : Tremolite::Post | Nil = nil)
Source
process_variable(string : String, key : String, value : String)
Source
title
Source
title_html
Source
to_html

Try to allow one method create result by joining various parts of html

Source
top_html

Load html partials

Source
tracking_html
Source