-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
Description
Describe the bug
I am happy Ablog user, but recently I'have noticed possible bug. Let me to explain.
Custom landing page
I wish custom blog landing page with "pinned" (topped) posts first, followed by all posts. I created blog/index.md with two postlist directives.
# Tech writer at work blog
<div class="top-posts">
:::{postlist} 5
:category: top
:excerpts:
:format: "{title} on {date} 🏷️ {tags}"
:::
</div>
## Recent Posts
<div class="recent-posts">
:::{postlist}
:excerpts:
:format: "{title} on {date} 🏷️ {tags}"
:::
</div>
So this is our Tech writer at work blog homepage:
Custom landing page is overwritten
All is fine, but recently, I was playing with blog_path. When set to blog (or omitted since blog is its default value), my custom blog/index.html is overwritten with some default landing page with "All Posts" heading.
Is it a bug?
I am not sure that this is expected behavior. If so, is it documented? Where is template which controls this default landing page?
To Reproduce
No response
Screenshots
No response
System Details
dependencies = [
"ablog==0.11.11",
"sphinx==8.1.3",
"myst-parser[linkify]==4.0.0",
"sphinx-sitemap==2.6.0",
"sphinx-design==0.6.1",
"sphinx_reredirects==0.1.5"
]
Installation method
No response