legit

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

Commits at 1ba6a0a976683007f3dc59f55556a45826a77d6c

  1. 15c51a91 Configurable tab width for blob page Shota FUJI authored at Shota FUJI comitted at
  2. cbb8266b Configurable tab width for commit page Shota FUJI authored at Shota FUJI comitted at
  3. 92a96a7e Setup JavaScript formatting I'm going to add ".js" files. Shota FUJI authored at Shota FUJI comitted at
  4. 46bb37d9 Fix typo in a code comment Shota FUJI authored at Shota FUJI comitted at
  5. 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
  6. d8ad037b Replace go module name Diverged enough. Shota FUJI authored at Shota FUJI comitted at
  7. f8813068 Format go file with dprint Shota FUJI authored at Shota FUJI comitted at
  8. 8c3d0a22 Format CSS files with dprint Shota FUJI authored at Shota FUJI comitted at
  9. 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
  10. 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
  11. 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
  12. 369d05c6 Fix most of the links are 404-ed on repository with .git suffix Shota FUJI authored at Shota FUJI comitted at
  13. 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
  14. 5b33be2d Style commit page Shota FUJI authored at Shota FUJI comitted at
  15. 1afd9b7c Style blob (file view) page Shota FUJI authored at Shota FUJI comitted at
  16. 33c4026a Remove unused functions Shota FUJI authored at Shota FUJI comitted at
  17. 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
  18. 50d100f7 Style repo tree (files) page Shota FUJI authored at Shota FUJI comitted at
  19. 8f3f5233 Style repository log (commits) page Shota FUJI authored at Shota FUJI comitted at
  20. 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
  21. 3a7d5238 Style repository refs page Shota FUJI authored at Shota FUJI comitted at
  22. 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
  23. 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
  24. 19ee3c69 Style repository summary page Shota FUJI authored at Shota FUJI comitted at
  25. da924f05 Style repository list page Shota FUJI authored at Shota FUJI comitted at
  26. 7814915e Fix favicon not showing Shota FUJI authored at Shota FUJI comitted at
  27. 9fd428e4 Style the new templates Still ugly but viewable, at least. Shota FUJI authored at Shota FUJI comitted at
  28. 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
  29. 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
  30. 3848e3b4 routes: Pass precise datetime to index page Displaying relative datetime without absolute one is confusing and/or frustrating. title attribute should include timezone for more accuracy, but it's enough for now. I have a plan to write a new template from scratch. Shota FUJI authored at Shota FUJI comitted at