This Website's DesignPublished: 22-May-2025 - Last Updated: 15-Mar-2026 Categories: Website This is outdated. New version described here: This Website Version 2When I originally made a website, I used Publii, which is a WSYIWYG static site generator. Publii worked fine, but I wanted a bit more control over the layout and organization of the site. I had a few goals for the site: Make it static so I can host it on GitHub Pages, no Javascript so older browsers can at least load the site, and for it to be somewhat easy to update with new content. GitHub for the website "source" Inspirationcosam.org was my inspiration for the layout of the site, with a sidebar that changed depending on the page. Making this website ended up being a lot of work since I have no experience with web design, except for one class I took in 10th grade making websites in Adobe Dreamweaver CS3 (which was very outdated by then). Originally, it was going to look much closer to cosam.org with a simpler theme. I was planning on using https://simplecss.org/ for the styling, but I got inspired when I saw 4dwm.com. DetailsThe first draft of the site was all HTML with a small amount of Javascript to load the navbar on each page, but that didn't meet my goal for no JS. I then came across xslt, which allows you to use a template file to convert an XML file into an HTML file. With some help from ChatGPT, I started tweaking the template to insert the navbar template on each site. The xslt template also let me generate multiple "Windows" on the site relatively easily. XSLT templates are in
I need to come back to this and try to integrate it into the main github pages repo. Currently, I manually copy the contents of OUTPUT into the github pages repo to update the site. ConclusionI'm happy with how the website looks on modern browsers, but old browsers struggle a lot with most of the css formatting used to make the "windows". I'm not sure if there's a solution to that, but at least the text loads on old browsers. |