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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Bug report? Copying a theme

Started by Randall Paul Allen 6 years ago · 1 replies · 386 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 Thomas, 1 week ago
2 55 12 hours ago
Support · by Anna, 3 days ago
2 60 15 hours ago
Support · by Justin Young, 16 hours ago
1 31 15 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 58 5 days ago