summaryrefslogtreecommitdiff
path: root/html
AgeCommit message (Collapse)Author
2018-07-26Host cgit directories under .../cgit.cgi/Adam Spragg
Rather than .../cgit/ This allows for a general redirect that can be used in multiple places in the website in future, without it getting confused over the /style/cgit/ directory. Put redirects in to make old links/bookmarks still work. Not as if anyone has made bookmarks already, but it's a good habit to get into.
2018-07-26Change the "private file" prefix from "@" to "_"Adam Spragg
It has all the benefits previously mentioned in commit 2f547251, as well as mirroring the common programming convention of using a "_" prefix to identify private variables/functions Hides files beginning with _ from mod_autoindex listings As well as 404ing on files starting with "_", also 404 on files starting with ".", as these are also private. Except for /.well-known/, because that's... well known, and should be public.
2018-07-26Add robots.txtAdam Spragg
2018-06-27Add new "amber" stylesheet and make it defaultAdam Spragg
Because apparently green doesn't show up super-bright with traditional CMYK printing, so my business card with the green-on-black header wouldn't have looked great - unless I was willing to pay a lot of money for special printing. However, apparently yellow does show up well (probably because it's the Y in CMYK), and because old-old-school CRTs came in amber-on-black as well as green-on-black, switching to amber-on-black lets me keep the same kind of aesthetic while being more print-friendly. Also, it looks less Matrix-y. On the one hand, that's better because it looks less derivative. On the other, it's worse, because it doesn't grab you quite as instinctively as it did before. I've done it with alternate stylesheets though, so you can still pick the green colorscheme if you want.
2018-06-25Simplify hiding navigation items slightlyAdam Spragg
The code is now a bit longer, but it's also a bit clearer. The resulting HTML is also clearer.
2018-06-22Add the repository for the website to the websiteAdam Spragg
How very meta!
2018-06-21Add my contributions to libxml2 to /projects/Adam Spragg
2018-06-19Fix "licenses", and superscript "rd" in 3rdAdam Spragg
2018-06-19Output the page head/header/footer with PHPAdam Spragg
Allows putting all the repeated stuff in one place (DRY!), so that if it needs changing it only needs to change once. Start the name of the included file with "@", and disallow the retrieval of files beginning with "@" (returning 404) so that it can't be downloaded, because it won't output anything meaningful. Why "@"? Because it's about the only ASCII punctuation character that doesn't mean anything special to most shells (bash), or programs, and is therefore easy to use as a filename on the command line. I almost went with "+", but it turns out that nvim treats arguments beginning with "+" as options. So "@" it is.
2018-06-18Rename index.html to index.phpAdam Spragg
2018-06-18Use DejaVu Sans Mono for the page titlesAdam Spragg
Rather than the generic "sans-serif"
2018-06-18Link /src to /srv/src, rather than individual filesAdam Spragg
2018-06-06Add /obs/server-status and index file for /obsAdam Spragg
2018-06-06Add icons to the website sub-headingsAdam Spragg
Also add an /about page with licensing info for the icons, as well as links to their sources, and other random trivia and nerdery.
2018-06-06Fix HTML validation issues on <html> and <link>Adam Spragg
<html> should have a 'lang=""' attribute, and </link> tags are not allowed by the spec.
2018-06-06Change alias for /icons to symlink for /img/iconsAdam Spragg
So we don't conflict with the alias for /icons/ already set up by mod_alias, and in use by mod_autoindex. Seriously, who thought it would be a good idea to reserve the /icons namespace, as if no website might already want to use that???
2018-05-31First fully working config and content for the siteAdam Spragg