First Commit
Setup repo and website
This commit is contained in:
33
cerimoniere-website-source/layouts/anagrafica/list.html
Normal file
33
cerimoniere-website-source/layouts/anagrafica/list.html
Normal file
@@ -0,0 +1,33 @@
|
||||
{{ define "main" }}
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{- with $data.anagrafica }}
|
||||
<section class="section gallery">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 text-center mb-5">
|
||||
<h1 class="font-weight-bold">{{.title}}</h1>
|
||||
</div>
|
||||
<div class="col-md-12 mb-4 md-0">
|
||||
<p class="mb-4">{{ .content | markdownify }}</p>
|
||||
</div>
|
||||
<div class="col-md-6 text-center mb-4 md-0">
|
||||
<a href="{{ .imageleft | absURL }}" target="_blank">
|
||||
<img class="img-fluid" src="{{ .imageleft | absURL }}" alt="anagrafica dettaglio">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-6 mb-5 mb-md-0">
|
||||
<p class="mb-4">{{ .contentright | markdownify}}</p>
|
||||
</div>
|
||||
<div class="col-md-6 mb-5 mt-4 mb-md-0">
|
||||
<p class="mb-1">{{ .contentleft | markdownify}}</p>
|
||||
</div>
|
||||
<div class="col-md-6 text-center mt-4 mb-5 mb-md-0">
|
||||
<a href="{{ .imageright | absURL }}" target="_blank">
|
||||
<img class="img-fluid" src="{{ .imageright | absURL }}" alt="anagrafica lista">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
27
cerimoniere-website-source/layouts/contact/list.html
Normal file
27
cerimoniere-website-source/layouts/contact/list.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{{ define "main" }}
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{- with $data.contatti }}
|
||||
<section class="section gallery">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 text-center mb-5">
|
||||
<h1 class="font-weight-bold">{{.title}}</h1>
|
||||
</div>
|
||||
<div class="col-12 mb-5">
|
||||
<h3 class="font-weight-bold text-primary-color">{{.subtitle}}</h1>
|
||||
</div>
|
||||
<div class="col-md-12 mb-5 mb-md-0">
|
||||
<p class="mb-4">{{ .content | markdownify }}</p>
|
||||
</div>
|
||||
<div class="col-12 mb-5">
|
||||
<h3 class="font-weight-bold text-primary-color">{{.subtitle2}}</h1>
|
||||
</div>
|
||||
<div class="col-md-12 mb-5 mb-md-0">
|
||||
<p class="mb-4">{{ .content2 | markdownify }}</p>
|
||||
<p class="mb-4">{{ .content3 | markdownify }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
80
cerimoniere-website-source/layouts/faq/list.html
Normal file
80
cerimoniere-website-source/layouts/faq/list.html
Normal file
@@ -0,0 +1,80 @@
|
||||
{{ define "main" }}
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{- with $data.faq }}
|
||||
<section class="section gallery">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 text-center mb-5">
|
||||
<h1 class="font-weight-bold">{{.title}}</h1>
|
||||
</div>
|
||||
<div class="col-md-12 mb-5 mb-md-0">
|
||||
<h3 class="font-weight-bold text-center">{{.subtitleanagrafiche}}</h1>
|
||||
</div>
|
||||
<div class="col-md-12 mt-3 mb-md-0">
|
||||
<h4 class="text-primary-color">{{.q1anagrafiche}}</h5>
|
||||
<p>{{.a1anagrafiche}}</p>
|
||||
<hr/>
|
||||
</div>
|
||||
|
||||
<!-- Seconda -->
|
||||
<div class="col-md-12 mb-5 mb-md-0">
|
||||
<h3 class="font-weight-bold text-center">{{.subtitleinviti}}</h1>
|
||||
</div>
|
||||
<div class="col-md-12 mt-3 mb-md-0">
|
||||
<h4 class="text-primary-color">{{.q1inviti}}</h5>
|
||||
<p>{{.a1inviti}}</p>
|
||||
<h4 class="text-primary-color">{{.q2inviti}}</h5>
|
||||
<p>{{.a2inviti}}</p>
|
||||
<h4 class="text-primary-color">{{.q3inviti}}</h5>
|
||||
<p>{{.a3inviti}}</p>
|
||||
<h4 class="text-primary-color">{{.q4inviti}}</h5>
|
||||
<p>{{.a4inviti}}</p>
|
||||
<h4 class="text-primary-color">{{.q5inviti}}</h5>
|
||||
<p>{{.a5inviti}}</p>
|
||||
<hr/>
|
||||
</div>
|
||||
|
||||
<!-- Terza -->
|
||||
<div class="col-md-12 mb-5 mb-md-0">
|
||||
<h3 class="font-weight-bold text-center">{{.subtitleposti}}</h1>
|
||||
</div>
|
||||
<div class="col-md-12 mt-3 mb-md-0">
|
||||
<h4 class="text-primary-color">{{.q1posti}}</h5>
|
||||
<p>{{.a1posti}}</p>
|
||||
<h4 class="text-primary-color">{{.q2posti}}</h5>
|
||||
<p>{{.a2posti}}</p>
|
||||
<h4 class="text-primary-color">{{.q3posti}}</h5>
|
||||
<p>{{.a3posti}}</p>
|
||||
<h4 class="text-primary-color">{{.q4posti}}</h5>
|
||||
<p>{{.a4posti}}</p>
|
||||
<hr/>
|
||||
</div>
|
||||
|
||||
<!-- Quarta -->
|
||||
<div class="col-md-12 mb-5 mb-md-0">
|
||||
<h3 class="font-weight-bold text-center">{{.subtitlegeneral}}</h1>
|
||||
</div>
|
||||
<div class="col-md-12 mt-3 mb-md-0">
|
||||
<h4 class="text-primary-color">{{.q1general}}</h5>
|
||||
<p>{{.a1general}}</p>
|
||||
<h4 class="text-primary-color">{{.q2general}}</h5>
|
||||
<p>{{.a2general}}</p>
|
||||
<h4 class="text-primary-color">{{.q3general}}</h5>
|
||||
<p>{{.a3general}}</p>
|
||||
<!-- <hr/> -->
|
||||
</div>
|
||||
|
||||
<!-- Quarta -->
|
||||
<!-- <div class="col-md-12 mb-5 mb-md-0">
|
||||
<h3 class="font-weight-bold text-center">{{.subtitletech}}</h1>
|
||||
</div>
|
||||
<div class="col-md-12 mt-3 mb-md-0">
|
||||
<h4 class="text-primary-color">{{.q1tech}}</h5>
|
||||
<p>{{.a1tech}}</p>
|
||||
</div> -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
17
cerimoniere-website-source/layouts/index.html
Normal file
17
cerimoniere-website-source/layouts/index.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{- partial "banner.html" . }}
|
||||
|
||||
{{- partial "features.html" . }}
|
||||
|
||||
{{- partial "promo.html" . }}
|
||||
|
||||
<!-- {{- partial "about-product.html" . }} -->
|
||||
|
||||
<!-- {{- partial "products.html" . }} -->
|
||||
|
||||
<!-- {{- partial "subscription.html" . }} -->
|
||||
|
||||
<!-- {{- partial "testimonials.html" . }} -->
|
||||
|
||||
{{ end }}
|
||||
100
cerimoniere-website-source/layouts/palco/list.html
Normal file
100
cerimoniere-website-source/layouts/palco/list.html
Normal file
@@ -0,0 +1,100 @@
|
||||
{{ define "main" }}
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{- with $data.palco }}
|
||||
<style>
|
||||
.stage_right_left .active {
|
||||
color: #00ada7;
|
||||
}
|
||||
.stage_right_left ul li {
|
||||
width: 15%;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
padding: 0;
|
||||
line-height: 40px;
|
||||
}
|
||||
.stage_right_left {
|
||||
width: 90%;
|
||||
background-color: #22577a;
|
||||
height: 40px;
|
||||
font-size: 22px;
|
||||
}
|
||||
.stage_double_center {
|
||||
width: 90%;
|
||||
background-color: #476c5e;
|
||||
height: 40px;
|
||||
font-size: 22px;
|
||||
}
|
||||
.stage_double_center ul li {
|
||||
width: 12.5%;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
padding: 0;
|
||||
line-height: 40px;
|
||||
}
|
||||
.stage_double_center .active {
|
||||
color: #083643;
|
||||
}
|
||||
.customul {
|
||||
list-style: inside;
|
||||
font-size: 18px;
|
||||
}
|
||||
</style>
|
||||
<section class="section gallery">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 text-center mb-5">
|
||||
<h1 class="font-weight-bold">{{.title}}</h1>
|
||||
</div>
|
||||
<div class="col-md-12 mb-5 mb-md-0">
|
||||
<p class="mb-4">{{ .content | markdownify }}</p>
|
||||
<p class="mb-4">{{ .subcontent | markdownify }}</p>
|
||||
<div class="stage_right_left mb-4 text-center" style="margin:auto">
|
||||
<ul class="list-inline">
|
||||
<li class="list-inline-item">5</li>
|
||||
<li class="list-inline-item">3</li>
|
||||
<li class="active list-inline-item">1</li>
|
||||
<li class="list-inline-item">2</li>
|
||||
<li class="list-inline-item">4</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p class="mb-4">{{ .contentfraplatea | markdownify }}</p>
|
||||
<div class="stage_double_center mb-4 text-center" style="margin:auto">
|
||||
<ul class="inline">
|
||||
<li class="list-inline-item">6</li>
|
||||
<li class="list-inline-item">4</li>
|
||||
<li class="list-inline-item">2</li>
|
||||
<li class="active list-inline-item">1</li>
|
||||
<li class="list-inline-item">3</li>
|
||||
<li class="list-inline-item">5</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p class="mb-4">{{ .content2 | markdownify }}</p>
|
||||
</div>
|
||||
<div class="col-md-6 text-center mb-5 mb-md-0">
|
||||
<a href="{{ .imageleft | absURL }}" target="_blank">
|
||||
<img class="img-fluid" src="{{ .imageleft | absURL }}" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-6 mb-5 mb-md-0">
|
||||
<p class="mt-4">{{ .contentright | markdownify}}</p>
|
||||
</div>
|
||||
<div class="col-md-6 mb-5 mb-md-0">
|
||||
<p class="mt-4">{{ .contentleft | markdownify}}</p>
|
||||
<p class="mt-4">{{ .contentleftlist | safeHTML}}</p>
|
||||
</div>
|
||||
<div class="col-md-6 text-center align-self-center mb-5 mb-md-0">
|
||||
<a href="{{ .imageright | absURL }}" target="_blank">
|
||||
<img class="img-fluid" src="{{ .imageright | absURL }}" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<p class="mt-4">{{ .contentlast | markdownify}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
43
cerimoniere-website-source/layouts/palco/single.html
Normal file
43
cerimoniere-website-source/layouts/palco/single.html
Normal file
@@ -0,0 +1,43 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-5 mb-4 mb-md-0">
|
||||
<!-- product image slider -->
|
||||
<div class="product-image-slider">
|
||||
{{ range .Params.images }}
|
||||
<div data-image="{{ . | absURL }}">
|
||||
<img class="img-fluid w-100" src="{{ . | absURL }}" alt="product-image">
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-7 offset-lg-1">
|
||||
<h1 class="mb-4">{{ .Title }}</h1>
|
||||
<p><strong>Colors:</strong> {{ with .Params.colors }}{{ delimit . ", "}}{{ end }}</p>
|
||||
<p><strong>Sizes:</strong> {{ with .Params.sizes }}{{ delimit . ", "}}{{ end }}</p>
|
||||
<p class="price py-4">{{if .Params.discount_price}}{{site.Params.currency}}{{.Params.discount_price}}{{else}}{{site.Params.currency}}{{.Params.price}}{{end}}
|
||||
{{if .Params.discount_price}}<s class="price">{{site.Params.currency}}{{ .Params.price }}</s>{{end}}
|
||||
</p>
|
||||
<button class="snipcart-add-item btn btn-main mb-5"
|
||||
data-item-id="{{.Title | urlize}}__{{if .Params.discount_price}}{{.Params.discount_price}}{{else}}{{.Params.price}}{{end}}"
|
||||
data-item-name="{{.Title}}"
|
||||
data-item-image="{{range first 1 .Params.Images}}{{. | absURL}}{{end}}"
|
||||
data-item-price="{{if .Params.discount_price}}{{.Params.discount_price}}{{else}}{{.Params.price}}{{end}}" data-item-url="{{.Permalink}}"
|
||||
{{ if .Params.colors }}
|
||||
data-item-custom1-name="Choose Color"
|
||||
data-item-custom1-options="{{range $index, $element:= .Params.colors}}{{ if eq $index 0 }}{{. | title}}{{ else }}|{{. | title }}{{end}}{{end}}"
|
||||
{{ end }}
|
||||
{{ if .Params.sizes }}
|
||||
data-item-custom2-name="Choose Size"
|
||||
data-item-custom2-options="{{range $index, $element:= .Params.sizes}}{{if eq $index 0}}{{. | title}}{{else}}|{{. | title}}{{end}}{{end}}"
|
||||
{{end}}>{{i18n "add_to_cart"}}
|
||||
</button>
|
||||
<div class="content">{{.Content}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ end }}
|
||||
@@ -0,0 +1,54 @@
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
|
||||
{{ if $data.homepage.about_product.enable }}
|
||||
{{ with $data.homepage.about_product }}
|
||||
<section class="feature-list section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="heading">
|
||||
<h2>{{ .title | markdownify }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ range $index, $element := .items }}
|
||||
{{- if ne (mod $index 2) 1 }}
|
||||
<div class="row mb-40">
|
||||
<div class="col-md-6 text-center mb-5 mb-lg-0">
|
||||
<img class="img-fluid" src="{{ .image | absURL }}" alt="">
|
||||
</div>
|
||||
<div class="col-md-6 align-self-center text-center text-md-left">
|
||||
<div class="content">
|
||||
<h4 class="subheading">{{ .title | markdownify }}</h4>
|
||||
<p>{{ .content | markdownify }}</p>
|
||||
{{ if .button.enable }}
|
||||
{{ with .button }}
|
||||
<a href="{{ .link | absURL }}" class="btn btn-main btn-main-sm">{{ .label }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{- else }}
|
||||
<div class="row mb-40">
|
||||
<div class="col-md-6 order-md-1 order-2 align-self-center text-center text-md-left">
|
||||
<div class="content">
|
||||
<h4 class="subheading">{{ .title | markdownify }}</h4>
|
||||
<p>{{ .content | markdownify }}</p>
|
||||
{{ if .button.enable }}
|
||||
{{ with .button }}
|
||||
<a href="{{ .link | absURL }}" class="btn btn-main btn-main-sm">{{ .label }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 order-md-2 order-1 text-center mb-5 mb-lg-0">
|
||||
<img class="img-fluid" src="{{ .image | absURL }}" alt="">
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
29
cerimoniere-website-source/layouts/partials/banner.html
Normal file
29
cerimoniere-website-source/layouts/partials/banner.html
Normal file
@@ -0,0 +1,29 @@
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
|
||||
{{- if $data.homepage.banner.enable }}
|
||||
{{- with $data.homepage.banner }}
|
||||
<!-- hero area -->
|
||||
<!-- <section class="section"> -->
|
||||
<div class="container mt-5">
|
||||
<div class="row">
|
||||
<div class="col-md-6 align-self-center text-center mb-5 mb-md-0">
|
||||
<img class="img-fluid" src="{{ .image | absURL }}" alt="main_logo" width="45%">
|
||||
</div>
|
||||
<div class="col-md-6 align-self-center text-center text-md-left">
|
||||
<div class="block">
|
||||
<h1 class="font-weight-bold mb-3 font-size-60 text-primary-color">{{ .title | markdownify }}</h1>
|
||||
<p class="mb-1">{{ .content | markdownify }}</p>
|
||||
<br />
|
||||
<p class="mb-1">{{ .content2 | markdownify }}</p>
|
||||
{{ range .buttons }}
|
||||
{{ if .enable }}
|
||||
<a href="{{ .link | absLangURL }}" class="btn btn-main mt-3">{{ .label }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- .row close -->
|
||||
</div><!-- .container close -->
|
||||
<!-- </section> --><!-- header close -->
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
51
cerimoniere-website-source/layouts/partials/features.html
Normal file
51
cerimoniere-website-source/layouts/partials/features.html
Normal file
@@ -0,0 +1,51 @@
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
|
||||
{{- if $data.homepage.features.enable }}
|
||||
{{- with $data.homepage.features }}
|
||||
<section class="section" id="feature">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="heading">
|
||||
<h2>{{ .title | markdownify }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
{{ range .left_side }}
|
||||
<div class="mb-40 text-center text-md-left">
|
||||
<h4 class="font-weight-bold mb-2">
|
||||
<i class="d-inlin-block h2 mb-10 mr-1 {{ .icon }}"></i>
|
||||
{{ .title | markdownify }}
|
||||
</h4>
|
||||
<p>{{ .content | markdownify }}</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="col-md-4 text-center align-self-center mb-4 mb-md-0">
|
||||
<img class="img-fluid" src="{{ .image | absURL }}" alt="">
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
{{ range .right_side }}
|
||||
<div class="mb-40 text-center text-md-left">
|
||||
<h4 class="font-weight-bold mb-2">
|
||||
<i class="d-inlin-block h2 mb-10 mr-1 {{ .icon }}"></i>
|
||||
{{ .title | markdownify }}
|
||||
</h4>
|
||||
<p>{{ .content | markdownify }}</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="col-12 align-self-center text-center">
|
||||
<div class="block">
|
||||
{{ range .buttons }}
|
||||
{{ if .enable }}
|
||||
<a href="{{ .link | absLangURL }}" class="btn btn-main mt-3">{{ .label }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- .container close -->
|
||||
</section>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
36
cerimoniere-website-source/layouts/partials/footer.html
Normal file
36
cerimoniere-website-source/layouts/partials/footer.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<footer>
|
||||
<div class="container text-center">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="block">
|
||||
<a href="{{ site.BaseURL | relLangURL }}" class="mb-4 d-inline-block">{{ if site.Params.logo }} <img src="{{ site.Params.logo | absURL }}" alt="{{ site.Title }}" {{with site.Params.logo_width}}width="{{.}}"{{end}}> {{ else }} {{ .Title }} {{ end }}</a>
|
||||
<ul class="list-inline footer-menu">
|
||||
{{ range site.Menus.footer }}
|
||||
<li class="list-inline-item">
|
||||
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://www.bittimeprofessionals.it" target="_blank">bit Time Professionals s.r.l.</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p class="copyright-text">{{ site.Params.copyright | markdownify }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- Snipcart public key -->
|
||||
{{with site.Params.snipcart_api}}
|
||||
<div hidden id="snipcart" data-api-key="{{.}}"></div>{{end}}
|
||||
|
||||
<!-- JS Plugins -->
|
||||
{{ range site.Params.plugins.js}}
|
||||
<script src="{{ .link | absURL }}"></script>
|
||||
{{ end }}
|
||||
|
||||
<!-- Main Script -->
|
||||
{{ $script := resources.Get "js/script.js" }}
|
||||
<script src="{{ $script.Permalink }}"></script>
|
||||
@@ -0,0 +1,9 @@
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-297TKD4RF0"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-297TKD4RF0');
|
||||
</script>
|
||||
32
cerimoniere-website-source/layouts/partials/head.html
Normal file
32
cerimoniere-website-source/layouts/partials/head.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ .Title }}</title>
|
||||
|
||||
{{ "<!-- mobile responsive meta -->" | safeHTML }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}">
|
||||
{{ with site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||
{{ hugo.Generator }}
|
||||
|
||||
{{ "<!-- plugins -->" | safeHTML }}
|
||||
{{ range site.Params.plugins.css }}
|
||||
<link rel="stylesheet" href="{{ .link | absURL }} ">
|
||||
{{ end }}
|
||||
|
||||
{{ "<!-- Main Stylesheet -->" | safeHTML }}
|
||||
{{ $styles := resources.Get "scss/style.scss" | toCSS | minify }}
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
|
||||
|
||||
{{ "<!--Favicon-->" | safeHTML }}
|
||||
<link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">
|
||||
<link rel="icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">
|
||||
|
||||
{{ with .Params.image }}
|
||||
<meta property="og:image" content="{{ . | absURL }}" />
|
||||
{{ end }}
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "partials/google_analytics.html" . }}
|
||||
<!-- {{ template "_internal/google_analytics.html" . }}
|
||||
{{ template "_internal/google_analytics_async.html" . }} -->
|
||||
|
||||
</head>
|
||||
45
cerimoniere-website-source/layouts/partials/header.html
Normal file
45
cerimoniere-website-source/layouts/partials/header.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!-- navigation -->
|
||||
<header class="sticky-top bg-white">
|
||||
<div class="container">
|
||||
<nav class="navbar navbar-expand-lg navbar-light">
|
||||
<a class="navbar-brand" href="{{ site.BaseURL }}">{{ if site.Params.logo }} <img src="{{ site.Params.logo | absURL }}" alt="{{ site.Title }}" {{with site.Params.logo_width}}width="{{.}}"{{end}}> {{ else }} {{ site.Title }} {{ end }}</a>
|
||||
<button class="navbar-toggler border-0" type="button" data-toggle="collapse" data-target="#navigation"
|
||||
aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div class="collapse navbar-collapse text-center" id="navigation">
|
||||
<ul class="navbar-nav ml-auto">
|
||||
{{ range site.Menus.main }}
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<!-- Language List -->
|
||||
{{ if .IsTranslated }}
|
||||
<select class="lang-list" id="select-language" onchange="location = this.value;">
|
||||
{{ $siteLanguages := .Site.Languages}}
|
||||
{{ $pageLang := .Page.Lang}}
|
||||
{{ range .Page.AllTranslations }}
|
||||
{{ $translation := .}}
|
||||
{{ range $siteLanguages }}
|
||||
{{ if eq $translation.Lang .Lang }}
|
||||
{{ $selected := false }}
|
||||
{{ if eq $pageLang .Lang}}
|
||||
<option id="{{ $translation.Language }}" value="{{ $translation.Permalink }}" selected>{{ .LanguageName }}
|
||||
</option>
|
||||
{{ else }}
|
||||
<option id="{{ $translation.Language }}" value="{{ $translation.Permalink }}">{{ .LanguageName }}</option>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</select>
|
||||
{{ end }}
|
||||
</div>
|
||||
<!-- <button class="cart snipcart-checkout"><i class="tf-ion-android-cart"></i><span class="badge badge-primary snipcart-items-count"></span></button> -->
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<!-- /navigation -->
|
||||
28
cerimoniere-website-source/layouts/partials/palco.html
Normal file
28
cerimoniere-website-source/layouts/partials/palco.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
|
||||
{{ if $data.homepage.products.enable }}
|
||||
<section class="gallery" id="products">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="heading">
|
||||
<h2>{{ $data.homepage.products.title | markdownify }}</h2>
|
||||
</div>
|
||||
|
||||
<div class="product-slider">
|
||||
{{ range (where .Site.RegularPages "Section" "products") }}
|
||||
<div class="block">
|
||||
<div class="gallery-overlay">
|
||||
<a href="{{ .Permalink }}" class="gallery-popup">
|
||||
<i class="tf-ion-android-open"></i>
|
||||
</a>
|
||||
</div>
|
||||
<img class="img-fluid" src="{{range first 1 .Params.images}}{{.|absURL}}{{end}}" alt="{{.Title}}">
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,9 @@
|
||||
{{ if site.Params.preloader.enable }}
|
||||
{{ "<!-- preloader start -->" | safeHTML }}
|
||||
<div class="preloader">
|
||||
{{ with site.Params.preloader.preloader }}
|
||||
<img src="{{ . | absURL }}" alt="preloader">
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ "<!-- preloader end -->" | safeHTML }}
|
||||
{{ end }}
|
||||
30
cerimoniere-website-source/layouts/partials/promo.html
Normal file
30
cerimoniere-website-source/layouts/partials/promo.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
|
||||
{{ if $data.homepage.promo.enable }}
|
||||
{{ with $data.homepage.promo }}
|
||||
<section class="bg-orange section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h2 class="subheading text-white font-weight-bold mb-10">{{ .title | markdownify }}</h2>
|
||||
</div>
|
||||
<div class="col-md-6 text-center mb-5 mb-lg-0">
|
||||
<a href="{{ .image | absURL }}" target="_blank">
|
||||
<img class="img-fluid" src="{{ .image | absURL }}" alt="eventi">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-6 text-center text-md-left">
|
||||
<div class="content">
|
||||
<p class="text-white">{{ .content | markdownify }}</p>
|
||||
<p class="text-white">{{ .content2 | markdownify }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12 align-self-center">
|
||||
<p class="text-white mt-4">{{ .content3 | markdownify }}</p>
|
||||
<p class="text-white">{{ .content4 | markdownify }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@@ -0,0 +1,26 @@
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
|
||||
{{- if $data.homepage.subscription.enable }}
|
||||
{{- with $data.homepage.subscription }}
|
||||
<section class="call-to-action section bg-opacity" style="background-image: url('{{ .bg_image | absURL }}');">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-8 text-center mx-auto">
|
||||
<h2 class="subheading text-white">{{ .title | markdownify }}</h2>
|
||||
<p class="text-white">{{ .content | markdownify }}</p>
|
||||
<div class="input-group">
|
||||
<form action="{{ site.Params.mailchimp_form_action }}" method="post" class="w-100" name="mc-embedded-subscribe-form" target="_blank">
|
||||
<input type="email" id="email" class="form-control" name="email" placeholder="{{ .placeholder }}"
|
||||
required>
|
||||
<button class="btn btn-main btn-submit" type="submit" name="subscribe">{{i18n "subscribe"}}</button>
|
||||
<div style="position: absolute; left: -5000px;" aria-hidden="true">
|
||||
<input type="text" name="{{ site.Params.mailchimp_form_name }}" tabindex="-1">
|
||||
</div>
|
||||
</form>
|
||||
</div><!-- /input-group -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section><!-- #call-to-action close -->
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,30 @@
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
|
||||
{{ if $data.homepage.testimonial.enable }}
|
||||
<section class="testimonials section" id="testimonial">
|
||||
<div class="container">
|
||||
{{ with $data.homepage.testimonial }}
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-12">
|
||||
<div class="heading">
|
||||
<h2>{{ .title | markdownify }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
{{ range .testimonial_item }}
|
||||
<div class="col-lg-4 col-sm-6 mb-5 mb-lg-0 text-center">
|
||||
<div class="testimonial-block">
|
||||
<i class="tf-ion-quote"></i>
|
||||
<p>{{ .content | markdownify }}</p>
|
||||
<div class="author-details">
|
||||
<img src="{{ .image | absURL }}" alt="{{ .name }}">
|
||||
<h4>{{ .name }}</h4>
|
||||
<span>{{ .designation }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
42
cerimoniere-website-source/layouts/protocolli/list.html
Normal file
42
cerimoniere-website-source/layouts/protocolli/list.html
Normal file
@@ -0,0 +1,42 @@
|
||||
{{ define "main" }}
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{- with $data.protocolli }}
|
||||
<style>
|
||||
.customul {
|
||||
list-style: inside;
|
||||
font-size: 18px;
|
||||
}
|
||||
</style>
|
||||
<section class="section gallery">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 text-center mb-5">
|
||||
<h1 class="font-weight-bold">{{.title}}</h1>
|
||||
</div>
|
||||
<div class="col-md-12 mb-5 mb-md-0">
|
||||
<p class="mb-4">{{ .content | markdownify }}</p>
|
||||
<p class="mb-1">{{ .contentlist | safeHTML }}</p>
|
||||
<p class="mt-4 mb-4">{{ .content2 | markdownify}}</p>
|
||||
</div>
|
||||
<div class="col-md-6 text-center mb-5 mb-md-0">
|
||||
<a href="{{ .imageleft | absURL }}" target="_blank">
|
||||
<img class="img-fluid" src="{{ .imageleft | absURL }}" alt="dettaglio protocolli">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-6 mb-5 mb-md-0">
|
||||
<p>{{ .contentright | markdownify}}</p>
|
||||
<p>{{ .contentrightlist | safeHTML}}</p>
|
||||
</div>
|
||||
<div class="col-md-6 mb-5 mb-md-0">
|
||||
<p>{{ .contentleft | markdownify}}</p>
|
||||
</div>
|
||||
<div class="col-md-6 text-center mb-5 mb-md-0">
|
||||
<a href="{{ .imageright | absURL }}" target="_blank">
|
||||
<img class="img-fluid" src="{{ .imageright | absURL }}" alt="">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user