Skip to content

Commit

Permalink
chore(docs): small improvement to separate h1 and lead paragraph (#1367)
Browse files Browse the repository at this point in the history
* removed unused ads.html
  • Loading branch information
julien-deramond authored Jul 7, 2022
1 parent ecf1144 commit 12dbdea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions site/layouts/_default/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ <h5 class="offcanvas-title" id="bdSidebarOffcanvasLabel">Browse docs</h5>
</a>
<h1 class="bd-title mb-0" id="content">{{ .Title | markdownify }}</h1>
</div>
<p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p>
{{ partial "ads" . }}
<p class="bd-lead mt-2">{{ .Page.Params.Description | markdownify }}</p>
<!-- Boosted mod: No ads -->
</div>

{{ if (eq .Page.Params.toc true) }}
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h1 class="display-1">{{ .Title | markdownify }}</h1>
</div>
{{ end }}
</div>
<!-- No ads -->
<!-- Boosted mod: No ads -->
</div>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion site/layouts/partials/ads.html

This file was deleted.

0 comments on commit 12dbdea

Please sign in to comment.