3 ms·
I used to have my own and it was very... hacky. Basically it was a PHP website where there would be snippets of PHP at the top of the page followed by html wit
by cyrialize 6y ago
I used to have my own and it was very... hacky.
Basically it was a PHP website where there would be snippets of PHP at the top of the page followed by html with the occasional `<?php echo $var; ?>`.
Then I wrote a simple bash script that curled the website from localhost and saved everything to a local folder (kind of like how Jekyll has _site). Then the script used the neocities gem [1] to automatically upload.
I now use Jekyll, but I've thought about making my own because only I will use it and I'll understand it from top to bottom. With Jekyll whenever I need to make a change I have to re-read the docs to figure out what I need to do.
[1]: https://github.com/neocities/neocities-ruby https://github.com/neocities/neocities-ruby