Breadcrumb navigation is a core feature in Drupal 8. But by default, breadcrumb do not show current page. In this tutorial we will add current page in the breadcrumb navigation in our theme. This can be achieved by editing our theme file THEME-NAME.theme
Open THEME-NAME.theme file of your theme in any text editor.
Add following code in THEME-NAME.theme