Hi all, I hope this is the correct place to post my issue. I've scoured the forums and have found problems similar to mine, but I simply can't figure out what I'm missing. I've been running Drupal on our departments website for 6 years now, starting with 6 and migrating to 7 successfully.
It seems that page title is printed in {{ page.content }} ... How can I separate the title and the content of the page in this template file, how can I print title and content separately?
How can I properly set a class for body tag for the front page?
mytheme_preprocess_html() have an access to body attributes, but it doesn't know if the page is front.
And mytheme_preprocess_page() have is_front, but I can't set attributes in there.
i am absolutly new in Drupal and came from ModX.
My question - so simple it seems to be - is just,
how can i make an new (twig) theme from scratch with bootstrap ?
i created a new theme folder called /sly with a sly.info.yml and the following content:
I'm trying to make my first Drupal 8 theme and I've already hit a roadblock: A number of important placeholders are empty when rendering html.html.twig - most notably {{ head }}, {{ styles }}, {{ scripts }} and {{ scripts_bottom }} ... this makes theming a bit difficult, if you ask me ;-)