Hugo don't load css on single page

Hi guys,
I started a theme developing for Hugo.
May be it’s a trivial mistake not related to Hugo itself but I have a problem on rendering pages.

The homepage it’s rendereded correcly but single post don’t load *.css.
I suppose it’s a problem of priority order of lookup rendering roles but I’m not able to solve.

Can you look on my code?
Arberia Theme

May be it’s simple solution.

Vincenzo Antedoro

Your paths are relative to the current page, not to the site root.

1 Like

Thanks jmooring.
This mistake was solved introducind absURL path, like this:

<link rel="stylesheet" type="text/css" href="{{ "css/realpython.css" | absURL }}">

Question: It’s better

This is largely a matter of opinion and context. Historically, some RSS readers have not behaved well with relative URLs, but I don’t know if that’s still true. Some argue that absolute URLs are an important aspect of search engine optimization, but I think that was de-bunked by Google several years ago.