Browse Source

repo sync

master
rdrew 4 weeks ago
parent
commit
2fd689fe93
  1. 2
      olivesnews.libraries.yml
  2. 4
      olivesnews.theme
  3. 2
      templates/includes/lp-banner.html.twig

2
olivesnews.libraries.yml

@ -58,7 +58,7 @@ global-styling:
js: js:
js/checkbox.js: {} js/checkbox.js: {}
# js/custom.js: {} js/custom.js: {}
js/readmore.js: {} js/readmore.js: {}
dependencies: dependencies:

4
olivesnews.theme

@ -12,7 +12,7 @@ use Drupal\Core\Template\Attribute;
use Drupal\Core\Render\Element; use Drupal\Core\Render\Element;
use Drupal\user\UserInterface; use Drupal\user\UserInterface;
/** /**e
* Implements hook_preprocess_HOOK() for HTML document templates. * Implements hook_preprocess_HOOK() for HTML document templates.
* *
* Adds body classes if certain regions have content. * Adds body classes if certain regions have content.
@ -265,7 +265,7 @@ function olivesnews_theme_suggestions_block_alter(&$suggestions, array $variable
} }
} }
/** /**e
* Implements hook_preprocess_HOOK() for menu-local-tasks templates. * Implements hook_preprocess_HOOK() for menu-local-tasks templates.
*/ */
function olivesnews_preprocess_menu_local_tasks(&$variables) function olivesnews_preprocess_menu_local_tasks(&$variables)

2
templates/includes/lp-banner.html.twig

@ -2,7 +2,7 @@
<div class="hero-section" style="background:url(/themes/custom/olivesnews/images/newsprint.webp) 50% no-repeat;"> <div class="hero-section" style="background:url(/themes/custom/olivesnews/images/newsprint.webp) 50% no-repeat;">
<div class="logo-wrapper"> <div class="logo-wrapper">
<figure class="logo--ilivesnews"> <figure class="logo--ilivesnews">
<h1><a href="/home">Island Newspapers</a></h1> <h1><a href="/">Island Newspapers</a></h1>
</figure> </figure>
</div> </div>
</div> </div>

Loading…
Cancel
Save