Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Depends what your definition of page is.
Template means usually that you have a html base page with variables that can be replaced - so static webpages.
Tons of generators out there for that. -
@IntrusionCM
I think my definition of a page (for this project) is just a navbar with a header, and a sidebar. Potentially a search bar in the navbar but that’s a future feature.
Judging from your comment, it seems like static site generators would be good for me to look at? -
@IntrusionCM just checked out a popular one (Hugo) and it’s the exact concept I want, except it’s too powerful. It seems like it creates entire sites instead of pages. Seems like I’ll have to write my own which will be fun
-
@DeepHotel no experience in it, just what stuck in my brain from "the gossip mill"
https://jekyllrb.com/ -
hjk10156962y@kaki static site generator gets him going with no code at all. Seems a better deal that going nuts in modern front end madness
-
hjk10156962y@kaki Hugo is download and go. Fairly easy and familiar concepts. Ready to use themes.
Getting JS spewing out something somewhat similar is madness. If you need something simple you don't need a bloody js framework/transpiler. This is a huge learning curve.
Also static site generation is always the best solution until you need something more dynamic in the backend.
Related Rants
I have a side project which contains very simple data (a URL and a list of strings associated with that URL). I would like a way to automatically generate a webpage for each of those links (I believe the right term is template ?). Does anyone have any suggestions? Is this something like Next.js or Gatsby would be used for? I can provide more info if I’m not clear enough
question
side project
html
generation