Reusing same HTML on multiple pages without using JavaScript or server side languages?

This page summarizes the projects mentioned and recommended in the original post on /r/learnprogramming

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • wiki-dot-plungepool-dot-dev

    Personal website and memex

  • I recently built my own static site generator for a personal website which you can find here: https://github.com/plungepool/wiki-dot-plungepool-dot-dev

  • handlebars.js

    Minimal templating on steroids.

  • You can do it with only JS during build time with something like Handlebars. It's also super readable and just feels like plain HTML.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • Hugo

    The world’s fastest framework for building websites.

  • As others have mentioned, a static site generator would be one solution. Hugo is quite simple to install but it can take a while to customise templates.

  • htmx

    </> htmx - high power tools for HTML

  • Well, this is still technically JS (it's a small library you link in your page), but it's properties you add to existing html, so yo don't need to write any JS at all (for your requirements). https://htmx.org/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How I Built An Open Source Serverless Newsletter Platform

    4 projects | dev.to | 11 Jan 2023
  • Looking for a minimalist tech stack. How pure is too pure?

    3 projects | /r/webdev | 23 Jun 2022
  • Marko: An HTML-Based Language

    5 projects | news.ycombinator.com | 30 Jan 2023
  • Astro 2.0

    3 projects | news.ycombinator.com | 24 Jan 2023
  • Is there a better option than plain HTML, CSS and JS for creating my own design system?

    10 projects | /r/webdev | 16 Jan 2023