Skip to content

Commit fda7ea5

Browse files
committed
Re-add empty author sidebar to fix aligment
Prior to #863, an article-author-side sidebar ensured the main content was centered. This commit reintroduces that (empty) sidebar to fix the layout.
1 parent 4294ef1 commit fda7ea5

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

_layouts/home.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
{% endif %}
3030

3131
<div id="main" role="main">
32+
<div class="article-author-side">&nbsp;</div>
3233
<div id="index">
3334
{% assign navigation = site.data.navigation[page.lang] %}
3435
<h3><a href="{{ navigation.blog.url }}">Recent Posts</a></h3>

_layouts/page.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
{% endif %}
3030

3131
<div id="main" role="main">
32+
<div class="article-author-side">&nbsp;</div>
3233
<article class="page">
3334
<h1>{{ page.title | xml_escape }}</h1>
3435
<div class="article-wrap">

_layouts/post-index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
{% endif %}
3030

3131
<div id="main" role="main">
32+
<div class="article-author-side">&nbsp;</div>
3233
<div id="index">
3334
<h1>{{ page.title | xml_escape }}</h1>
3435
{% capture written_year %}'None'{% endcapture %}

_layouts/post.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
{% endif %}
3030

3131
<div id="main" role="main">
32+
<div class="article-author-side">&nbsp;</div>
3233
<article class="post h-entry">
3334
<div class="headline-wrap">
3435
{% if page.link %}

0 commit comments

Comments
 (0)