Skip to content

Commit d322781

Browse files
authored
Merge pull request #1194 from griffenedge/main
2 parents ce2e96c + 65c5be3 commit d322781

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

_layouts/base.html

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,16 @@ <h1><a href="{{ site.baseurl }}/">{{ site.title }}</a></h1>
119119
{% endif -%}
120120
</header>
121121

122-
{% comment -%}
123-
This is primarily intended to remove the trailing slash from the
124-
self-closing `img` tags that result from rendered Markdown text.
125-
{% endcomment -%}
126-
{% capture rendered_content -%}
127-
{{ content }}
128-
{% endcapture -%}
129-
{{ rendered_content | replace: " />", ">" | replace: "/>", ">" -}}
122+
<main>
123+
{% comment -%}
124+
This is primarily intended to remove the trailing slash from the
125+
self-closing `img` tags that result from rendered Markdown text.
126+
{% endcomment -%}
127+
{% capture rendered_content -%}
128+
{{ content }}
129+
{% endcapture -%}
130+
{{ rendered_content | replace: " />", ">" | replace: "/>", ">" -}}
131+
</main>
130132
</div>
131133

132134
{% if site.forkme_nwo -%}
@@ -144,7 +146,11 @@ <h1><a href="{{ site.baseurl }}/">{{ site.title }}</a></h1>
144146
{% assign forkme_url = "https://github.com/Homebrew/brew" -%}
145147
{% endif -%}
146148

147-
<a href="{{ forkme_url }}"><img id="forkme" src="{{ "/assets/img/forkme_right_gray_6d6d6d.svg" | relative_url }}" alt="Fork me on GitHub"></a>
149+
<aside>
150+
<a href="{{ forkme_url }}">
151+
<img id="forkme" src="{{ "/assets/img/forkme_right_gray_6d6d6d.svg" | relative_url }}" alt="Fork me on GitHub">
152+
</a>
153+
</aside>
148154
<script>
149155
function loadLanguage(lang) {
150156
if (lang === {{ page.lang | jsonify }}) {

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<article id="post">
55
<h2>{{ page.title }}</h2>
66
<h3>{{ page.date | date_to_long_string }}</h3>
7-
<h3 class="author"><a href="https://github.com/{{ page.author }}"><img class="avatar" src="https://avatars2.githubusercontent.com/{{ page.author }}?v=3&amp;s=80" alt="{{ page.author }}" width="40" height="40">{{ page.author }}</a></h3>
7+
<h3 class="author"><a href="https://github.com/{{ page.author }}"><img class="avatar" src="https://avatars2.githubusercontent.com/{{ page.author }}?v=3&amp;s=80" alt="" width="40" height="40">{{ page.author }}</a></h3>
88
<div class="postcontent singlepostcontent">
99
{{ content }}
1010

0 commit comments

Comments
 (0)