legit

Fork of https://git.icyphox.sh/legit

Commits at 62b73d36a60d0d0399740850aa983617b49b62f4

  1. f72154de Fix binary file not available even with "raw" URL parameter This is critical for displaying images in README files. Shota FUJI authored at Shota FUJI comitted at
  2. 07103b7d Setup "nix fmt" There was no way to call dprint (except "nix-shell" and global mutation) Shota FUJI authored at Shota FUJI comitted at
  3. fab9af91 Upgrade nixpkgs The dprint CLI was too old a JSON dprint plugin denied to run. Shota FUJI authored at Shota FUJI comitted at
  4. 9eb33dfd Fix relative links in README markdown fails to resolve Shota FUJI authored at Shota FUJI comitted at
  5. 4efb241d Fix blob page code block slightly overflows vertically That makes unpleasant UX, such as almost-full scrollbars and requiring two-fingers swipe twice (one for scroll `<pre>` and second for the page) Shota FUJI authored at Shota FUJI comitted at
  6. 5e20b033 HTML preview for Markdown While Markdown is relatively readable format, syntax highlighted monospace font is not easy to read compared to well-spaced sans-serif. Shota FUJI authored at Shota FUJI comitted at
  7. d38d10b2 Increase top padding on 3-column layout I don't know why, but it was uncomfortable to read texts at the very near the top of a content area. Shota FUJI authored at Shota FUJI comitted at
  8. 291d38c0 Add more spaces to Markdown headings Those were so packed and hard to read. Shota FUJI authored at Shota FUJI comitted at
  9. 44c4ba1f Display datetime in user's time zone by using JavaScript Everytime I see datetime text with time zone I'm not familiar with, I struggle to calculate from my local time zone. There are situations where author's/committer's local time zone matters, (e.g. did they write this patch in night?) I kept the original datetime in "title" attribute (tooltip). Browsers' handling of "title" attribute is bad, but it's better than nothing. Shota FUJI authored at Shota FUJI comitted at
  10. 5e6eb22b Fix blob line number slightly enlarges on Android Chrome When a file's line count exceeds certain amount (probably 130 or so?) the line number rows slightly increases its vertical size and causes misalign to a text line on its right. This happens on Samsung Galaxy Tab S9 FE (Android 14), and does not happen on Motorola Razr 40 Ultra (Android 15). I still don't know which factor plays, but this patch fixes the bug. Shota FUJI authored at Shota FUJI comitted at
  11. 31530491 Resolve paths from config file, not cwd I was surprised during writing "demo/config.yaml". Shota FUJI authored at Shota FUJI comitted at
  12. b8430efe Change syntaxHighlight option from string to boolean Since replacing templates, syntax highlighting no longer uses supplied style. Shota FUJI authored at Shota FUJI comitted at
  13. 6fbc5cd1 Add documentation comment for sample config.yaml This is handy. I'm not sure I'll create a reference doc for configurations. Shota FUJI authored at Shota FUJI comitted at
  14. 7f5f8dbe Setup testing environment Shota FUJI authored at Shota FUJI comitted at
  15. f1be2337 Setup Markdown formatting Shota FUJI authored at Shota FUJI comitted at
  16. ff788598 Replace readme with README.md To clearly states this is a fork. Shota FUJI authored at Shota FUJI comitted at
  17. bc147a94 Configurable tab width for repo top page README may have tab character (e.g. code sample) Shota FUJI authored at Shota FUJI comitted at
  18. 15c51a91 Configurable tab width for blob page Shota FUJI authored at Shota FUJI comitted at
  19. cbb8266b Configurable tab width for commit page Shota FUJI authored at Shota FUJI comitted at
  20. 92a96a7e Setup JavaScript formatting I'm going to add ".js" files. Shota FUJI authored at Shota FUJI comitted at
  21. 46bb37d9 Fix typo in a code comment Shota FUJI authored at Shota FUJI comitted at
  22. 41a17d94 Set default tab width for <body> I'm going to make tab width user selectable. This is both as a temporary solution and as a default value. Shota FUJI authored at Shota FUJI comitted at
  23. d8ad037b Replace go module name Diverged enough. Shota FUJI authored at Shota FUJI comitted at
  24. f8813068 Format go file with dprint Shota FUJI authored at Shota FUJI comitted at
  25. 8c3d0a22 Format CSS files with dprint Shota FUJI authored at Shota FUJI comitted at
  26. ce2a0949 Use tab indentation for HTML and CSS HTML are all gone and CSS are completely rewritten. Shota FUJI authored at Shota FUJI comitted at
  27. f81ee57d Setup dprint, code formatter Running `go fmt <module>` is a lot. I often forgot to run that. dprint, on the other hand, formats everything by default. A chance of missing to run is significantly lower. Shota FUJI authored at Shota FUJI comitted at
  28. 130a2337 Disable go-import `go-import` does not work with `.git` extension and current routing logic cannot handle `foo -> foo.git` lookup. <https://github.com./icyphox/legit/issues/34> Shota FUJI authored at Shota FUJI comitted at
  29. 369d05c6 Fix most of the links are 404-ed on repository with .git suffix Shota FUJI authored at Shota FUJI comitted at
  30. 64314274 Align header and aside to top on three-column layout It looked good when there is enough main content, otherwise awkward due to misalign-feel. Shota FUJI authored at Shota FUJI comitted at