Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BSv5] community/list row-col hierarchy fix #1471

Merged
merged 1 commit into from
Mar 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 9 additions & 6 deletions layouts/community/list.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
{{ define "main" -}}

<a class="td-offset-anchor"></a>
<section class="row td-box td-box--primary position-relative td-box--height-auto">
<section
class="row td-box td-box--primary position-relative td-box--height-auto"
>
<div class="col-12 px-0">
<div class="container text-center td-arrow-down">
<span class="h4 mb-0">
<h1>{{ T "community_join" . }}</h1>
<p>{{ T "community_introduce" . }}</p>
</span>
<span class="h4 mb-0">
<h1>{{ T "community_join" . }}</h1>
<p>{{ T "community_introduce" . }}</p>
</span>
</div>
</div>
</section>

{{ partial "community_links.html" . -}}

{{ with .Content -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/blocks/cover.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<section id="{{ $blockID }}" class="row td-cover-block td-cover-block--height-{{ $height -}}
{{ if not .Site.Params.ui.navbar_translucent_over_cover_disable }} js-td-cover
{{- end }} td-overlay td-overlay--dark -bg-{{ $col_id }}">
<div class="col-12 p-0">
<div class="col-12 px-0">
<div class="container td-overlay__inner">
<div class="text-center">
{{ with .Get "title" }}<h1 class="display-1 mt-0 mt-md-5 pb-4">{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "70x70 %s" $logo_anchor)) }}<img class="td-cover-logo" src="{{ $logo_image_resized.RelPermalink }}" alt="{{ $title | html }} Logo">{{ end }}{{ $title | html }}</h1>{{ end }}
Expand Down