Skip to content

How to install it as a module for a different theme and use one feature. #635

Answered by McShelby
sourcevault asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, but techically I can't help you here, as I don't have experience with this. The official Hugo forum may help you here with the general task of making the theme (and therefore the shortcodes) available in your project.

Besides of that general task, I doubt that this will end in a satisfying result as the themes shortcodes are not meant to be used outside of the themes environment. The CSS to style the buttons is not modularized and would make it necessary to include all CSS styles of the theme. This most likely will interfere with your existing styles and end up in a visual mess. (Not mentioning the support for different color variants of the Relearn theme)

The best would probably b…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by McShelby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants