kalyan02 / tumblrthemr

Python desktop app to develop tumblr themes offline (Mac, Windows and Linux)
52 stars 5 forks source link

Adding external source files to the index.html #4

Open ghost opened 8 years ago

ghost commented 8 years ago

It should be possible to link in the page external source files such as css and javascript for easier development.

I'm aware that in tumbrl you have to have it all in the html markup, but for development is less error-prone to keep everything divided.

from the console it appears that the server sees a file request as a folder

<link href="style.css">

gives this in output in firebug

<link type="text/css" rel="stylesheet" href="style.css">
    1|  404 - /home/fra/projects/tumblrthemr/projects/style.css/index.html | /home/fra/projects/tumblrthemr/projects/style.css/ | style.css
</link>