Upload files to 'layouts/_default'

master
Edwin Lyon 3 years ago
parent 1f7819a324
commit e6e980b341
  1. 16
      layouts/_default/baseof.html
  2. 25
      layouts/_default/changelog.html
  3. 35
      layouts/_default/list.html
  4. 69
      layouts/_default/pricing.html
  5. 15
      layouts/_default/regular.html

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="{{ with site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
{{ partial "head.html" . }}
<body id="top" data-spy="scroll" data-target="#navbar-spy" class="position-relative">
{{ partialCached "preloader.html" . }}
{{ .Scratch.Set "bg" "bg-light-gray" }}
{{ partial "header.html" . }}
{{ if not .IsHome }}
{{ partial "page-header.html" . }}
{{ end }}
{{ block "main" . }}{{ end }}
{{ partialCached "footer.html" . }}
</body>
</html>

@ -0,0 +1,25 @@
{{ define "main" }}
<section class="section-padding">
<div class="container">
<div class="row no-gutters" data-aos="fade-in" data-aos-delay="150">
<div class="col-lg-3 col-md-4 mt-2 mt-lg-0 d-none d-md-block">
<ul id="navbar-spy" class="nav flex-column tabs-navbar position-sticky">
{{ range .Params.sidelist }}
<li class="nav-item">
<a class="nav-link h5 font-weight-600 px-0 py-4 border-bottom smooth-scroll"
href="#{{ replace . `.` `` | urlize}}">{{ . }}</a>
</li>
{{ end }}
</ul>
</div>
<div class="col-lg-8 col-md-8 border-left border-md-0">
<div class="content content-active pl-0 pl-md-4 ml-0 ml-md-2">
{{ .Content }}
</div>
</div>
</div>
</div>
</section>
{{ end }}

@ -0,0 +1,35 @@
{{ define "main" }}
<section class="section-padding pb-40" data-aos="fade-in" data-aos-delay="150">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6 col-md-9 text-center mb-40">
<div class="content">
{{ .Content }}
</div>
</div>
</div>
<div class="row">
{{ range .Data.Pages }}
<div class="col-lg-4 col-md-6 mb-40">
<div class="card border-0 h-100">
<a class="d-flex flex-fill align-items-center" href="{{.Permalink}}"><img loading="lazy" class="card-img-top rounded" src="{{ .Params.Image | absURL }}" alt="blog-image"></a>
<div class="p-25 pb-0">
<div class="post-category position-relative mb-15">{{ range $i,$p:= .Params.Categories }}{{if ne $i 0}},{{end}}<a
href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}" class="text-black-200 font-weight-600 ml-1">{{ . | humanize }} </a>
{{ end }}
</div>
<a class="h4 font-weight-bold d-block mb-15" href="{{.Permalink}}">{{ .Title }}</a>
<div class="post-meta font-weight-600 mb-15">{{.PublishDate.Format "02 Jan, 2006"}}<span class="mx-2">|</span>{{ .Page.ReadingTime }} {{ i18n "minute_read" }}
</div>
<p>{{ .Summary }}</p>
</div>
</div>
<!-- blog-post item -->
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}

@ -0,0 +1,69 @@
{{ define "main" }}
<section class="section-padding" data-aos="fade-in" data-aos-delay="150">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6 col-md-9 text-center mb-40">
<div class="content">{{ .Content }}</div>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<div class="pricing-switch d-flex align-items-center justify-content-center w-100 mb-20">
<label class="h5 m-0" id="monthly">{{ i18n "monthly" }}</label>
<div class="toggle">
<input class="pricing-check" type="checkbox"><b class="switch"></b>
</div>
<label class="h5 m-0" id="annually">{{ i18n "yearly"}}</label>
</div>
<!-- pricing-switcher -->
{{with .Params.offer}} <p class="text-primary mb-30">{{ . | markdownify }}</p> {{end}}
</div>
</div>
<div class="row">
{{ range .Params.pricing_card }}
<div class="col-xl-4 col-md-6">
<div class="card rounded shadow border-0 mb-30">
<div class="card-body p-30">
<span class="h2 font-weight-bold d-inline-flex">
$<span class="data-count" data-count-monthly="{{.monthly_price}}"
data-count-annually="{{.yearly_price}}">{{.monthly_price}}</span>
</span>
<span class="text-monthly">\{{ i18n "month"}}</span>
<span class="text-annually d-none">\{{ i18n "year"}}</span>
<h3 class="font-weight-600 mt-15 mb-10">{{ .name }}</h3>
<p class="border-bottom pb-15">{{ .content | markdownify}}</p>
<ul class="list-unstyled check-list-2 mt-30 mb-40">
{{ range .services }}
<li class="mb-25">
<span><svg width="16" height="11" viewBox="0 0 18 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 6.125L6.91892 11L16 2" stroke="currentColor" stroke-width="3" stroke-linecap="round"
stroke-linejoin="round" /></svg></span>
{{ . |markdownify}}
</li>
{{ end }}
</ul>
{{ if .featured }}
<a href="{{ .button_link | absLangURL }}" class="btn btn-primary has-icon d-block">{{ .button_label }}
<span class="icon">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M12.5522 6.66669L20.5522 14.6667C21.0329 15.1473 21.0699 15.9036 20.6632 16.4267L20.5522 16.5523L12.5522 24.5523L10.6666 22.6667L17.7228 15.6095L10.6666 8.55231L12.5522 6.66669Z"
fill="currentColor" />
</svg>
</span>
</a>
{{ else }}
<a href="{{ .button_link | absLangURL }}" class="btn btn-outline-primary d-block">{{ .button_label }}</a>
{{ end }}
</div>
</div>
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}

@ -0,0 +1,15 @@
{{ define "main" }}
<section class="section-padding" data-aos="fade-in" data-aos-delay="150">
<div class="container">
<div class="row justify-content-center no-gutters">
<div class="col-lg-10">
<div class="content">
{{ .Content }}
</div>
</div>
</div>
</div>
</section>
{{ end }}
Loading…
Cancel
Save