Skip to content

Commit af17a1b

Browse files
committed
Merge #938: Re-add empty author sidebar to fix alignment
fda7ea5 Re-add empty author sidebar to fix aligment (stickies-v) Pull request description: Prior to #863, an `article-author-side` sidebar ensured the main content was centered. This commit reintroduces the (empty) sidebar that #863 removed to fix the layout. I have very little experience working with html/css so if there are more elegant solutions I'm open to that too, but this seems to revert to the old behaviour in a quite simple way. Before: ![image](https://user-images.githubusercontent.com/69010457/204641428-01277e90-66f8-400d-a500-9746144d5934.png) After: ![image](https://user-images.githubusercontent.com/69010457/204641455-2e7240df-499d-4524-b4d5-20bde66c66b6.png) Top commit has no ACKs. Tree-SHA512: e7c33a22359b2245918271d5cffc62f658af62c75eeedc986b743ef683f52b19e61a5bd14662afa5c466e3cbc350bfd40c66a050ff42e40da72774235e8ebe5b
2 parents 3c4d480 + fda7ea5 commit af17a1b

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)