This repository was archived by the owner on Sep 21, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed
web/wp-content/themes/studiometa/templates Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 20
20
<body class =" {{ body_class }}" data-breakpoint >
21
21
{# Header #}
22
22
{% block header %}
23
- {% include ' components /header.twig' %}
23
+ {% include ' organisms /header.twig' %}
24
24
{% endblock %}
25
25
26
26
{# Content #}
32
32
33
33
{# Footer #}
34
34
{% block footer %}
35
- {% include ' components /footer.twig' %}
35
+ {% include ' organisms /footer.twig' %}
36
36
{% endblock %}
37
37
</body >
38
38
</html >
Original file line number Diff line number Diff line change 5
5
</h1 >
6
6
7
7
<nav class =" nav-main" role =" navigation" >
8
- {% include ' components /menu.twig' with {
8
+ {% include ' organisms /menu.twig' with {
9
9
menu : menu .get_items
10
10
} %}
11
11
</nav >
Original file line number Diff line number Diff line change 3
3
{% for item in menu %}
4
4
<li class =" {{ item .classes | join (' ' ) }}" >
5
5
<a target =" {{ item .target }}" href =" {{ item .link }}" >{{ item .title }}</a >
6
- {% include ' components /menu.twig' with {
6
+ {% include ' organisms /menu.twig' with {
7
7
menu : item .children
8
8
} %}
9
9
</li >
Original file line number Diff line number Diff line change 1
- {% extends ' components /tease.twig' %}
1
+ {% extends ' organisms /tease.twig' %}
2
2
3
3
{% block content %}
4
4
<h2 class =" h2" >
Original file line number Diff line number Diff line change 2
2
3
3
{% block content %}
4
4
{% 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' ] %}
6
6
{% endfor %}
7
7
8
- {% include ' components /pagination.twig' with {
8
+ {% include ' organisms /pagination.twig' with {
9
9
pagination : posts.pagination ({
10
10
show_all : false ,
11
11
mid_size : 3 ,
Original file line number Diff line number Diff line change 5
5
{# see `base.twig:27` for where this block's content will be inserted #}
6
6
<div class =" content-wrapper" >
7
7
{% 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' ] %}
9
9
{% endfor %}
10
10
11
- {% include ' components /pagination.twig' with {
11
+ {% include ' organisms /pagination.twig' with {
12
12
pagination : posts.pagination ({
13
13
show_all : false ,
14
14
mid_size : 3 ,
You can’t perform that action at this time.
0 commit comments