Cleanup: Remove URL from category_list_header component.
This commit is contained in:
parent
3be54da5c3
commit
b015cc8fa4
@ -23,7 +23,7 @@ include mixins/components
|
||||
|
||||
| {% block body %}
|
||||
.container.py-4
|
||||
+category_list_header('{{ page_title }}', '{{ page_description }}', '{{ request.url }}')
|
||||
+category_list_header('{{ page_title }}', '{{ page_description }}')
|
||||
|
||||
.row.films-list
|
||||
| {% for project in projects %}
|
||||
|
@ -17,7 +17,7 @@ include mixins/components
|
||||
|
||||
| {% block body %}
|
||||
.container.py-4
|
||||
+category_list_header('{{ page_title }}', '{{ page_description }}', '{{ request.url }}')
|
||||
+category_list_header('{{ page_title }}', '{{ page_description }}')
|
||||
|
||||
+category_list_item(
|
||||
'COURSES',
|
||||
|
@ -1,10 +1,11 @@
|
||||
//- Category listing header (Learn, Libraries, etc).
|
||||
mixin category_list_header(title, text, url)
|
||||
//- Category listing (Learn, Libraries, etc).
|
||||
//- Header
|
||||
mixin category_list_header(title, text)
|
||||
.row.pt-2
|
||||
.col-md-9
|
||||
a.d-block.py-2.text-secondary(href=url, title=title)
|
||||
h1.text-uppercase.font-weight-bold
|
||||
=title
|
||||
h1.py-2.text-uppercase.font-weight-bold
|
||||
=title
|
||||
|
||||
.lead
|
||||
=text
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user