This repository has been archived by the owner on Jul 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redoing the responsive setup for the blog view listing, taxonomy term…
… page, featured blog posts paragraph
- Loading branch information
1 parent
6853171
commit 9589035
Showing
8 changed files
with
73 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...emes/openy_rose/templates/views/views-infinite-scroll-pager--listing-blog-posts.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{# | ||
/** | ||
* @file | ||
* The views infinite scroll pager template. | ||
*/ | ||
#} | ||
|
||
{% if items.next %} | ||
<ul{{ attributes }}> | ||
<li class="pager__item load_more_button"> | ||
<a class="button blue" href="{{ items.next.href }}" title="{{ 'Go to next page'|t }}" rel="next">{{ options.button_text }}</a> | ||
</li> | ||
</ul> | ||
{% endif %} |
38 changes: 38 additions & 0 deletions
38
...es/openy_rose/templates/views/views-view-unformatted--listing-blog-posts--block.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{# | ||
/** | ||
* @file | ||
* Default theme implementation to display a view of unformatted rows. | ||
* | ||
* Available variables: | ||
* - title: The title of this group of rows. May be empty. | ||
* - rows: A list of the view's row items. | ||
* - attributes: The row's HTML attributes. | ||
* - content: The row's content. | ||
* - view: The view object. | ||
* - default_row_class: A flag indicating whether default classes should be | ||
* used on rows. | ||
* | ||
* @see template_preprocess_views_view_unformatted() | ||
* | ||
* @ingroup themeable | ||
*/ | ||
#} | ||
{% if title %} | ||
<h3>{{ title }}</h3> | ||
{% endif %} | ||
<div class="blog-more-teaser-results-wrapper clearfix"> | ||
{% for row in rows %} | ||
{% | ||
set row_classes = [ | ||
default_row_class ? 'views-row', | ||
'col-xs-12', | ||
'col-sm-6', | ||
'col-md-4', | ||
'row-eq-height', | ||
] | ||
%} | ||
<div{{ row.attributes.addClass(row_classes) }}> | ||
{{ row.content }} | ||
</div> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters