Share html page with custom styling/css/js etc

Is there a way to share an html page that is totally standalone from the rest of the site? Like I made a little webpage that is a kind of webtoy, but if I try and share it in one of my blot folders it doesn't work properly because blot renders it within the entry.html stylings etc. (which I understand cos it's rendered in the {{{html}}} block of the template). Is there a workaround to get blot to not render any other html/css/js other than what this html file is telling it to? Or would I have to host it elsewhere and link to it from my blog?

4 replies

I haven't tried it, but I'd say, put your HTML file in the Pages section. Then your page is not enumerated by the entries data structure.

Answered 3 months ago · Improve this answer

I got this question as well, is there a way to render HTML .html file directly without render by the template? For example, we can put .html file in Pages folder and set an variable to turn off render by template setting, and we can see what we have set css in the file?

Answered a month ago · Improve this answer

You can place an HTML file in your folder whose name begins with an underscore to prevent Blot turning it into a post. Once you do so, it will be accessible in full, standalone, at its path, e.g. if you place a file called '_apple.html' in the root of your blog folder:

you.blot.im/_apple.html

If you place a file called 'banana.html' in a folder called '_static' in the root of your blog folder:

you.blot.im/_static/banana.html

I recognise that the underscore and the '.html' extension make the URLs less appealing, and I'm thinking of ways to make it possible to have pretty URLs, e.g.

you.blot.im/_apple.html -> you.blot.im/apple
Answered a month ago · Improve this answer

Yes, do believe the pretty url would help a lot, would like to have this to have to flexibility for standalone html file hosting.

Answered 25 days ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us

Tags

developers 28 questions bug 14 questions posts 9 questions resolved 7 questions request 6 questions google-drive 5 questions configure 4 questions pages 3 questions added 3 questions meta 3 questions More tags →
Subscribe for changes
RSS Feed of latest questions