Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Bug report? Copying a theme

Started by Randall Paul Allen 6 years ago · 1 replies · 510 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 complanar, 6 days ago
6 143 18 hours ago
Support · by Rick Beebe, 6 days ago
2 101 3 days ago
Support · by blu3prince, 3 days ago
0 53 3 days ago
Support · by alex, 4 days ago
2 94 3 days ago
Support · by Marcel, 2 weeks ago
1 144 4 days ago