This file contains hidden or 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
| {# | |
| /** | |
| * @file | |
| * Bootstrap Barrio's theme implementation to display a node. | |
| * | |
| * Available variables: | |
| * - node: The node entity with limited access to object properties and methods. | |
| Only "getter" methods (method names starting with "get", "has", or "is") | |
| and a few common methods such as "id" and "label" are available. Calling | |
| other methods (such as node.delete) will result in an exception. |
This file contains hidden or 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
| <div {{ attributes.addClass('card') }}> | |
| <div class="card-img-top"> | |
| {{ card_image }} | |
| </div> | |
| <div class="card-body"> | |
| <h2 class="card-title"> | |
| {{ card_title }} | |
| </h2> | |
| <p class="card-text recipe-body"> | |
| {{ card_body }} |
This file contains hidden or 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
| $schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json | |
| name: Card | |
| status: experimental | |
| props: | |
| type: object | |
| required: | |
| - card_title | |
| - card_image | |
| - card_link | |
| properties: |
This file contains hidden or 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
| {% set imagePath = 'public://images/default.jpg' %} | |
| {% set responsiveimagestyle = { | |
| '#theme': 'responsive_image', | |
| '#responsive_image_style_id': 'my_responsive_image_style_id', | |
| '#uri': imagePath, | |
| '#alt': 'my alt text', | |
| '#attributes': { class: 'img-responsive' }, | |
| } %} | |
| {{ responsiveimagestyle }} |
This file contains hidden or 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
| diff --git a/modules/wetkit_bootstrapx/plugins/styles/bootstrap_horiz_styles.inc b/modules/wetkit_bootstrapx/plugins/styles/bootstrap_horiz_styles.inc | |
| index f3ca6e8..f316a25 100644 | |
| --- a/modules/wetkit_bootstrapx/plugins/styles/bootstrap_horiz_styles.inc | |
| +++ b/modules/wetkit_bootstrapx/plugins/styles/bootstrap_horiz_styles.inc | |
| @@ -41,9 +41,7 @@ function theme_wetkit_bootstrapx_bootstrap_horiz_styles_render_region($vars) { | |
| $content[$pane_title] = array('#markup' => '<details id="details-pane-' . $pane_id . '" class="tab-pane">' . '<summary>' . $pane_title . '</summary>' . $pane . '</details>'); | |
| } | |
| - arsort($content); | |
| - $first = array_shift($content); |
This file contains hidden or 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
| diff --git a/plugins/bean/wetkit_bean.twitter.inc b/plugins/bean/wetkit_bean.twitter.inc | |
| index b45b521..ef58db9 100644 | |
| --- a/plugins/bean/wetkit_bean.twitter.inc | |
| +++ b/plugins/bean/wetkit_bean.twitter.inc | |
| @@ -155,7 +155,7 @@ class WetKitTwitterBean extends BeanPlugin { | |
| // Rendered markup. | |
| $markup = '<section><div class="wb-twitter ' . $custom_css . ' ' . $span . '">'; | |
| $markup .= '<h2>' . $title . '</h2>'; | |
| - $markup .= '<a class="twitter-timeline" href="' . $url . '" data-widget-id="' . $widget_id . '" ' . $tweet_limit . '>Tweets</a>'; | |
| + $markup .= '<a class="twitter-timeline" height="400" href="' . $url . '" data-widget-id="' . $widget_id . '" ' . '>Tweets</a>'; |
This file contains hidden or 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
| diff --git a/views-limit-grouping.tpl.php b/views-limit-grouping.tpl.php | |
| index 82064b3..f93dcbd 100755 | |
| --- a/views-limit-grouping.tpl.php | |
| +++ b/views-limit-grouping.tpl.php | |
| @@ -5,13 +5,13 @@ | |
| * Basically, just a copy of views-view-unformatted.tpl.php. | |
| */ | |
| ?> | |
| -<div class="views-limit-grouping-group"> | |
| +<details class="views-limit-grouping-group"> |