Skip to content
This repository was archived by the owner on Apr 7, 2019. It is now read-only.

Commit 929524f

Browse files
committed
Merge pull request #7 from pattern-lab/feature/article-2col-fix
fixed 2col article to be 2 columns, and standard article to be 1
2 parents 3720eda + 27cee4f commit 929524f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

dist/_patterns/03-templates/03-article-2col.twig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "templates-page-1col" %}
1+
{% extends "templates-page-2col" %}
22
{% block main %}
33
<article class="article">
44
<header class="article-header">
@@ -10,3 +10,8 @@
1010
{% include "molecules-social-share" %}
1111
{% include "organisms-comment-thread" %}
1212
{% endblock %}
13+
14+
{% block sidebar %}
15+
{% include "organisms-related-posts" %}
16+
{% include "organisms-recent-tweets" %}
17+
{% endblock %}
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "templates-page-2col" %}
1+
{% extends "templates-page-1col" %}
22
{% block main %}
33
<article class="article">
44
<header class="article-header">
@@ -10,8 +10,3 @@
1010
{% include "molecules-social-share" %}
1111
{% include "organisms-comment-thread" %}
1212
{% endblock %}
13-
14-
{% block sidebar %}
15-
{% include "organisms-related-posts" %}
16-
{% include "organisms-recent-tweets" %}
17-
{% endblock %}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{% include "templates-article" %}
1+
{% include "templates-article-2col" %}

0 commit comments

Comments
 (0)