Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add theme file for easy install #67

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

None yet

2 participants