Problem
The dart_node site includes Google Analytics in the base template. The plugin provides no way to inject analytics scripts.
Current workaround
The {% block head %} in base.njk can be used to add analytics, but:
- This requires overriding the entire base template
- There's no documented approach for analytics integration
Suggestion
Add a config option like:
techdocPlugin({
analytics: {
google: 'G-XXXXXXXXXX'
}
})
Or at minimum, document how to use {% block head %} for analytics injection.
Problem
The dart_node site includes Google Analytics in the base template. The plugin provides no way to inject analytics scripts.
Current workaround
The
{% block head %}inbase.njkcan be used to add analytics, but:Suggestion
Add a config option like:
Or at minimum, document how to use
{% block head %}for analytics injection.