class

Hwaro::Models::TaxonomyConfig

Inherits Reference / Object

Constructors

new(name : String)
Source

Instance methods

feed
Source
feed=(feed : Bool)
Source
name
Source
name=(name : String)
Source
paginate_by
Source
paginate_by=(paginate_by : Int32 | Nil)
Source
reverse
Source
reverse=(reverse : Bool)
Source
sitemap
Source
sitemap=(sitemap : Bool)
Source
sort_by

Ordering of pages within a term ("date", "title", "weight") — section semantics: date is newest-first, title/weight ascend, and reverse flips whichever order sort_by produced. Term FEEDS are exempt: RSS consumers assume reverse-chronological, so they stay date-desc regardless.

Source
sort_by=(sort_by : String)

Ordering of pages within a term ("date", "title", "weight") — section semantics: date is newest-first, title/weight ascend, and reverse flips whichever order sort_by produced. Term FEEDS are exempt: RSS consumers assume reverse-chronological, so they stay date-desc regardless.

Source
terms_sort_by

Ordering of the terms list (taxonomy index page + get_taxonomy items): "name" = alphabetical, "count" = page count descending (name-ascending tiebreak).

Source
terms_sort_by=(terms_sort_by : String)

Ordering of the terms list (taxonomy index page + get_taxonomy items): "name" = alphabetical, "count" = page count descending (name-ascending tiebreak).

Source