Skip to content

I would like HTML to support Apache-style server-side includes natively. #725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
WebWeWantBot opened this issue Mar 26, 2025 · 0 comments

Comments

@WebWeWantBot
Copy link
Collaborator


title: I would like HTML to support Apache-style server-side includes natively.
date: 2025-03-26T14:42:12.652Z
submitter: PRIVATE
number: 67e412442b9c6a0088e66979
tags: [ ]
discussion: https://github.com/WebWeWant/webwewant.fyi/discussions/
status: [ discussing || in-progress || complete ]
related:

  • title:
    url:
    type: [ article || explainer || draft || spec || note || discussion ]

The lack of native support in HTML for including partials like nav menus, headers, footers, etc. makes it necessary to use static site generators, server-side programming, or JavaScript for client-side includes that slow down page rendering. For personal website operators using free hosts like NeoCities and NekoWeb, JS is usually the only option for reusing snippets.

I wrote about this in greater detail back in 2023 at https://starbreaker.org/grimoire/entries/html5-needs-partial-element/index.html

As noted, I get around this by using sed, m4, and hxincl in the shell scripts I use to build my website, but this might not be an optimal solution.


If posted, this will appear at https://webwewant.fyi/wants/67e412442b9c6a0088e66979/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant