Skip to content

Conversation

@cloventt
Copy link

@cloventt cloventt commented Jan 6, 2022

With the addition of a theme.toml file, it is now possible to install the add-on as a git submodule in the "standard" way. These are the new installation instructions:

Check out this repo into your themes/ folder:

git submodule add git@github.com:liwenyip/hugo-easy-gallery.git themes/easy-gallery

Then update your ./config.toml to load the theme, for example:

theme = ["hugo-coder", "easy-gallery"]

@kishorbhat
Copy link
Collaborator

Reading https://gohugo.io/hugo-modules/theme-components/, it looks like if you have multiple themes that have the same filename for static/ and layouts files, the first theme with a given filename is used. While I anticipate this being a rare occurrence, can you add a note to the README that points to that page to refer to in the event of theme conflicts?

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants