First implementation of static pages as per #686. #688
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Simple Implementation (v1):
This is the basic implementation as discussed in #686.
Once the merge is done testing is really simple.
In your content folder, create a folder called "static" inside your content folder (wherever that is configured). e.g.
Inside the static folder keep a ".html" file with simple HTML:
It can hold any static HTML:
Save the File, run the blog, and now replace ".html" either with ".aspx" or nothing (depending on your blog's routing scheme):
Of course if you are using aspx based URL scheme (older migrations of historic blogs with URLs retained) you can also retain the URL of your static page and use ".aspx" in the end:
Next Steps:
Once this PR is approved I will be working on:
Please do let me know if any added changes are required. Happy to make those.