+ 1

Not Uniform Blog/Article Postings

I'm wanting to figure out an approach to setting up a database for article/blog posting where each new page won't be exactly the same. Referencing the articles posted on www.metagamevgc.com under "Team Reports" or "Articles", you'll notice each page is not formatted the same and includes images differently. Is there a way to set this up with a template without having to create a new html file for every new article/blog post?

13th Oct 2021, 12:11 AM
Vincent Bastress
Vincent Bastress - avatar
4 Antworten
+ 1
I don't know of any way of not having to create a new html file. But if you create a new html file, all you will have to do is copy the code from the previous post and change what you need for the new one you are creating. SORRY IF IT IS NOT HELPFUL.
31st Oct 2021, 4:41 PM
Lebi
+ 1
I thought about it last night and I created a web code with what you want. You can check it out if you're still interested. https://code.sololearn.com/WF0oBhmrLFUn/?ref=app
1st Nov 2021, 2:40 PM
Lebi
+ 1
Lebi Apologies on the late response. So, this isn't quite what I was referring to. I see you recreated essentially what would be the thumbnails for the articles, but I was referring to a singular html template being used to construct the actual content of the articles/team reports based on information stored on a database (either Mongo or MySQL).
21st Dec 2021, 1:38 AM
Vincent Bastress
Vincent Bastress - avatar
0
Vincent Bastress I don't know how to do that, sorry.
21st Dec 2021, 10:08 AM
Lebi