Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Bug report? Copying a theme

Started by Randall Paul Allen 6 years ago · 1 replies · 474 views
6 years ago

Tonight I used bin/plugin devtools new-theme to make a copy (machineCopy) of the Machine theme which I had significantly modified.

When I switched to the copied them I just got an essentially blank page with a statement that the theme machineCopy doesn't exist.

After digging around I saw that almost everywhere "machine" had been changed to "machineCopy". The one place I found where it wasn't changed was in the block below.

After I changed user/themes/machine to
user/themes/machineCopy, it worked fine.

YAML
# Grav streams
streams:
  schemes:
    theme:
      type: ReadOnlyStream
      paths:
        - user/themes/machine
6 years ago

@ranman, I'm afraid I can reproduce the issue when copying an inherited theme. Updating the stream fixed the issue.

Please create an issue at the repo of Grav or the devtools plugin.

Suggested topics

Topic Participants Replies Views Activity
Support · by Paul Hodges, 4 weeks ago
19 485 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago