This commit is contained in:
Andrey Vasnetsov
2021-04-24 16:48:33 +02:00
parent 4bb25dc718
commit e727b9d5ad
22 changed files with 693 additions and 19 deletions
@@ -0,0 +1,9 @@
{{- partial "header.html" . -}}
{{- partial "second_header.html" . -}}
<div id="content">
{{ block "main" . }}{{ end }}
</div>
{{- partial "footer.html" . -}}
@@ -0,0 +1,50 @@
{{ define "main" }}
<section>
<div class="auto-container pt-5">
<div class="row clearfix">
<div class="col-12 sec-title text-center">
<h4>{{ .Params.description }}</h4>
<div class="text">
</div>
</div>
{{ range .Pages }}
{{ $link := .Permalink }}
{{ if .Params.external_link }}
{{ $link = .Params.external_link }}
{{ end }}
{{ if .Params.short_description }}
<div class="col-lg-4 col-md-6 col-sm-12">
<!-- News block Two -->
<div class="news-block-two">
<div class="inner-box">
<div class="image">
<a href="{{ $link }}" data-caption="{{ .Title }}"><img src="{{ .Params.preview_image }}" alt="" /></a>
</div>
<div class="lower-box">
<div class="clearfix">
<h5>{{ .Title }}</h5>
<p>{{ .Params.short_description | markdownify }}</p>
<div class="pull-right">
<a href="{{ $link }}" target="_blank" class="theme-btn btn-style-five btn-small">
<span class="txt">Read</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
{{ end }}
{{ end }}
</div>
</div>
</section>
{{ end }}
@@ -0,0 +1,10 @@
{{ define "main" }}
<article>
<div class="auto-container mb-5 mt-5">
{{ .Content }}
</div>
</article>
{{ end }}
@@ -215,7 +215,7 @@
{{ with (.Site.GetPage "section" "articles") }}
<!-- End Projects Section Two -->
<!-- End Articles Section -->
<section id="articles" class="projects-section-two" style="background-image: url(/images/background/pattern-9.png)">
<div class="auto-container">
<!-- Sec Title -->
@@ -238,13 +238,13 @@
<div class="inner-box wow fadeInLeft" data-wow-delay="0ms" data-wow-duration="1500ms">
<div class="block-content">
<div class="image">
<a href="{{ $link }}"><img src="{{ .Params.preview_image }}" alt=""/></a>
<a href="{{ $link }}" target="_blank"><img src="{{ .Params.preview_image }}" alt=""/></a>
</div>
<div class="lower-content">
<h5><a href="{{ $link }}">{{ .Title }}</a></h5>
<div class="text">{{ .Params.description }}
</div>
<a href="{{ $link }}" class="theme-btn learn-btn"><span class="txt">Learn More</span></a>
<a href="{{ $link }}" target="_blank" class="theme-btn learn-btn"><span class="txt">Learn More</span></a>
</div>
</div>
</div>
@@ -254,7 +254,7 @@
</div>
</div>
</section>
<!-- End Projects Section Two -->
<!-- End Articles Section -->
{{ end }}
@@ -141,11 +141,15 @@
</div>
<div class="modal-body">
<!-- Newsletter Form -->
<p>Subscribe to our e-mail newsletter if you want to receive news about new features and applications of Qdrant.</p>
<p>Subscribe to our e-mail newsletter if you want to be updated on new features and news regarding Qdrant.</p>
<p>Like what we are doing? Consider giving us a ⭐ <a href="{{ .Site.Params.github }}">on Github</a>.</p>
<div class="newsletter-form">
<form method="post" action="contact.html">
<form action="{{ .Site.Params.mailchimp_subscribe }}" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div class="form-group">
<input type="email" name="email" value="" placeholder="Enter Your Email" required="">
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input type="text" name="{{ .Site.Params.mailchimp_subscribe_id }}" tabindex="-1" value="">
</div>
<input type="email" name="EMAIL" value="" placeholder="Enter Your Email" required="">
<button type="submit" class="theme-btn btn-style-three"><span class="txt">Subscribe</span>
</button>
</div>
@@ -29,12 +29,9 @@
<div class="clearfix">
<p>{{ .Params.short_description | markdownify }}</p>
<div class="pull-right">
{{ if .Params.default_link }}
<a href="{{ .Params.default_link }}" class="theme-btn btn-style-five"><span
class="txt">{{ .Params.default_link_name }}</span></a>
{{ else }}
<a href="#" class="theme-btn btn-style-five btn-small"><span class="txt">Learn More...</span></a>
{{end}}
<a href="{{ .Site.Params.mailchimp_contact_form }}" target="_blank" class="theme-btn btn-style-five btn-small">
<span class="txt">Contact Us</span>
</a>
</div>
</div>
</div>
@@ -25,10 +25,13 @@
<div class="media-body">
<h5 class="mt-0">{{ .Title }}</h5>
<p>{{ .Content }}</p>
<a target="_blank" href="#" class="float-right mr-3"><span class="txt">Learn more</span></a>
<a target="_blank" href="{{ .Site.Params.mailchimp_contact_form }}" class="float-right mr-3"><span class="txt">Contact Us</span></a>
{{ if .Params.custom_link }}
<a target="_blank" href="{{ .Params.custom_link }}" class="float-right mr-3"><span class="txt">{{ .Params.custom_link_name }}</span></a>
{{ end }}
{{ if .Params.custom_link2 }}
<a target="_blank" href="{{ .Params.custom_link2 }}" class="float-right mr-3"><span class="txt">{{ .Params.custom_link_name2 }}</span></a>
{{ end }}
</div>
</div>
</div>
@@ -84,4 +84,10 @@ QDRANT - RELATED
.news-icon {
font-size: 40px;
}
article img {
display: block;
margin-left: auto;
margin-right: auto;
}