Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add view mode for 'Card' #57

Open
markconroy opened this issue Apr 9, 2021 · 2 comments
Open

Add view mode for 'Card' #57

markconroy opened this issue Apr 9, 2021 · 2 comments
Assignees

Comments

@markconroy
Copy link
Member

Lots of websites use a "Card" view mode. Our current profile only allows teaser as a view mode, which is fine for some listings like a search result or service listing, but often we might like a slightly different layout, such as a featured news like what is on the Brighton-Hove homepage.

Screenshot 2021-04-09 at 15 11 57

Once we have this as a view mode, I'd suggest we place a template called node--card.html.twig in the localgov_skeleton theme so all themes can use the HTML from it and not invent their own per theme/site.

@msayoung
Copy link
Member

msayoung commented Oct 5, 2022

I think this is a great idea @markconroy

@markconroy
Copy link
Member Author

@msayoung assigning you and me to this. Let's see how gets to it first.

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

No branches or pull requests

2 participants