PhoenixKitWeb.BlogHTML (phoenix_kit v1.5.2)
View SourceHTML rendering functions for BlogController.
Summary
Functions
Builds the public URL for a blog listing page.
Builds a post URL based on mode.
Extracts and renders an excerpt from post content. Returns content before <!-- more --> tag, or first paragraph if no tag. Renders markdown and strips HTML tags for plain text display.
Formats a date for display.
Formats a date for URL.
Formats time for URL (HH:MM).
Pluralizes a word based on count.
Functions
Builds the public URL for a blog listing page.
Builds a post URL based on mode.
Extracts and renders an excerpt from post content. Returns content before <!-- more --> tag, or first paragraph if no tag. Renders markdown and strips HTML tags for plain text display.
Formats a date for display.
Formats a date for URL.
Formats time for URL (HH:MM).
Pluralizes a word based on count.