I'm currently trying out an approach for advertisement in my blog where the user opts-in watching ads by explicitly choosing the ad-version of the blog post, or the ad-free version. So, from a single post, say "_posts/post1", I'll need to generate /posts/post1.html and /withads/post1.html, with the same content, but with different layouts. How can I do it with Jekyll ?
source: _posts/post1.md
layout 1: _layout/adfree.html
layout 2: _layout/withads.html
output1: _site/posts/post1.html (post1.md + adfree.html)
output2: _site/withads/post1.html (post1.md + withads.html)