Closed Mecanik closed 8 months ago
Hi @Mecanik,
do you load github.com/hugolify/hugolify-theme
too ?
hugolify-theme
is a Core theme and is required.
In this theme (neutral style), you have blank_link
shortcode.
Thanks
I don't understand, I need to load 2 themes? Can you please show me a working config. Thanks
In module config file
imports:
- path: github.com/hugolify/hugolify-theme-2
- path: github.com/hugolify/hugolify-theme
- path: github.com/hugolify/hugolify-decap-cms
hugolify-theme-2 will add some style (sass basically)
hugolify-theme Core theme with all commons partials and functions
Import style in sass file assets/sass/main.sass
/*! purgecss start ignore */
// Theme
@import "hugolify-theme-2"
/*! purgecss end ignore */
Thanks
Thank you, however:
6:39:01 AM: Error: error building site: TOCSS: failed to transform "sass/main.sass" (text/x-sass): "/opt/build/cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugolify/hugolify-theme-2@v1.0.2/assets/sass/theme/components/_hero.sass:5:20": Undefined variable: "$quaternary".
6:39:01 AM: error Command failed with exit code 1. (https://ntl.fyi/exit-code-1)
6:39:01 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Hi @Mecanik,
could you please do a yarn update
to update theme-2
Hello,
Same issue as the one I just opened, if you change the theme:
- path: github.com/hugolify/hugolify-theme-2
The build will fail:
Thanks