Commits at 83c692e6478a620e300ff5805d68b4b4e0bce29d
ce2a0949Use tab indentation for HTML and CSS
HTML are all gone and CSS are completely rewritten.
Shota FUJI
authored at
Shota FUJI
comitted at
f81ee57dSetup 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
130a2337Disable 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
369d05c6Fix most of the links are 404-ed on repository with .git suffix
Shota FUJI
authored at
Shota FUJI
comitted at
64314274Align 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
4d770943Refactor 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
4a2e9702Remove 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
546e9b51Turn 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
9fd428e4Style the new templates
Still ugly but viewable, at least.
Shota FUJI
authored at
Shota FUJI
comitted at
475d5104Fix 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
14bdcf67Cleanup 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
3848e3b4routes: 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
041d8a56Create `.editorconfig` file
For consistent code styles. I mostly wrote down the current code style.
Shota FUJI
authored at
Shota FUJI
comitted at
64f6ad72css: revert to default system font
Also removes my CDN from head.html along with the relevant note in the
readme.
Anirudh Oppiliappan
authored at
Anirudh Oppiliappan
comitted at