Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Bug report? Copying a theme

Started by Randall Paul Allen 7 years ago · 1 replies · 638 views
7 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
7 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 TomW, 2 days ago
4 63 12 hours ago
Support · by Anna, 1 week ago
2 149 2 days ago
Support · by Anna, 3 weeks ago
1 309 3 weeks ago
Support · by webmasterodp, 1 month ago
4 403 1 month ago
Support · by nwhitfield, 1 month ago
2 376 1 month ago