Hello! I know the template has been out for a while, so this may be a bit of an outdated ask; I've been trying to set up your OC Directory template on my Neocities, but I've been having issues. (I believe with some of the links breaking and css specifically; it all works when I run the project on the local server, but the build files don't seem port correctly to Neocities, or something...)
Is there any way you could make some sort of tutorial on some of the related steps after initial setup of the template? Even just screenshots of how the files might look on Neocities could help for troubleshooting, or links to any similar setup tutorials (though I've followed a few so far that haven't really solved my issues...)
I'm not new to programming but am new to Eleventy, so I feel a little silly asking about it. Please ignore this ask if it's not possible for any reason :) Thank you!
sure thing! when you run "npm run build", it should create a "build" folder with the final files for your comic site. the contents of the "build" folder should effectively be 1-to-1 with the file structure of your neocities website, unless you add other files to your neocities site outside of the comic template.
for this example i'm starting fresh, by:
downloading the git repository for the comic template,
installing dependencies with npm install,
building everything with npm run build.
i didn't change anything else about my setup, so the files are unedited.
if i throw a local server up, it looks something like this, alongside the file list:
if i go to the actual neocities file list, you'll notice the folder structure is the same:
including the folders that just have an html file in them:
when you push the website to neocities, you should only push the contents of the "build" folder, and nothing else. don't put it in a subdirectory, think of the build folder itself as the "root".
i generally sync my website changes to neocities by using the command line API and running neocities push build, which "pushes" the contents of the build folder as your website.
















