11
submitted 2 weeks ago by Paddy66@lemmy.ml to c/webdev@programming.dev

Post is in the link - simplest method possible please: my web dev skills are weak!

you are viewing a single comment's thread
view the rest of the comments
[-] shnizmuffin@lemmy.inbutts.lol 2 points 2 weeks ago

This is not possible* with native HTML.

You'll want to either preprocess your website with a templating language (Nunjucks or Handlebars are probably the easiest), or enable server-side technology (PHP includes are probably the simple solution) to build your page navigation on request.

*There are some bad hacks on StackOverflow.

[-] dan@upvote.au 2 points 2 weeks ago

This is not possible* with native HTML.

You can go old school and use frames! http://www.dansoftaustralia.net/oldest/

[-] pohart@programming.dev 1 points 2 weeks ago* (last edited 2 weeks ago)

Ooh, running to see if I can find it on SO. I love bad hacks.

Edit: I found what I already use :(

this post was submitted on 11 May 2025
11 points (100.0% liked)

Web Development

3958 readers
3 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS