kopia lustrzana https://github.com/wagtail/bakerydemo
Linting
rodzic
26bfd2b37e
commit
8d5eda07a3
|
@ -14,6 +14,7 @@ def get_site_root(context):
|
|||
# attribute 'get_children')
|
||||
return Site.find_for_request(context["request"]).root_page
|
||||
|
||||
|
||||
def has_children(page):
|
||||
# Generically allow index pages to list their children
|
||||
return page.get_children().live().exists()
|
||||
|
@ -44,6 +45,7 @@ def top_menu(context, parent, calling_page=None):
|
|||
"request": context["request"],
|
||||
}
|
||||
|
||||
|
||||
@register.inclusion_tag("tags/breadcrumbs.html", takes_context=True)
|
||||
def breadcrumbs(context):
|
||||
self = context.get("self")
|
||||
|
|
|
@ -408,7 +408,8 @@ blockquote .attribute-name {
|
|||
}
|
||||
|
||||
/* stylelint-disable-next-line selector-class-pattern */
|
||||
.block-paragraph_block a, .block-ingredients_list a {
|
||||
.block-paragraph_block a,
|
||||
.block-ingredients_list a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
@ -1761,7 +1762,7 @@ input[type='radio'] {
|
|||
}
|
||||
|
||||
.picture-card__link:hover .picture-card__image img {
|
||||
transform: scale(1.00);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.picture-card__link:hover .picture-card__title {
|
||||
|
|
Ładowanie…
Reference in New Issue