first commit
This commit is contained in:
31
themes/coHub/layouts/404.html
Normal file
31
themes/coHub/layouts/404.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{{ define "main"}}
|
||||
<section class="error">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<!--start error-content -->
|
||||
<div class="error-content">
|
||||
<h2>404 Error</h2>
|
||||
<p>Oops! Page Not Found</p>
|
||||
<form action="#">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" placeholder="Search again...">
|
||||
<div class="input-search">
|
||||
<a href="#"> <i class="ti-search"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="error-content-link">
|
||||
<a href="{{.Site.BaseURL}}">
|
||||
<i class="ti-arrow-left"></i>
|
||||
back to home
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end error-content -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{end}}
|
||||
11
themes/coHub/layouts/_default/baseof.html
Normal file
11
themes/coHub/layouts/_default/baseof.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
||||
0
themes/coHub/layouts/_default/list.html
Normal file
0
themes/coHub/layouts/_default/list.html
Normal file
0
themes/coHub/layouts/_default/single.html
Normal file
0
themes/coHub/layouts/_default/single.html
Normal file
43
themes/coHub/layouts/about/list.html
Normal file
43
themes/coHub/layouts/about/list.html
Normal file
@@ -0,0 +1,43 @@
|
||||
{{ define "main"}}
|
||||
<section class="about">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="page-header">
|
||||
<h2>{{ .Title}}</h2>
|
||||
<p>{{ .Params.subTitle }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="story">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-6">
|
||||
<div class="story-content">
|
||||
{{.Content}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
{{ with .Params.slideImage }}
|
||||
<div class="story-slider">
|
||||
{{range . }}
|
||||
<div class="slider-item">
|
||||
<img src="{{ .image | absURL }}" alt="images">
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ partial "gallery.html" . }}
|
||||
{{ partial "testimonial.html" . }}
|
||||
{{ partial "client.html" . }}
|
||||
{{ partial "investor.html" . }}
|
||||
{{ partial "contactAddress.html" . }}
|
||||
|
||||
|
||||
{{end}}
|
||||
41
themes/coHub/layouts/blog/list.html
Normal file
41
themes/coHub/layouts/blog/list.html
Normal file
@@ -0,0 +1,41 @@
|
||||
{{define "main"}}
|
||||
<section class="page-title">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h1>{{.Title}}</h1>
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="{{ .Site.BaseURL }}">Home</a></li>
|
||||
<li class="breadcrumb-item active">{{.Title}}</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="blog">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ range .Paginator.Pages }}
|
||||
<div class="col-lg-4">
|
||||
<article class="blog-post">
|
||||
<img src="{{ .Params.featureImage | absURL }}" alt="blog-images">
|
||||
<div class="blog-content">
|
||||
<h3><a href="{{ .Permalink }}">{{ .Title}}</a></h3>
|
||||
<p> {{truncate 100 .Summary}} </p>
|
||||
<a class="more" href="{{ .Permalink }}">Read more <span>⟶</span></a>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{{end}}
|
||||
<div class="col-12">
|
||||
<div class="blog-pagination">
|
||||
{{partial "pagination.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
26
themes/coHub/layouts/blog/single.html
Normal file
26
themes/coHub/layouts/blog/single.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{{define "main"}}
|
||||
<article class="post">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-10 mx-auto">
|
||||
<div class="post-title">
|
||||
<h2>{{.Title}}</h2>
|
||||
</div>
|
||||
<div class="post-meta">
|
||||
<p><span>{{ .PublishDate.Format "January 2, 2006" }}</span> in
|
||||
{{ range (.GetTerms "tags") }}
|
||||
<a class="tags" href="{{ .Permalink }}">{{ .LinkTitle }}</a>
|
||||
{{ end }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="post-image">
|
||||
<img src="{{ .Params.featureImage | absURL}}" alt="feature-image">
|
||||
</div>
|
||||
<div class="post-body">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{{end}}
|
||||
48
themes/coHub/layouts/contact/list.html
Normal file
48
themes/coHub/layouts/contact/list.html
Normal file
@@ -0,0 +1,48 @@
|
||||
{{define "main"}}
|
||||
<section class="contact-section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-10 mx-auto col-md-12">
|
||||
<div class="page-header">
|
||||
<h2> {{ .Title }}</h2>
|
||||
<p>{{.Params.subTitle}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-8 mx-auto">
|
||||
<div class="contact-form">
|
||||
<h2>Contact Form</h2>
|
||||
<form id="contact-form" class="row" action="{{ .Site.Params.fabFormURL }}" method="POST">
|
||||
<div class="col-md-6">
|
||||
<input type="text" class="form-control" id="exampleFormControlInput1" name="Name" placeholder="Your Name">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<input type="email" class="form-control" id="validationCustom02" required="" name="email" placeholder="Your Email">
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<textarea class="form-control" id="exampleFormControlTextarea1" rows="8" name="message"
|
||||
placeholder="Message here…"></textarea>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="gridCheck" name="checkbox" required>
|
||||
<label class="form-check-label" for="gridCheck">
|
||||
I agree that my submitted data is being collected and stored.
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
<button type="submit" class="btn btn-primary" id="contact-form-button" formtarget="_blank">Send Message</button>
|
||||
</div>
|
||||
<p id="contact-form-status"></p>
|
||||
</form>
|
||||
<p class="contact-form-generator mt-3">
|
||||
<strong>** </strong> <a href="https://fabform.io/" target="_blank">Static website forms</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
11
themes/coHub/layouts/index.html
Normal file
11
themes/coHub/layouts/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{define "main"}}
|
||||
{{ partial "hero.html" . }}
|
||||
{{ partial "gallery.html" . }}
|
||||
{{ partial "cta.html" . }}
|
||||
{{ partial "service.html" . }}
|
||||
{{ partial "blogSection.html" . }}
|
||||
{{ partial "feedback.html" . }}
|
||||
{{ partial "pricing.html" . }}
|
||||
{{ partial "faq.html" . }}
|
||||
{{ partial "contactAddress.html" . }}
|
||||
{{end}}
|
||||
35
themes/coHub/layouts/partials/blogSection.html
Normal file
35
themes/coHub/layouts/partials/blogSection.html
Normal file
@@ -0,0 +1,35 @@
|
||||
{{with .Site.Data.blogSection}}
|
||||
{{if .enable}}
|
||||
<section class="blog" id="blog">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="section-title">
|
||||
<h2>{{.title}}</h2>
|
||||
<p>
|
||||
{{.subtitle}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justify-content-center">
|
||||
{{ range first 3 (where $.Site.RegularPages "Type" "blog") }}
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<article class="blog-post">
|
||||
<img src="{{ .Params.featureImage | absURL }}" alt="blog-images">
|
||||
<div class="blog-content">
|
||||
<h3><a href="{{ .Permalink }}">{{.Title}}</a></h3>
|
||||
<p>{{ truncate 75 .Summary }}</p>
|
||||
<a class="more" href="{{ .Permalink }}">Read more <span>⟶</span></a>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{{end}}
|
||||
<div class="col-12 text-center">
|
||||
<a href="{{.buttonTarget | absURL}}" class="btn btn-primary">View blog page</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}
|
||||
24
themes/coHub/layouts/partials/client.html
Normal file
24
themes/coHub/layouts/partials/client.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{{ with .Site.Data.clients}}
|
||||
{{ if .enable}}
|
||||
<section class="clients">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h2>{{ .title}}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="clients-slider">
|
||||
{{ range .clients}}
|
||||
<div class="clients-slider-item">
|
||||
<img src="{{ .image | absURL}}" alt="{{ .image}}">
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}
|
||||
27
themes/coHub/layouts/partials/contactAddress.html
Normal file
27
themes/coHub/layouts/partials/contactAddress.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{{ $address := .Site.Params.address}}
|
||||
<section class="contact" id="contact">
|
||||
<div class="container-fluid">
|
||||
<div class="row no-gutters">
|
||||
<div class="col-lg-6">
|
||||
{{ $map := .Site.Params.map }}
|
||||
<div id="map" data-lat={{ $map.latitude }} data-long={{ $map.longitude }} data-pin={{ $map.pinImage | absURL }}>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="contact-aria">
|
||||
<h3>
|
||||
{{ $address.address | safeHTML }}
|
||||
</h3>
|
||||
<ul>
|
||||
{{ with $address.email }}<li><i class="ti-email"></i> <a href="mailto:{{ . }}">{{ . }}</a></li>{{ end }}
|
||||
{{ with $address.phone }}<li><i class="ti-mobile"></i> <a href="tel:{{ . }}">{{ . }}</a></li>{{ end }}
|
||||
</ul>
|
||||
<p>
|
||||
{{ $address.openingDesc }}
|
||||
</p>
|
||||
<p>{{ $address.openingHours }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
19
themes/coHub/layouts/partials/cta.html
Normal file
19
themes/coHub/layouts/partials/cta.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{with .Site.Data.cta}}
|
||||
{{ if .enable }}
|
||||
<section class="cta">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="cta-content">
|
||||
<h2>{{.title}}</h2>
|
||||
<a href="{{.buttonTarget | absURL }}" class="btn btn-primary mb-3">
|
||||
Schedule your day
|
||||
</a>
|
||||
<p style="font-size: 12px;">or check out <a class="scroll-to" href="{{ $.Site.BaseURL }}{{ .priceLink }}">pricing plans</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}
|
||||
29
themes/coHub/layouts/partials/faq.html
Normal file
29
themes/coHub/layouts/partials/faq.html
Normal file
@@ -0,0 +1,29 @@
|
||||
{{with .Site.Data.faq}}
|
||||
{{if .enable}}
|
||||
<section class="faq" id="faq">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-12">
|
||||
<div class="faq-content text-block">
|
||||
<h2> {{.title}} </h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-8 col-md-12">
|
||||
<div class="row">
|
||||
{{ range .faq}}
|
||||
<div class="col-lg-6">
|
||||
<div class="faq-content">
|
||||
<h3>{{.question}}</h3>
|
||||
<p>
|
||||
{{.answer}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}
|
||||
18
themes/coHub/layouts/partials/feedback.html
Normal file
18
themes/coHub/layouts/partials/feedback.html
Normal file
@@ -0,0 +1,18 @@
|
||||
{{with .Site.Data.feedback}}
|
||||
{{if .enable}}
|
||||
<section class="testimonial" style="background-image: url( {{ .backgroundImage }} );">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<div class="testimonial-content">
|
||||
<h3>{{ .title}}</h3>
|
||||
<blockquote>
|
||||
{{ .feedback}}
|
||||
<cite>{{ .feedbackAuthor }}</cite>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}
|
||||
71
themes/coHub/layouts/partials/footer.html
Normal file
71
themes/coHub/layouts/partials/footer.html
Normal file
@@ -0,0 +1,71 @@
|
||||
<section class="footer">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-12">
|
||||
<div class="footer-logo">
|
||||
<img class="img-fluid" src="{{ .Site.Params.footerlogo | absURL}}" alt="logo">
|
||||
</div>
|
||||
<p class="footer-description">
|
||||
{{ .Site.Params.footerDescription}}
|
||||
</p>
|
||||
<div class="footer-text-block">
|
||||
<p>
|
||||
{{ .Site.Params.address.address | safeHTML}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{ $socialIcon := .Site.Params.social}}
|
||||
<div class="col-lg-6 col-md-12 align-self-end">
|
||||
<div class="footer-icon">
|
||||
<ul>
|
||||
{{ range $socialIcon }}
|
||||
<li>
|
||||
<a target="_blank" href="{{ .url }}">
|
||||
<i
|
||||
class="{{ .icon }}">
|
||||
</i>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.address.email }}
|
||||
<li><a target="_blank" href="mailto:{{ . }}"><i class="ti-email"></i></a></li>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.address.phone }}
|
||||
<li><a target="_blank" href="tel:{{ . }}"><i class="ti-mobile"></i></a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer-copyright-text">
|
||||
<p> {{ replace .Site.Params.copyright "{year}" now.Year | safeHTML }} </p>
|
||||
<ul>
|
||||
{{ $sitemap := .Site.Menus.sitemap }}
|
||||
{{ range $sitemap }}
|
||||
<li>
|
||||
<a href="{{ .URL | absURL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
{{ "<!-- Non Critical CSS -->" | safeHTML }}
|
||||
{{$style := resources.Get "scss/non-critical.scss" | resources.ToCSS | resources.Minify }}
|
||||
<link href="{{ $style.Permalink }}" rel="stylesheet" />
|
||||
<script src="https://maps.googleapis.com/maps/api/js?key={{ .Site.Params.Map.APIkey }}&libraries=geometry">
|
||||
</script>
|
||||
{{ "<!-- VENDOR JS -->" | safeHTML }}
|
||||
<script src="{{"vendor/jQuery/jquery.min.js" | absURL }}"></script>
|
||||
<script src="{{"vendor/bootstrap/bootstrap.min.js" | absURL }}"></script>
|
||||
<script src="{{"vendor/slick/slick.min.js" | absURL}}"></script>
|
||||
<script src="{{"vendor/aos/aos.js" | absURL}}"></script>
|
||||
<script src="{{"vendor/match-height/match-height.js" | absURL}}"></script>
|
||||
<script src="{{"vendor/magnific-popup/magnific-popup.min.js" | absURL}}"></script>
|
||||
<script src="{{"vendor/g-map/gmap.js" | absURL}}"></script>
|
||||
<!-- {{ $formhandler := resources.Get "js/formhandler.js" | minify}}
|
||||
<script src="{{ $formhandler.Permalink}}"></script> -->
|
||||
{{ $script := resources.Get "js/script.js" | minify}}
|
||||
<script src="{{ $script.Permalink}}"></script>
|
||||
31
themes/coHub/layouts/partials/gallery.html
Normal file
31
themes/coHub/layouts/partials/gallery.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{{ with .Site.Data.gallery }}
|
||||
{{ if .enable }}
|
||||
<section class="gallery" id="gallery">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="section-title">
|
||||
<h2>{{ .title | safeHTML }}</h2>
|
||||
<p>
|
||||
{{.subtitle}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{{ range .galleryImage }}
|
||||
<div class="col-md-6">
|
||||
<div class="gallery-item">
|
||||
<a href="{{ .image | absURL }}" data-source="{{ .image | absURL }}"
|
||||
title="{{ .description }}">
|
||||
<img src="{{ .image | absURL }}" alt="gallery-images">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
43
themes/coHub/layouts/partials/head.html
Normal file
43
themes/coHub/layouts/partials/head.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>{{.Title}}</title>
|
||||
|
||||
{{ "<!--Meta For No Index-->" | safeHTML }}
|
||||
<meta name="robots" content="noindex, Nofollow, Noimageindex">
|
||||
|
||||
{{ "<!--mobile responsive meta-->" | safeHTML }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
{{hugo.Generator}}
|
||||
{{ "<!-- Critical CSS -->" | safeHTML }}
|
||||
{{$style := resources.Get "scss/critical.scss" | resources.ToCSS | resources.Minify }}
|
||||
<link href="{{ $style.Permalink }}" rel="stylesheet" />
|
||||
|
||||
{{ with .Site.Params.theme_overrides }}
|
||||
{{ $theme_overrides := resources.Get . | minify | fingerprint "sha512" }}
|
||||
<link rel="stylesheet" href="{{ $theme_overrides.RelPermalink }}" integrity="{{ $theme_overrides.Data.Integrity }}">
|
||||
{{ end }}
|
||||
|
||||
{{"<!-- Favicon -->" | safeHTML}}
|
||||
<link rel="shortcut icon" href="{{"images/favicon.ico" | absURL}}" type="image/x-icon" />
|
||||
<link rel="icon" href="{{"images/favicon.png" | absURL}}" type="image/x-icon" />
|
||||
|
||||
{{ with .Site.Params.googleAnalytics }}
|
||||
{{ "<!-- Global Site Tag (gtag.js) - Google Analytics -->" | safeHTML }}
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ . }}"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', '{{ . }}');
|
||||
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
30
themes/coHub/layouts/partials/header.html
Normal file
30
themes/coHub/layouts/partials/header.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!-- Mark up for Site Navigation Section-->
|
||||
<header class="header">
|
||||
<nav class="main-nav navbar navbar-expand-lg {{ if not $.IsHome }}main-nav-colored{{ end }}">
|
||||
<div class="container-fluid">
|
||||
<a href="{{.Site.BaseURL}}" class="navbar-brand">
|
||||
<img src="{{ .Site.Params.logo | absURL}}" alt="site-logo" />
|
||||
</a>
|
||||
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#mainNav" aria-expanded="false">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
|
||||
<div
|
||||
class="collapse navbar-collapse nav-list"
|
||||
id="mainNav"
|
||||
>
|
||||
<ul class="navbar-nav ml-auto">
|
||||
{{ $currentPage := . }}
|
||||
{{ $menu := .Site.Menus.main}}
|
||||
{{range $index, $element := $menu}}
|
||||
<li class="nav-item {{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} active{{ end }}">
|
||||
<a class="nav-link scroll-to" href="{{ .URL | relURL }}">{{.Name}}</a>
|
||||
</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
28
themes/coHub/layouts/partials/hero.html
Normal file
28
themes/coHub/layouts/partials/hero.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{{with .Site.Data.hero}}
|
||||
{{if .enable}}
|
||||
<section class="hero" style="background-image: url( {{ .heroBGimg }} );">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12">
|
||||
<div class="hero-content">
|
||||
<h1>{{.title | safeHTML}}</h1>
|
||||
<p>
|
||||
{{.subtitle}}
|
||||
</p>
|
||||
{{ if .heroVideo }}
|
||||
<div class="hero-video-player">
|
||||
<div class="hero-video-player-icon">
|
||||
<a class="popup-vimeo" href="{{ .heroVideo }}">
|
||||
<i class="ti-control-play"></i>
|
||||
</a>
|
||||
</div>
|
||||
{{ .herosVideoDesc | safeHTML }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}
|
||||
30
themes/coHub/layouts/partials/investor.html
Normal file
30
themes/coHub/layouts/partials/investor.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{{ with .Site.Data.investor}}
|
||||
{{ if .enable}}
|
||||
<section class="team">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="section-title">
|
||||
<h2>{{ .title }}</h2>
|
||||
<p>{{ .subtitle }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
{{ range .investor}}
|
||||
<div class="col-lg-3">
|
||||
<div class="member-informashion">
|
||||
<div class="member-thume">
|
||||
<img src="{{ .image | absURL }}" alt="image">
|
||||
</div>
|
||||
<h3>{{.name}}</h3>
|
||||
<p>{{.post}}</p>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}
|
||||
27
themes/coHub/layouts/partials/pagination.html
Normal file
27
themes/coHub/layouts/partials/pagination.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{{ $pag := $.Paginator }}
|
||||
{{ if gt $pag.TotalPages 1 }}
|
||||
<nav>
|
||||
<ul class="pagination ">
|
||||
{{ range $pag.Pagers }}
|
||||
{{ if eq . $pag }}
|
||||
<li class="page-item active">
|
||||
<a class="page-link" href="{{ .URL }}">{{ .PageNumber }}</a>
|
||||
</li>
|
||||
{{ else }}
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ .URL }}">{{ .PageNumber }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if $pag.HasNext }}
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $pag.Next.URL }}" rel="next">
|
||||
→
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
{{ end }}
|
||||
37
themes/coHub/layouts/partials/pricing.html
Normal file
37
themes/coHub/layouts/partials/pricing.html
Normal file
@@ -0,0 +1,37 @@
|
||||
{{ with .Site.Data.pricing}}
|
||||
{{ if .enable}}
|
||||
<section class="pricing" id="pricing">
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-12">
|
||||
<div class="section-title">
|
||||
<h2>{{.title}}</h2>
|
||||
<p>{{.subtitle}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{ range .itemPrices}}
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="pricing-wraper">
|
||||
<div class="pricing-item">
|
||||
{{if .badge}}
|
||||
<span class="pricing-item-badge">Popular</span>
|
||||
{{end}}
|
||||
<span class="price">
|
||||
<sup>$</sup>{{.price}}
|
||||
</span>
|
||||
<h3>{{.packcage}}</h3>
|
||||
<p>
|
||||
{{.description}}
|
||||
</p>
|
||||
</div>
|
||||
<a href="{{ .buttonTarget | absURL}}" class="btn btn-primary">Join Us</a>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}
|
||||
29
themes/coHub/layouts/partials/service.html
Normal file
29
themes/coHub/layouts/partials/service.html
Normal file
@@ -0,0 +1,29 @@
|
||||
{{ with .Site.Data.service}}
|
||||
{{ if .enable}}
|
||||
<section class="service" id="service">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="section-title">
|
||||
<h2> {{.title }} </h2>
|
||||
<p>
|
||||
{{.subtitle}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{ range .services}}
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="service-item">
|
||||
<i class="{{ .icon }}" aria-hidden="true"></i>
|
||||
<h3>{{ .name }}</h3>
|
||||
<p>
|
||||
{{.description }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}
|
||||
21
themes/coHub/layouts/partials/testimonial.html
Normal file
21
themes/coHub/layouts/partials/testimonial.html
Normal file
@@ -0,0 +1,21 @@
|
||||
{{ with .Site.Data.testimonial}}
|
||||
{{ if .enable}}
|
||||
<section class="quotes">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="quotes-slider">
|
||||
{{range .testimonial}}
|
||||
|
||||
<div class="quotes-slider-item">
|
||||
<h2>{{ .testimonialDetails }}</h2>
|
||||
<span>-{{ .author }}</span>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}
|
||||
23
themes/coHub/layouts/privacy/privacy.html
Normal file
23
themes/coHub/layouts/privacy/privacy.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{{define "main"}}
|
||||
<section class="privacy-policy">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="page-header">
|
||||
<h1>{{ .Title}}</h1>
|
||||
<p>{{.Params.subTitle}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="privacy-policy-content">
|
||||
<div class="privacy-policy-item">
|
||||
{{.Content}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
41
themes/coHub/layouts/tags/taxonomy.html
Normal file
41
themes/coHub/layouts/tags/taxonomy.html
Normal file
@@ -0,0 +1,41 @@
|
||||
{{define "main"}}
|
||||
<section class="page-title">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h1>{{.Title}}</h1>
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="{{ .Site.BaseURL }}">Home</a></li>
|
||||
<li class="breadcrumb-item active">{{.Title}}</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="blog">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ range .Paginator.Pages }}
|
||||
<div class="col-lg-4">
|
||||
<article class="blog-post">
|
||||
<img src="{{ .Params.featureImage | absURL }}" alt="blog-images">
|
||||
<div class="blog-content">
|
||||
<h3><a href="{{ .Permalink }}">{{ .Title}}</a></h3>
|
||||
<p> {{truncate 100 .Summary}} </p>
|
||||
<a class="more" href="{{ .Permalink }}">Read more <span>⟶</span></a>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{{end}}
|
||||
<div class="col-12">
|
||||
<div class="blog-pagination">
|
||||
{{partial "pagination.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
23
themes/coHub/layouts/terms/terms.html
Normal file
23
themes/coHub/layouts/terms/terms.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{{define "main"}}
|
||||
<section class="privacy-policy">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="page-header">
|
||||
<h1>{{ .Title}}</h1>
|
||||
<p>{{.Params.subTitle}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="privacy-policy-content">
|
||||
<div class="privacy-policy-item">
|
||||
{{.Content}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user