Skip to content

Commit

Permalink
Bugfix: menu subheading structure on docs pages
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceOrunitia committed Jul 29, 2024
1 parent aaf2061 commit d1e8ad5
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions layouts/docs/single.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
{{ define "main" }}

<a id="td-block" class="td-offset-anchor"></a>
<section class="row block-lead td-box td-box--light position-relative td-box--gradient">
<div class="container text-center td-arrow-down d-flex">
{{ with .LinkTitle }}
<div class="h3 conference mb-0" id="release-title">
{{ . }}
</div>
<section class="row block-lead td-box td-box--light position-relative td-box--gradient">
{{ if .Params.Rss }}
<div class="container text-center td-arrow-down d-flex">
{{ with .LinkTitle }}
<div class="h3 conference mb-0" id="release-title">
{{ . }}
</div>
{{ end }}
{{ else }}
<div class="container text-center td-arrow-down">
{{ with .LinkTitle }}
<div class="h3 conference mb-0">
{{ . }}
</div>
{{ end }}
{{ end }}
<div class="h4 mb-0">
{{ .Title }}
Expand All @@ -19,23 +28,18 @@
</a>
</span>
</div>
{{ end}}
{{ end }}
</div>
</section>

<section class="row td-box td-box--white td-box--gradient pt-5 pb-5">
<section class="row td-box td-box--white td-box--gradient pt-5 pb-5">
<div class="col">
<div class="row">
{{ .Description }}
</div>
</div>
</section>




{{ .Content }}



{{ end }}
{{ end }}

0 comments on commit d1e8ad5

Please sign in to comment.