Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

boilerplate broken by latest wet-boew/gcweb-jekyll updates: Layout 'page' does not exist. #11

Open
anthonyfok opened this issue Feb 17, 2021 · 2 comments

Comments

@anthonyfok
Copy link

As of today (2021-02-16), website built with canada-ca-jekyll-boilerplate as template results in empty pages out of the box, see https://anthonyfok.github.io/ for example.

Configuration file: /home/foka/git/canada-ca-jekyll-boilerplate/_config.yml
            Source: /home/foka/git/canada-ca-jekyll-boilerplate
       Destination: /home/foka/git/canada-ca-jekyll-boilerplate/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
      Remote Theme: Using theme wet-boew/gcweb-jekyll
     Build Warning: Layout 'page' requested in _pages/en/another-page.md does not exist.
     Build Warning: Layout 'page' requested in _pages/fr/autre-page.md does not exist.
     Build Warning: Layout 'page' requested in _pages/en/index.md does not exist.
     Build Warning: Layout 'page' requested in _pages/fr/index.md does not exist.
     Build Warning: Layout 'page' requested in _pages/index.md does not exist.

After much head-scratching and debugging, it turns out that wet-boew/gcweb-jekyll, which is fetched as a remote theme, has a breaking change in the 2021-02-15 wet-boew/gcweb-jekyll@f66348c especially where the "page" layout _layouts/page.html was removed...

Please fix soon! Many thanks!

@delisma
Copy link
Collaborator

delisma commented Feb 17, 2021

We will discuss this issue at the next Technical review tomorrow. We are planning the documentation to start next week too.

@duboisp
Copy link

duboisp commented Feb 17, 2021

You will need to specify the version into your config.yml file like:

remote_theme: wet-boew/gcweb-jekyll@v1.1.0

FYI -
In the coming days, me and @delisma are going to work together and we will start to documents how to use the GCWeb jekyll.
Within a few week, the GCWeb jekyll theme will be fully in sync with the latest change applied on GCWeb too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants