Skip to content

Error: A pre-v6.0 template issue #33

Open

Description

@zero-pytagoras

I am using darkslide:

  • version: 6.0.0
  • py_version: python3.12
  • OS: debian12
    I have used the same simple theme since version 5.1 and never seen this error:
Error: A pre-v6.0 template file has been found at '/home/aschapelle/Projects/docker-shallow-dive/99_misc/.simple/base.html'. You need to rename it to template.html and use the new css_assets/js_assets variables instead.

I have changed the name to template.html, but then the error, changes to :

Error: 'css' is undefined

I am guessing that is has something to do with file structure.
any guidance how should I fix it ?

Activity

  1. ionelmc commented on Jun 22, 2023

    @ionelmc
    Owner

    I guess you need to use css_assets instead of css.

  2. zero-pytagoras commented on Jun 23, 2023

    @zero-pytagoras
    Author

    tried that but then it same error Error: 'css_assets' is undefined
    I was able to fix it, but seems to be the theme error as well, any tips on how to handle it ?

  3. changed the title [-]Error: A pre-v6.0 template issye[/-] [+]Error: A pre-v6.0 template issue[/+] on Jun 23, 2023
  4. ionelmc commented on Jun 23, 2023

    @ionelmc
    Owner

    Hard to say what's going on exactly. I need to see your template at the very least to be able to reproduce the problem.

  5. zero-pytagoras commented on Jul 4, 2023

    @zero-pytagoras
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions