Browse Source

add (publish) month and year to archive-entry class (archive.lisp).

This is mostly for the Meilisearch database. This addition will mean it's stored
in this site's database, though.
stable
Craig Oates 1 year ago
parent
commit
37ec669980
  1. 14
      src/models/archive.lisp

14
src/models/archive.lisp

@ -23,6 +23,20 @@
:initform :null
:accessor search-id-of)
(month
:documentation "The month the artwork was published."
:col-type (or :text :null)
:initarg :month
:initform :null
:accessor month-of)
(year
:documentation "The year the artwork was published."
:col-type (or :integer :null)
:initarg :year
:initform :null
:accessor year-of)
(slug
:documentation "The slug, used as part of the URL, to access the entry."
:col-type (or :text :null)

Loading…
Cancel
Save