There are multiple ways to achieve what I need but was wondering if anyone could explain the `Drupal` (Version 8) way of achieving this.
I have four very similar paragraphs:
1. Title, subtitle and HTML copy (1 column 3 rows, full page width)
2. Two columns, each column containing content as per point 1 above.
3. Three columns with point 1 content in each column.
4. No title or subtitle. List of unordered bullet points instead of the HTML copy
I have created one custom block having reference entity field. I have two templates to render design. One is 'block--bundle--block_name.html.twig' and another one is 'field--field-field_name.html.twig'.
Inside block--bundle--block_name.html.twig I have below code with some custom HTML-
{% block content %} {{ content }} {% endblock %}
And field--field--field-field_name.html.twig contains below with some custom HTML-
Taxonomy view help me to show in a personal page all my articles put in a taxonomy tree.
But I would like to have specific behavior for a given vocabulary. So for this one to remove it from the default taxonomy view and make it a special one.
how to exclude this vocabulary from the first and create another only for it.
Hi! I'm quite new to drupal 8 and twig, but this is something I thought would be rader easy to do, but I still struggle with.
I have a node type curriculum with two entity reference fields called 'optional' and 'mandatory'. Each of these reference fields contains a list of nodes. In the template, '{{ content }}' displays the entities together and not separates like I want to display it. I thought I could just write {{ content.field_mandatory }} and {{ content.field_optional }} to display them separately, but this shows nothing.