Get site name in custom template
Add this to the YOUR_THEME.theme file:

function YOUR_THEME_preprocess_page(&amp;$variables) {
  $variables['site_name'] = \Drupal::config('system.site')-&gt;get('name');
}


And then this in your page--front.html.twig template:

{{ site_name }}