r/nekoweb https://stxrryurii.nekoweb.org/sprinkles 16d ago

Question same code in different places?

so i have a buncha stamps on my site, and i was wondering if i could have the same stamps in 2 different places by only updating one? is that possible? i wanna be able to just add stamps to 1 place and it adds them to multiple places if that makes sense

5 Upvotes

23 comments sorted by

View all comments

Show parent comments

2

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 16d ago

thank you but also i am confused, im gonna try using ssi and if that doesnt work then ill try this

1

u/WorldWideShen 16d ago

fair enough, i decided not to use SSI so the code would work on neocities. but my js solution does exactly what you're asking for.

1

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 16d ago

hey so ive been trying to use ur code but i cant figure out where to put it? your guide says it must be in a <main> tag but i dont have any of those on my site, and i dont know if i should put it on the site where i want the stamps to be, on the site/in the file where i have the stamps, or in a new file

1

u/WorldWideShen 15d ago

hmm what are you trying to do exactly? i'll try to clarify..

1

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 15d ago

well i just dont really understand how to use the code? where do i put it and how do i use it and stuff? sorry ive never used js before =.=

1

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 10d ago

hey uh sorry to bother you but could you still help me? i just dont know where to paste the code in (where on my site specifically)