cryogen-project / cryogen

A simple static site generator written in Clojure
http://cryogenweb.org/
Eclipse Public License 1.0
1.09k stars 96 forks source link

deploy in nginx, but" hljs is not defined" #238

Open qdhaiqiang opened 3 years ago

qdhaiqiang commented 3 years ago

My nginx conf

server {
    listen 60002;
    server_name localhost;

    location / {
        alias /opt/blog/public/blog/;
        error_page 404 = /404.html;
        try_files $uri $uri/ /index.html;
    }
}

When I open browser, the error is in console image

holyjak commented 2 years ago

It does not seem to be related to cryogen itself. Cryogen only generates your static files. No idea why loading the stylesheet fails with this error. Does the problem still persist?