Add meta tag to <head>
<p>I want to add meta tags to my site.</p>
<p>I added this code in my THEME.theme file and cleared the cache.</p>
<pre class="lang-php prettyprint-override"><code>/**
 * Implements hook_page_attachments_alter().
 *
 * Include meta tags and fonts using attachment method.
 */
function bartik_page_attachments_alter(array &amp;$page) {
  $font_attributes = array(
    'rel' =&gt; 'stylesheet',
    'type' =&gt; 'text/css',
    'href' =&gt; 'https://fonts.googleapis.com/css?family=Lato:400,100,100italic,300,300italic,400italic,700',
  );

  $page['#attached']['html_head_link'][] = array($font_attributes);

  $rendering_meta = array(
    '#type' =&gt; 'html_tag',
    '#tag' =&gt; 'meta',
    '#attributes' =&gt; array(
      'name' =&gt; 'SKYPE_TOOLBAR',
      'content' =&gt; 'SKYPE_TOOLBAR_PARSER_COMPATIBLE',
    ),
  );

  $page['#attached']['html_head'][] = [$rendering_meta, 'rendering_meta'];
}
</code></pre>
<p>This code just attaches the meta tag to the login page.</p>
<p>What should I do to add the meta tag to all the site pages?</p>