.lhs is recognized as an upload not a page
- Dominant language
- Haskell
- Stars
- 2.3k
- Forks
- 231
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Is it possible to get a literal haskell file to be treated as a page in gitit?
I noticed in the [google groups](https://groups.google.com/forum/?fromgroups#!searchin/gitit-discuss/lhs/gitit-discuss/sCOfMKWLJXQ/2PCNl6YPrpkJ) after the suggestion to create a symlink that some one mentioned that they would try to implement a feature that would automatically recognize a lhs file. Was this ever implemented?
I set my default page type to "markdown+lhs" in my .conf file and added the following metadata block, but in 'All pages' page it still has a class of "upload" instead of "page" in the html.
---
format: latex+lhs
categories: haskell math
toc: no
...
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue using the .conf setting with a literal .lhs file and inspect its entry in the All pages page. Trace how the markdown+lhs or latex+lhs metadata is classified, then verify that the file is shown with the page class rather than upload and renders as a page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100