Customize title template based on page
You can add new templates to already existing using hook_theme_suggestions_HOOK_alter

Example of adding a content type:

/**
 * Implements hook_theme_suggestions_HOOK_alter().
 */
function THEMENAME_theme_suggestions_page_title_alter(array &amp;$suggestions, array $variables) {
  if ($node = \Drupal::routeMatch()-&gt;getParameter('node')) {
    $content_type = $node-&gt;bundle();
    $suggestions[] = 'page_title__' . $content_type;
  }
}


Then use page-title--content-type.html.twig



You could use $node-&gt;id(); if content type is too broad.