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