LL
template inheritance
Ну вот все те полтора языка, которые я видел, были очень похожи
Size: a a a
LL
template inheritance
LL
elixir
мире SSR
не очень популяренLL
V
template inheritance
SM
V
SM
LL
LL
V
LL
V
<html>Вариант с наследованием:
<head>ТИТЛ</head>
<body>
<content>ДИНАМИЧЕСКИЙ КОНТЕНТ</content>
<footer>ФУТЕР<footer>
</body>
</html>
<html>+
<head>ТИТЛ</head>
<body>
<content>{% block content%}{% endblock %}</content>
<footer>ФУТЕР<footer>
</body>
</html>
{% inherit from 'base' %}А ты про что говоришь?
{% block content %}ДИНАМИЧЕСКИЙ КОНТЕНТ{% endblock %}
<html>+
<head>ТИТЛ</head>
<body>
<content>
{% render 'header' %}+
ДИНАМИЧЕСКИЙ КОНТЕНТ
{% render 'footer' %}
</content>
<footer>ФУТЕР<footer>
</body>
</html>
LL
<body>
<%= render @view_module, @view_template, Map.put(assigns, :layout, {MyApp.LayoutView, assigns.body})%>
</body>
render(conn, "index.html", body: "body.html")
LL
ŹR
LL
SM
DP
PG
LL
pypy3
, надеюсь