Your sites Log in Sign up Menu

Is there a way to display the source file for each post?

I was curious: can the source text file for a post be opened via a URL? For instance, I add the file example.txt to my Posts folder in Dropbox: is there a way to see the content of that file with a URL like mydomain.com/Posts/example.txt?


2 years ago, 2 replies   Improve this question

Yes! Your folder is public, so if for example you add a file called example.txt to a folder called apple inside your blog's folder, you'll be able to see it at the following URL:

your-blog.com/apple/example.txt

You can also navigate to the source file for any blog post or page by appending the query string ?source=true to the URL of the post or page. For example, let's say you want to find the source file for your about page, you'd navigate to:

your-blog.com/about?source=true

And Blot will redirect you to your about page's source file.

Answered 2 years ago · Improve this answer

Brilliant! Thanks!

Answered 2 years ago · Improve this answer

Privacy Terms