This seems like you're working hard against the Django grain. Put the content into an include file, then {% include %} it in your block, and also read the file directly. If you could tell us more about what you're trying to accomplish, there's probably a better way to do it.