filter pages by type

This commit is contained in:
2022-12-28 18:33:46 +02:00
parent d375bad897
commit 547d750034
8 changed files with 30 additions and 4 deletions

View File

@ -17,6 +17,7 @@ module Merged
if( precision == "precise")
return date.to_formatted_s(:short) + " " + date.year.to_s
end
return Date.today if date.blank?
if(date.day < 10)
attr = "Beginning"
elsif date.day < 20