Add head_top and head_bottom blocks to html template

Created on 24 July 2025, 10 days ago

Problem/Motivation

I needed this from time to time to inject JS code very early in rendering page process - before html is rendered (some js that afects css) or right after it (tracking code, etc).

Injecting this in child themes is not easy so here is an idea to add support for this in bs_base html.html.twig template so child themes can easily override this blocks and inject needed code.

Remaining tasks

  • Test this on actual projects
  • If it make sense, merge it and port it to 2.0.x version.

API changes

None.

Data model changes

None.

Feature request
Status

Active

Version

1.0

Component

BS Base

Created by

🇷🇸Serbia pivica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024