Skip to content

Deprecate / remove hardcoded theme/ directory paths #33

@jplatte

Description

@jplatte

Currently, hinoki hardcodes theme/{assets,templates,sublime} directory paths relative to where it is invoked as places to look at for assets, templates and sublime syntaxes / themes respectively.

I've wanted to allow people who develop a site-specific theme to not need to nest anything into theme if they don't want, and just today realized a nice way of making that happen without weird fallback logic or erroring if both assets and theme/assets exist or whatever: Don't hardcode any paths.

In my mind, this is similar to how i3 / sway don't have any default keybindings. Rather, you start off with an example config and can add / remove things as you see fit. I already applied the same thing to other features, why not do it for input / output directory configuration as well?

This also means the directory layout in the README.md has to be "rebranded" as an example layout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions