This commit is contained in:
2025-12-05 09:15:15 +01:00
commit 8837c20d66
1752 changed files with 1123339 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html
lang="{{ site.LanguageCode | default `en-US` }}"
itemscope
itemtype="http://schema.org/WebPage">
<head>
<!-- head (don't cache it) -->
{{ partial "essentials/head.html" . }}
<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "essentials/style.html" . }}
{{ else }}
{{ partial "essentials/style.html" . }}
{{ end }}
</head>
<body>
<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "preloader.html" . }}
{{ partialCached "gtm-noscript.html" . }}
{{ else }}
{{ partial "preloader.html" . }}
{{ end }}
<!-- header (don't cache it) -->
{{ partial "essentials/header.html" . }}
<main>
{{ block "main" . }}{{ end }}
</main>
<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "essentials/footer.html" . }}
{{ partialCached "essentials/script.html" . }}
{{ else }}
{{ partial "essentials/footer.html" . }}
{{ partial "essentials/script.html" . }}
{{ end }}
</body>
</html>

View File

@@ -0,0 +1,17 @@
{{ define "main" }}
<section class="section">
<div class="container">
<div class="row">
<div class="col-lg-10 mx-auto">
<div class="p-5 shadow rounded content">
<h1 class="mb-4 fw-bold">{{ .Title }}</h1>
<p>{{.Params.Description}}</p>
<div class="mt-5">{{ .Content }}</div>
</div>
</div>
</div>
</div>
</section>
{{ end }}

View File

@@ -0,0 +1,46 @@
{{ define "main" }}
<section class="section">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="p-4 p-sm-5 shadow rounded content">
<h2 class="section-title fw-medium">{{ .Title }}</h2>
<form method="POST" class="row gy-4" action="{{ .Site.Params.contact_form_action }}">
<div class="form-group col-md-6">
<label for="fname">{{ i18n "first_name" }}</label>
<input type="text" class="form-control" id="fname" name="fname" placeholder="Your First Name" required>
</div>
<div class="form-group col-md-6">
<label for="lname">{{ i18n "last_name" }}</label>
<input type="text" class="form-control" id="lname" name="lname" placeholder="Your Last Name">
</div>
<div class="form-group col-12">
<label for="email">{{ i18n "email" }}</label>
<input type="email" class="form-control" id="email" name="email" placeholder="Your Email Address"
required>
</div>
<div class="form-group col-12">
<label for="reason">{{ i18n "contact_reason" }}</label>
<select id="reason" class="form-select rounded-0 px-0" name="reason" required>
<option selected disabled>Choose Your Reason</option>
<option value="business">Business</option>
<option value="ticket">Ticket</option>
<option value="project">Project</option>
</select>
</div>
<div class="form-group col-12">
<label for="message">{{ i18n "write_message" }}</label>
<textarea name="message" id="message" class="form-control" placeholder="Your Text here ..."></textarea>
</div>
<div class="col-12">
<button type="submit" class="btn btn-primary">{{ i18n "send" }}</button>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
{{ end }}

View File

@@ -0,0 +1,12 @@
{{ define "main" }}
<section class="section pb-0">
<div class="container">
<h2 class="section-title">{{ .Title }}</h2>
<div class="row masonry-wrapper">
{{ .Content }}
</div>
</div>
</section>
{{ end }}

View File

@@ -0,0 +1,36 @@
{{- $len := sub (len (.Pages.GroupBy "Section")) 1 -}}
[{{- range $item, $el := .Pages.GroupBy "Section" -}}
{{- range $i, $e := .Pages -}}
{{- if and (not .Params.ignoreSearch) (ne $e.Type "json") -}}
{
"section": "",
"url": "{{ $e.Permalink }}",
"title": "{{ with $e.Params.bannertext }}{{htmlEscape .}}{{else}}{{htmlEscape $e.Title}}{{end}}",
"description": "{{ htmlEscape .Description}}",
"searchKeyword": "{{ htmlEscape .Params.searchKeyword}}",
"content": {{$e.Plain | jsonify}}
},
{{- end -}}
{{- if .Section -}}
{{- $section := (where site.Pages "Section" .Section) | intersect (where site.Pages ".Title" "!=" .Title) -}}
{{- $sectionLen := len (where site.Pages "Section" .Section) -}}
{{- $sectionLenTotal := sub $sectionLen 2 -}}
{{- range $index, $page := $section -}}
{{- if and (not .Params.ignoreSearch) (ne $page.Type "json") -}}
{
"section": "{{$page.Section | humanize}}",
"url": "{{ $page.Permalink }}",
"title": "{{ with $page.Params.bannertext }}{{htmlEscape .}}{{else}}{{htmlEscape $page.Title}}{{end}}",
"description": "{{ htmlEscape .Description}}",
"searchKeyword": "{{ htmlEscape .Params.searchKeyword}}",
"content": {{$page.Plain | jsonify}}
}{{- if eq $item $len -}}{{- if ne $index $sectionLenTotal -}},{{- end -}}{{- else -}},{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}]

View File

@@ -0,0 +1,5 @@
{{ define "main" }}
{{ partial "default.html" . }}
{{ end }}

View File

@@ -0,0 +1,29 @@
{{ define "main" }}
<section class="mt-5 py-4">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-10">
<h2 class="mb-5 fw-medium">Search result for
<span class="text-primary">
<script>
var str = (window.location.search).substr(3);
var result = str.replaceAll("+", " ");
document.write(decodeURI(result));
</script>
</span>
</h2>
<div class="p-5 shadow rounded">
<div id="search-results"></div>
<script id="search-result-template" type="text/x-js-template">
<div class="py-4 search-item" id="summary-${key}">
<a class="h4 mb-0" href="${link}">${title}</a>
</div>
</script>
</div>
</div>
</div>
</div>
</section>
{{ end }}

View File

@@ -0,0 +1,5 @@
{{ define "main" }}
{{ partial "default.html" . }}
{{ end }}