Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Commit 9b29ac9

Browse files
committed
RFix path to organisms in the templates
1 parent 04c1a64 commit 9b29ac9

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

web/wp-content/themes/studiometa/templates/layouts/base.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<body class="{{ body_class }}" data-breakpoint>
2121
{# Header #}
2222
{% block header %}
23-
{% include 'components/header.twig' %}
23+
{% include 'organisms/header.twig' %}
2424
{% endblock %}
2525

2626
{# Content #}
@@ -32,7 +32,7 @@
3232

3333
{# Footer #}
3434
{% block footer %}
35-
{% include 'components/footer.twig' %}
35+
{% include 'organisms/footer.twig' %}
3636
{% endblock %}
3737
</body>
3838
</html>

web/wp-content/themes/studiometa/templates/organisms/header.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</h1>
66

77
<nav class="nav-main" role="navigation">
8-
{% include 'components/menu.twig' with {
8+
{% include 'organisms/menu.twig' with {
99
menu: menu.get_items
1010
} %}
1111
</nav>

web/wp-content/themes/studiometa/templates/organisms/menu.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% for item in menu %}
44
<li class="{{ item.classes|join(' ') }}">
55
<a target="{{ item.target }}" href="{{ item.link }}">{{ item.title }}</a>
6-
{% include 'components/menu.twig' with {
6+
{% include 'organisms/menu.twig' with {
77
menu: item.children
88
} %}
99
</li>

web/wp-content/themes/studiometa/templates/organisms/tease-post.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends 'components/tease.twig' %}
1+
{% extends 'organisms/tease.twig' %}
22

33
{% block content %}
44
<h2 class="h2">

web/wp-content/themes/studiometa/templates/pages/index.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
{% block content %}
44
{% for post in posts %}
5-
{% include ['components/tease-' ~ post.post_type ~ '.twig', 'components/tease.twig'] %}
5+
{% include ['organisms/tease-' ~ post.post_type ~ '.twig', 'organisms/tease.twig'] %}
66
{% endfor %}
77

8-
{% include 'components/pagination.twig' with {
8+
{% include 'organisms/pagination.twig' with {
99
pagination: posts.pagination({
1010
show_all: false,
1111
mid_size: 3,

web/wp-content/themes/studiometa/templates/pages/search.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
{# see `base.twig:27` for where this block's content will be inserted #}
66
<div class="content-wrapper">
77
{% for post in posts %}
8-
{% include ['components/tease-' ~ post.post_type ~ '.twig', 'components/tease.twig'] %}
8+
{% include ['organisms/tease-' ~ post.post_type ~ '.twig', 'organisms/tease.twig'] %}
99
{% endfor %}
1010

11-
{% include 'components/pagination.twig' with {
11+
{% include 'organisms/pagination.twig' with {
1212
pagination: posts.pagination({
1313
show_all: false,
1414
mid_size: 3,

0 commit comments

Comments
 (0)