Skip to content
New issue

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

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

Already on GitHub? # to your account

Update added based on 99#issuecomment-1529219324 #139

Merged
merged 4 commits into from
May 1, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions content/english/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ call_to_action:
image: ""
button_label: ""
button_link: ""
title: ""
subtitle: ""
image: ""
button_label: ""
button_link: ""

footer:
footer_light: false
Expand Down
9 changes: 7 additions & 2 deletions content/english/platform/capten.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,17 @@ call_to_action:
enable: true
title: "Start using <br/> Compage <br/> platform today..."
title_color: "#fff"
# subtitle: ""
# subtitle_color: ""
image: "images/call-to-actions/compage/robo-image.svg"
button_label: "Get Started"
button_link: "contact/"
bg_color: "#005DFF"
bottom_bg_color: "#080338"

footer:
footer_light: false
# footer:
# footer_light: false
# bg_color: "red"
# bg_image: "images/contact-image1.jpg"
# bg_image_overlay_color: "rgba(0,0,0,.85)"
---
2 changes: 1 addition & 1 deletion themes/delta/layouts/_default/about.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{define "main"}}
{{ partial "header.html" . }}

<section class="banner bg-tertiary-soft rounded-lg wave-block overflow-hidden">
{{ partial "header.html" . }}

{{with .Params.banner}}
<div class="container container-delta block">
Expand Down
4 changes: 3 additions & 1 deletion themes/delta/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h3 class="h5 title mb-1"><a href="{{.RelPermalink}}" class="text-dark">{{ .Titl

{{ $related := (where site.RegularPages "Section" "in" site.Params.mainSections) | intersect (where site.RegularPages ".Title" "!=" .Title) | union (site.RegularPages.Related . ) }}
{{ if $related }}
<section class="section pt-5">
<section class="pt-5">
<div class="container">
<div class="row justify-content-center" data-aos="fade-in">
<div class="col-12">
Expand Down Expand Up @@ -156,4 +156,6 @@ <h2 class="title">{{i18n `related_posts`}}</h2>
{{ end }}
<!-- /regular page -->

{{ partial "call-to-action-2.html" . }}

{{ end }}
4 changes: 4 additions & 0 deletions themes/delta/layouts/partials/call-to-action-3.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ <h3 class="title h2 text-capitalize mb-2" style="color:{{.title_color}} !importa
{{.title | markdownify}}
{{ partial "image.html" (dict "Src" "images/call-to-actions/compage/bg-layer.svg" "Class" "bg-layer img-fluid" ) }}
</h3>

{{ if .subtitle }}
<p class="mb-4" style="color:{{.subtitle_color}} !important">{{.subtitle | markdownify}}</p>
{{ end }}

{{ if .button_label }}
<a href="{{.button_link | relLangURL}}" class="btn btn-dark border-0">{{.button_label}} <i class="arrow-right fas fa-arrow-right"></i></a>
Expand Down
2 changes: 1 addition & 1 deletion themes/delta/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{{ end }}

<footer class="{{if $footer_light}}bg-light{{else}}bg-dark{{end}} px-1 wave-block"
style="{{- if $bg_color -}}background-color:{{$bg_color}}!important;{{- end -}}{{- if $bg_image -}}background-image: url({{$bg_image | absURL}}); background-repeat: no-repeat; background-position: center center; background-attachment: fixed; background-size: cover;{{- end -}}">
style="{{- if $bg_color -}}background-color:{{$bg_color}}!important;{{- end -}}{{- if $bg_image -}}background-image: url({{$bg_image.RelPermalink}}); background-repeat: no-repeat; background-position: center center; background-attachment: fixed; background-size: cover;{{- end -}}">
{{- if and $overlay $bg_image -}}<div class="footer-overlay" style="background-color:{{$overlay | safeCSS}}"></div>{{- end -}}
<div class="container container-delta">
<div class="row align-items-center gy-3">
Expand Down