1
0
mirror of https://github.com/typemill/typemill.git synced 2025-01-16 21:08:20 +01:00

Fix assets.addMeta

This commit is contained in:
trendschau 2021-12-18 20:46:59 +01:00
parent 627aa4da67
commit e2fedd8878
2 changed files with 12 additions and 1 deletions

View File

@ -150,6 +150,16 @@ abstract class Plugin implements EventSubscriberInterface
$this->container->assets->addEditorCSS($CSS);
}
protected function getMeta()
{
return $this->container->assets->meta;
}
public function addMeta($key,$meta)
{
$this->container->assets->addMeta($key, $meta);
}
protected function activateAxios()
{
$this->container->assets->activateAxios();

View File

@ -13,6 +13,8 @@
{{ assets.renderMeta() }}
{% block stylesheets %}
{{ assets.activateTachyons() }}
<link rel="stylesheet" href="{{ base_url }}/themes/cyanine/css/style.css??20210821" />
@ -176,7 +178,6 @@
</style>
{{ assets.activateTachyons() }}
{{ assets.renderCSS() }}
{% endblock %}