Upon enabling the theme, you will see an example page. This is a template in the theme, and will overtake your designated front page.

Nope.

Upon enabling the theme, there was no example page. And the only change to the front page was that it now looked unthemed.

Comments

Onein created an issue. See original summary.

kevinquillen’s picture

If you saw the 'welcome' page and it was unthemed, did you bower install in the parent, npm install in the subtheme, and run gulp to build the initial CSS?

kevinquillen’s picture

Version: 8.x-1.3 » 8.x-1.x-dev
Assigned: Unassigned » kevinquillen

You are right. A couple of things:

  • Remember to flip and set default to the newly generated theme (I forgot)
  • Generate the initial CSS/JS via Gulp

I did reproduce this issue on a site that has 0 content, therefore page--front was not being served.

I am going to commit the following changes:

  • Rename page--front.html.twig.txt to page.html.twig.txt to work for either case
  • Add '&& gulp sass && gulp compress' to the gulp postinstall command so the user doesn't have to in order to see this screen.
kevinquillen’s picture

8.x-1.x dev branch updated with these changes. Was not able to reproduce after this.

Will need to backport to 7.x

kevinquillen’s picture

Status: Active » Needs work
kevinquillen’s picture

Status: Needs work » Fixed

All changes backported to 7 and released. Was unable to reproduce after that.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kevinquillen’s picture