-
Notifications
You must be signed in to change notification settings - Fork 1
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
new tile blocks #100
new tile blocks #100
Conversation
sarahframe
commented
Jun 12, 2024
- Article tile block
- Event tile block
- add featured checkbox to standard tile block
help_text="Define the maximum number of tiles to show in this group.", | ||
) | ||
|
||
see_more_link = InternalPageLinkBlock(help_text="'See more' link", required=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this ever be anything other than the landing page? Maybe we could just make this control the text?
.get_children() | ||
.live() | ||
.public() | ||
.order_by("-blogpost") # Sort by date descending |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this not first_published_at
?
@@ -1,5 +1,9 @@ | |||
{% load wagtailcore_tags %} | |||
|
|||
{% if self.featured %} | |||
{# make it look different } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
broken comment format (missing #}
)