Hugo custom theme pass assets directory into build folder

Hey, I want to create a static website so my directory structure is:
mytheme

  • archtypes
  • assets
    • scss
    • fonts
      What i want is that the fonts folder is in my build directory
      to do so i know i can place my fonts in the /mytheme/static/fonts folder but then the link of my scss file is different to the builded css files. are there any suggestions für that? If i need to i can change the link in my scss files.

I think this is the right way of doing it.

  • assets/scss (and fonts path is /fonts/myfont)
  • static/fonts

ahhh ok my problem was i linked like that: url(’…/static/fonts/…’)but …/static is not needed

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.