◊(Local Yarn Code "View Ticket")

Ticket Hash: 629a9c063beb5809607c3de23be3611931bcb999
Title: Keyword index entries on home page don’t show up in the keyword index
Status: Closed Type: Code Defect
Severity: Important Priority: Medium
Subsystem: Resolution: Fixed
Last Modified: 2020-05-11 02:02:42
Version Found In:
User Comments:
joel added on 2019-07-05 05:01:10: (text/x-fossil-wiki)
This is because when index entries are fetched out of the SQLite cache, due to an <code>INNER JOIN</code> only the ones that have a corresponding row in the <code>articles</code> table are returned… and <code>index.html.pp</code> doesn‘t create its own row in <code>articles</code>, nor would I want it to (at this point) because then it would show up in the blog, etc.

Likely resolution is to wait until “exclude directives” are implemented, then re-implement <code>index.html</code> as <code>index.html.pm</code> and a new <code>frontpage.html.p</code> template that calls <code>crystalize-article!</code> like any other article, but with excludes that keep it off the blog and RSS feed and anywhere else it shouldn’t be.