Cleanup: Remove URL from category_list_header component.

This commit is contained in:
Pablo Vazquez 2019-04-03 15:33:04 +02:00
parent 3be54da5c3
commit b015cc8fa4
3 changed files with 8 additions and 7 deletions

View File

@ -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 %}

View File

@ -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',

View File

@ -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