Mercurial > p > roundup > code
view website/issues/html/home.html @ 7745:291afa77ad82
doc: trying to get search working.
Searching for www works beter now:
* no more javscript errors in console
* search context blocks are displayed
Had to add role="main" as that is used by the javascript to id
the body of the page to extract text snippets.
Had to set script_files to load all the needed javascript in order.
Had to set data-url_root on a id'ed tag for javacript to work.
On doc/_templates/layout.html replaced div with main tag and set id
and duplicate role="main" for use by js querySelector.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 26 Feb 2024 12:12:45 -0500 |
| parents | c2d0d3e9099d |
| children |
line wrap: on
line source
<!-- This is the default body that is displayed when people visit the tracker. The tag below lists the currently open issues. You may replace it with a greeting message, or a different list of issues or whatever. It's a good idea to have the issues on the front page though --> <span tal:replace="structure python:db.issue.renderWith('index', sort=[('-', 'activity')], filter=['status'], columns=['activity','title','creator'], filterspec={'status':['1','2','4']})" />
