lambda-blog.templates.entries

embedded-entry

(embedded-entry {:keys [path-to-root], :as ent} {:keys [author contents path preview tags timestamp title], :as entry})

Creates an HTML article representing a summarized entry that will be embedded within another entity.

entries-by-tag

(entries-by-tag {:keys [archives entries id path-to-root], :as ent})

Creates an HTML page containing a list of embedded-entry’ies of entries tagged with a tag identified by id and a link to the archives.

entry

(entry {:keys [author contents path-to-root timestamp title], :as ent})

Creates an HTML atricle representing an entry.

entry-page

(entry-page ent)

Creates an HTML page containing an entry formatted by entry.

recent-entries

(recent-entries n {:keys [archives entries path-to-root], :as ent})

Creates an HTML page containing a list of embedded-entry’ies of n most recent entries and a link to the archives.