I implemented a custom content entity with Drupal console. By default the routing is done in JobListingEntityHtmlRouteProvider.php file. I am getting a standard path such as /admin/structure/my_custom_entity/id.
I tried to use URL alias pattern to change it such as /my_custom_entity/id. That worked but still give me the admin theme upon viewing the entity. I did defined a themable custom twig template but it's not picking it up.
I also changed _admin_route to FALSE in JobListingEntityHtmlRouteProvider.php routing file. No go.
Any help appreciated.