legit

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

Commits at 4398441958feb944ae91924ee87b1dbf96993526

  1. 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
  2. 15c51a91 Configurable tab width for blob page Shota FUJI authored at Shota FUJI comitted at
  3. cbb8266b Configurable tab width for commit page Shota FUJI authored at Shota FUJI comitted at
  4. 92a96a7e Setup JavaScript formatting I'm going to add ".js" files. Shota FUJI authored at Shota FUJI comitted at
  5. 46bb37d9 Fix typo in a code comment Shota FUJI authored at Shota FUJI comitted at
  6. 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
  7. d8ad037b Replace go module name Diverged enough. Shota FUJI authored at Shota FUJI comitted at
  8. f8813068 Format go file with dprint Shota FUJI authored at Shota FUJI comitted at
  9. 8c3d0a22 Format CSS files with dprint Shota FUJI authored at Shota FUJI comitted at
  10. 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
  11. 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
  12. 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
  13. 369d05c6 Fix most of the links are 404-ed on repository with .git suffix Shota FUJI authored at Shota FUJI comitted at
  14. 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
  15. 5b33be2d Style commit page Shota FUJI authored at Shota FUJI comitted at
  16. 1afd9b7c Style blob (file view) page Shota FUJI authored at Shota FUJI comitted at
  17. 33c4026a Remove unused functions Shota FUJI authored at Shota FUJI comitted at
  18. 4d770943 Refactor simple slice lookup to slices.Contains gopls screaming this refactor everytime I open this file. It was annoying. Shota FUJI authored at Shota FUJI comitted at
  19. 50d100f7 Style repo tree (files) page Shota FUJI authored at Shota FUJI comitted at
  20. 8f3f5233 Style repository log (commits) page Shota FUJI authored at Shota FUJI comitted at
  21. 35e0cec5 Move commit summary style to global page I want to use that style in commits page too. Shota FUJI authored at Shota FUJI comitted at
  22. 3a7d5238 Style repository refs page Shota FUJI authored at Shota FUJI comitted at
  23. 4a2e9702 Remove link underline by default My strategy is to put underline for user content (README) and hide for everything else. This change reflects the intent well. Shota FUJI authored at Shota FUJI comitted at
  24. 546e9b51 Turn default branch name to link to refs page "Refs" is not obvious name, especially for users who are GitHub/GitLab but git and its concept. Shota FUJI authored at Shota FUJI comitted at
  25. 19ee3c69 Style repository summary page Shota FUJI authored at Shota FUJI comitted at
  26. da924f05 Style repository list page Shota FUJI authored at Shota FUJI comitted at
  27. 7814915e Fix favicon not showing Shota FUJI authored at Shota FUJI comitted at
  28. 9fd428e4 Style the new templates Still ugly but viewable, at least. Shota FUJI authored at Shota FUJI comitted at
  29. 475d5104 Fix repository list uses author date instead of committer date The latter is the important one. This is how git and vast majority of its ecosystem behaves. Shota FUJI authored at Shota FUJI comitted at
  30. 14bdcf67 Cleanup routes and templates * Define data structure passed to templates in `routes/data.go`, to easily modify templates without reading whole handler code. * Rewrite HTML templates to bare-bones ones to make future modifications easy and clean. * Fix several markup problems, such as quirk mode and invalid tag hierarchy. Shota FUJI authored at Shota FUJI comitted at