-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modernizing html code output by hlsearch #24
Comments
@AlexChristoforides , do you also like to work with HTML and CSS? |
Looks like htsearch is using templates in the installdir directory. I haven't figured out yet how the templating system works. I'd like to understand it better so that we don't leave behind any unnecessary code when we switch to a different template method. If it's clear to anyone, feel free to take this ticket. |
Now that the guts of the new web site are in place (#55), we have a site generator that can be modified a little to make some new pages for the hlsearch results pages. Once I convert the existing pages, they'll be ready for a new design. Here's an example of what they look now: |
[wip][skip ci] This will copy the same style.css that the web site uses. That seems easier than maintaining 2 separate css files. I added a script that runs tidy-html5, but the user must install the program <http://www.htacg.org/> to use it.
See notes in the (Changelog)[https://github.com/andy5995/hldig/blob/master/ChangeLog.md) There's still improvements that can be made to the html design, but this patch should make updates easier for contributors, and enables the use of a linked stylesheet
* [#24]installdirs:update search result html, add css This will copy the same style.css that the web site uses. That seems easier than maintaining 2 separate css files. I added a script that runs tidy-html5, but the user must install the program <http://www.htacg.org/> to use it. * hlsearch results html pages updated [#24] See notes in the (Changelog)[https://github.com/andy5995/hldig/blob/master/ChangeLog.md) There's still improvements that can be made to the html design, but this patch should make updates easier for contributors, and enables the use of a linked stylesheet
A recent screenshot when testing locally The html for that is in https://github.com/solbu/hldig/tree/master/installdir and the css: https://github.com/solbu/hldig/tree/master/docs/assets/css |
Coming up soon on the TODO list is modernizing the html code output by
htsearch
.Some of that output can be seen by doing a search at http://htdig.dreamhosters.com/
So far I'm heavily leaning toward using @dafky2000's simplectemplate. I think it would be the perfect library for this task.
The text was updated successfully, but these errors were encountered: