Skip to content

Commit

Permalink
_layouts: move the ad including within the page-content div
Browse files Browse the repository at this point in the history
It works locally, but will it work deployed?
  • Loading branch information
Mikaela committed May 28, 2024
1 parent 506c2e2 commit be75a68
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
4 changes: 3 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@

<div class="page-content">
<div class="wrapper">{{ content }}</div>

{% include ad.html %}
</div>

{% include footer.html %} {% include ad.html %}
{% include footer.html %}
</body>
</html>
3 changes: 2 additions & 1 deletion _layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

<div class="page-content">
<div class="wrapper">{{ content }}</div>

{% include ad.html %}
</div>
{% include ad.html %}
</body>
</html>
3 changes: 2 additions & 1 deletion _layouts/mini.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<body>
<div class="page-content">
<div class="wrapper">{{ content }}</div>

{% include ad.html %}{% include ad.html %}
</div>
</body>
{% include ad.html %}
</html>
4 changes: 2 additions & 2 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ <h1 class="post-title">{{ page.title }}</h1>
</header>
<article class="post-content">{{ content }}</article>
<hr />
</div>

{% include ad.html %}
{% include ad.html %}
</div>
4 changes: 2 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ <h1 class="post-title">{{ page.title }}</h1>
{{ content }}
<p id="post-meta">{{ tags_content }}</p>
</article>
</div>

{% include ad.html %}
{% include ad.html %}
</div>

0 comments on commit be75a68

Please sign in to comment.