mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-26 18:30:28 +00:00
Add _includes/after-content.html and remove docs site default layout override
This commit is contained in:
parent
6308789788
commit
a0aa8f80a7
@ -9,6 +9,7 @@
|
||||
### Maintenance
|
||||
|
||||
- Bump shell-quote from 1.7.1 to 1.7.3 [#3692](https://github.com/mmistakes/minimal-mistakes/issues/3692)
|
||||
- Add `after-content.html` include to ease docs site overrides.
|
||||
|
||||
## [4.25.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.25.0)
|
||||
|
||||
|
0
_includes/after-content.html
Normal file
0
_includes/after-content.html
Normal file
@ -15,6 +15,7 @@
|
||||
|
||||
<div class="initial-content">
|
||||
{{ content }}
|
||||
{% include after-content.html %}
|
||||
</div>
|
||||
|
||||
{% if site.search == true %}
|
||||
@ -31,6 +32,5 @@
|
||||
</div>
|
||||
|
||||
{% include scripts.html %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -5,7 +5,7 @@ permalink: "/docs/history/"
|
||||
excerpt: Change log of enhancements and bug fixes made to the theme.
|
||||
sidebar:
|
||||
nav: docs
|
||||
last_modified_at: '2024-04-23T11:44:09+08:00'
|
||||
last_modified_at: '2024-04-23T12:01:43+08:00'
|
||||
toc: false
|
||||
---
|
||||
|
||||
@ -24,6 +24,7 @@ toc: false
|
||||
### Maintenance
|
||||
|
||||
- Bump shell-quote from 1.7.1 to 1.7.3 [#3692](https://github.com/mmistakes/minimal-mistakes/issues/3692)
|
||||
- Add `after-content.html` include to ease docs site overrides.
|
||||
|
||||
## [4.25.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.25.0)
|
||||
|
||||
|
8
docs/_includes/after-content.html
Normal file
8
docs/_includes/after-content.html
Normal file
@ -0,0 +1,8 @@
|
||||
<div align="center" style="margin: 1em 0;">
|
||||
<ins class="adsbygoogle"
|
||||
style="display:block; border-bottom: initial;"
|
||||
data-ad-client="ca-pub-7328585512091257"
|
||||
data-ad-slot="3049671934"
|
||||
data-ad-format="auto"
|
||||
data-full-width-responsive="true"></ins>
|
||||
</div>
|
11
docs/_includes/comments-providers/scripts.html
Normal file
11
docs/_includes/comments-providers/scripts.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% comment %}
|
||||
Repurposing this file as "after-scripts.html" snippet,
|
||||
since the docs site isn't using comments anyway.
|
||||
{% endcomment %}
|
||||
<style>
|
||||
.google-auto-placed {
|
||||
margin: 2em auto;
|
||||
}
|
||||
</style>
|
||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
|
@ -1,51 +0,0 @@
|
||||
---
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
{% include copyright.html %}
|
||||
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
||||
<head>
|
||||
{% include head.html %}
|
||||
{% include head/custom.html %}
|
||||
</head>
|
||||
|
||||
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
||||
{% include_cached skip-links.html %}
|
||||
{% include masthead.html %}
|
||||
|
||||
<div class="initial-content">
|
||||
{{ content }}
|
||||
<div align="center" style="margin: 1em 0;">
|
||||
<ins class="adsbygoogle"
|
||||
style="display:block; border-bottom: initial;"
|
||||
data-ad-client="ca-pub-7328585512091257"
|
||||
data-ad-slot="3049671934"
|
||||
data-ad-format="auto"
|
||||
data-full-width-responsive="true"></ins>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if site.search == true %}
|
||||
<div class="search-content">
|
||||
{% include search/search_form.html %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="page__footer">
|
||||
<footer>
|
||||
{% include footer/custom.html %}
|
||||
{% include footer.html %}
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
{% include scripts.html %}
|
||||
<style>
|
||||
.google-auto-placed {
|
||||
margin: 2em auto;
|
||||
}
|
||||
</style>
|
||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user