2 ms·
Indeed, I haven't seen a single script tag in any of the pages. It's written in Python, using Flask, https://drewdevault.com/2019/01/30/Why-I-built-sr.ht-with-
by combatentropy 8y ago
Indeed, I haven't seen a single script tag in any of the pages.
It's written in Python, using Flask, https://drewdevault.com/2019/01/30/Why-I-built-sr.ht-with-Flask.html https://drewdevault.com/2019/01/30/Why-I-built-sr.ht-with-Fl...
- juice13 8y agoThere is javascript for progressive enhancement on some pages. E.g. submitting comments on tickets by pressing Ctrl+Enter, or selection of ranges of lines in git blob view. For example: https://git.sr.ht/~sircmpwn/sourcehut.org/tree/master/content/_index.html#L12-17,20-27 https://git.sr.ht/~sircmpwn/sourcehut.org/tree/master/conten... But everything is designed to work well without JS first.