Open MinchinWeb opened 8 years ago
With this change, if blog/tag
or blog/tag/python
is found, ablog won't auto generate those pages.
In your .rst
pages with that name, you could use postlist
directive with :excerpts:
option to generate desired post listing.
Let me know how this works. It would be easy to add an option to turn archive page generation off altogether.
This looks awesome, thank you. It is taking me longer than I thought to get to testing it, but I will let you know if it's working on me end shortly.
@abakan I was able to test it and it works awesome. Thank you so much! (I was specifically testing replacing tag pages.)
I was wanting to include post lists in a similar format to the built-in listings, but haven't been able to figure out how to do that. I've been trying to adjust the format
option of the postlist
directive. I tried using Jinja templates, but the formatter complains ("unknown key" I think is the error), and raw HTML isn't processed either. Any suggestions on how to do this?
Is it possible to define a separate
rst
file to overwrite the ABlog generated tag page? There was hints in #31 that this might be in the works, but I didn't see what happened in that regard.