Skip to content

Commit d63696d

Browse files
committed
Largely unsuccessful attempt to fix markup tag indenting
1 parent 734a6bb commit d63696d

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

_layouts/default.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ <h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1>
4040
</div>
4141
</div>
4242

43-
<div id="main" role="main" class="container">{{ content }}</div>
43+
<div id="main" role="main" class="container">
44+
{{ content }}
45+
</div>
4446

4547
<div class="wrapper-footer">
4648
<div class="container">

_layouts/post.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
---
44

55
<article class="post">
6-
7-
<h1>{{ page.title }}</h1>
6+
<h1>{{ page.title }}</h1>
87

98
<div class="entry">
109
{{ content }}
@@ -15,4 +14,4 @@ <h1>{{ page.title }}</h1>
1514
</div>
1615

1716
{% include disqus.html disqus_identifier=page.disqus_identifier %}
18-
</article>
17+
</article>

index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
<div class="posts">
66
{% for post in site.posts %}
7-
<article class="post">
8-
9-
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
7+
<article class="post">
8+
9+
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
1010

11-
<div class="entry">
12-
{{ post.content | truncatewords:40}}
13-
</div>
14-
15-
<a href="{{ post.url }}" class="read-more">Read More</a>
16-
</article>
11+
<div class="entry">
12+
{{ post.content | truncatewords:40}}
13+
</div>
14+
15+
<a href="{{ post.url }}" class="read-more">Read More</a>
16+
</article>
1717
{% endfor %}
1818
</div>

0 commit comments

Comments
 (0)