Skip to content

Theme working on localhost but not when turned into a static site #812

Answered by xoxys
drschatz asked this question in Q&A
Discussion options

You must be logged in to vote

I guess I'm confused, since I thought this was a static website.

Static means, no dynamic language like PHP is involved. However, plain html/css/js websites still need to web server to work.

To clarify, If I host these files, say on github's web services, would it work?

Yes, if you publish the build output from the public directory to a GitHub page branch, for example, and set up GH pages, GH will basically manage a web server for you to serve the page.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@drschatz
Comment options

@xoxys
Comment options

xoxys Apr 5, 2024
Maintainer

Answer selected by drschatz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants