html - Efficient way to create pages from multiple similar type links -


i have page there 30 links , links have similar page except few contents changed(there pictuures). there efficient way without repeating codes , repeated nestings of codes. thank you.

using plain html won't able this.

the straightforward way it, think, using server-side scripting implement rendering template. have default "main" template 30 pages have in common , in each of pages use main template , load custom content.

so if want modify in main template you'd have modify main.html (or whatever called it) page , not each of 30 pages.

see this.


Popular posts from this blog

Apache NiFi ExecuteScript: Groovy script to replace Json values via a mapping file -

node.js - How do I prevent MongoDB replica set from querying the primary? -