Opened 13 years ago

Closed 13 years ago

#8335 closed bug (fixed)

cgit does not render html properly

Reported by: mmadia Owned by: zooey
Priority: normal Milestone:
Component: Website Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

After the migration to git, it seems I overlooked updating some of the User Guide + Welcome page loader pages for Web+. They still point to the http://svn.haiku-os.org/haiku/haiku/trunk/docs/ .... , instead of cgit.haiku-os.org. However when viewing the HTML, cgit won't realize to load the Haiku-doc.css. E.g., http://cgit.haiku-os.org/haiku/plain/docs/userguide/en/filesystem-layout.html

It was mentioned on IRC that the cgitrc mimetype needs to be updated

	## List of common mimetypes
	mimetype.git=image/git
	mimetype.html=text/html
	mimetype.jpg=image/jpeg
	mimetype.jpeg=image/jpeg
	mimetype.pdf=application/pdf
	mimetype.png=image/png
	mimetype.svg=image/svg+xml
	mimetype.css=text/css

Change History (1)

comment:1 by zooey, 13 years ago

Resolution: fixed
Status: newclosed

Indeed - adding the correct mimetype for css solved the problem.

Note: See TracTickets for help on using tickets.