My Retro Computing Home Page
- HTML 69.6%
- JavaScript 15.3%
- CSS 13.2%
- Makefile 1.9%
| archetypes | ||
| content | ||
| static | ||
| themes/retro | ||
| .gitignore | ||
| hugo.toml | ||
| Makefile | ||
| README.md | ||
throwback.kirsle.net
This is a "new old website" for Retro Computing fans.
Link: http://throwback.kirsle.net/
It is a static website generated using the Hugo software, with a web design that is backwards compatible to the Windows 3.1 era (viewable on browsers like Internet Explorer 5.0 and Netscape 3.4). It uses very minimal CSS and almost no JavaScript, except to make the website at least somewhat non-painful to view from a modern mobile web browser.
Makefile
makeormake buildto build the site.make runto run the site locally with live-reload support.make run-legacyto run it without live-reload support (IE 5.0 complains the script is too large to run otherwise!)make deployis how I deploy it to my web server.
NGINX
To get the website to work on Netscape 3.4 without it complaining about "text/javascript" MIME types that it doesn't know what to do with, customize the MIME type mapping in NGINX like so:
server {
server_name throwback.kirsle.net;
listen 80;
listen [::]:80;
# Legacy MIME types.
types {
application/x-javascript js;
}
location ~ \.js$ {
default_type application/x-javascript;
}
root /var/www/throwback.kirsle.net/public;
index index.html;
location / {
try_files $uri $uri/ =404;
}
}