polyglot icon indicating copy to clipboard operation
polyglot copied to clipboard

Using polyglot with theme minima

Open PanderMusubi opened this issue 2 years ago • 2 comments
trafficstars

Using polyglot with theme minima isn't working properly, the style of the theme is not applied. See https://github.com/PanderMusubi/polyglot-minima for a minimal example. Run ./.run.sh in order to see what is going wrong.

PanderMusubi avatar Mar 26 '23 19:03 PanderMusubi

This might be related to this other known issue with the minima gem: https://github.com/untra/polyglot/issues/130#issuecomment-782754522

I do also see multiple build warnings when build the site:

          Conflict: The following destination is shared by multiple files.
                    The written file may end up with unexpected contents.
                    /Users/samuelvolin/Documents/polyglot-minima/_site/assets/main.css
                     - assets/main.scss
                     - assets/main.css.map
                    

It nonetheless helps to include your own css for a project, rather than rely on the default css minima generates. If you save and commit the assets directory to your repo it should not get overwritten again by minima, and the theme should be applied properly I bet.

untra avatar Apr 01 '23 12:04 untra

I have added assets/main.scss but the problem remains, unfortunately.

PanderMusubi avatar May 01 '23 08:05 PanderMusubi