Skip to content

Add support for page-specific look#2998

Open
goosys wants to merge 1 commit intothoughtbot:mainfrom
goosys:add-page-specifc-look
Open

Add support for page-specific look#2998
goosys wants to merge 1 commit intothoughtbot:mainfrom
goosys:add-page-specifc-look

Conversation

@goosys
Copy link
Copy Markdown
Contributor

@goosys goosys commented Mar 8, 2026

I’ve added support for changing the look per page.

For example, like in the sample app, you can use a time_ago_in_words look only on the index page.

ATTRIBUTE_TYPES = {
  created_at: Field::DateTime.with_options(look: {index: :relative})
}
index show
relative look default look
image image

What do you think?

@goosys goosys marked this pull request as ready for review March 8, 2026 09:50
@goosys goosys changed the title Add support for page-specific look configuration Add support for page-specific look Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant