Neocities.org

KFCMan's Odd Corner of the Internet

kunfucutsman.neocities.org

2,902 views
10 followers
583 updates
0 tips
Eyo you may wanna move your webring widgets to somewhere outside an iframe, they cause the link to replace the content _inside_ your page and don't make a new one :p
1 like
milk-tea 1 month ago

i don’t get what you mean, do you mean on clicking the webring?

kunfucutsman 1 month ago

Yes, the new website that the tag links to appears inside the iframe

kunfucutsman 1 month ago

Added some more buttons and fixed a mistake I did when merging the about-me page on my github

kunfucutsman 1 month ago

Changing some things in the home and about me sections, be sure to reload your css!

No more "oops all your website got updated"
That footer has been the vain of my existence. And now it has been dealt with.
And the versioning thing I used to prevent caching still affects every page since its on the head of the html -.-"
kunfucutsman 1 month ago

But the solution i did with Hugo may be the one I need. Instead of building a js file with the vars, I build a txt file with the update date and have javascript read it and update the footer date. The http request that gets said file is the one with the cache-busting

kunfucutsman 1 month ago

After about 10 commits of testing I made a solution: USE Hugo's resource generation to make a file called vars.js which contains the last time this was updated, then force the script tag to download the js file and then other function handles the updating of the footer

kunfucutsman 1 month ago

Problem now is that the time.Now function uses the time on the virtual machine which seems to be two hours ahead of me.

kunfucutsman 1 month ago

It should be fine as long as I don't update my site too late and someone decides to watch my website in that 3 hour period

kunfucutsman 1 month ago

At least it solved the github action having to update everything, so that's good :)

I have just realized that the thing that makes the github action to update everything is the footer's "last updated on X date" -.-"

Website Stats

Last updated 21 hours ago
CreatedJul 24, 2024
Site Traffic Stats

Tags

christianity megaman programming videogames personal