This commit is contained in:
Markus 2025-06-06 18:12:46 +02:00
commit 1d8da2b6dd
824 changed files with 76366 additions and 0 deletions

View file

@ -0,0 +1,74 @@
{{ define "main" }}
{{ partial "page-title.html" . }}
{{ with .Params.about }}
{{ if .enable }}
<section class="about section">
<div class="container">
<div class="row align-items-center">
<div class="col-md-3 text-right">
<div class="person-info">
{{ with .left_person }}
{{ with .name }}<h3>{{ . | markdownify }}</h3>{{ end }}
{{ with .description }}<p>{{ . | $.Page.RenderString (dict "display" "block") }}</p>{{ end }}
{{ end }}
</div>
</div>
<div class="col-md-6 text-center">
<div class="about-img">
<img src="{{ .image | relURL }}" alt="Standard Image">
<img src="{{ .hover_image | relURL }}" alt="Hover Image" class="hover-img">
</div>
</div>
<div class="col-md-3 text-left">
<div class="person-info">
{{ with .right_person }}
{{ with .name }}<h3>{{ . | markdownify }}</h3>{{ end }}
{{ with .description }}<p>{{ . | $.Page.RenderString (dict "display" "block") }}</p>{{ end }}
{{ end }}
</div>
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}
<section class="testimonial section-sm">
<div class="container">
<div class="row">
{{ with .Params.mission_vision }}
{{ if .enable }}
<div class="col-md-12">
<div class="tabCommon">
<ul class="nav nav-tabs">
{{ range $index, $elements := .tabs }}
<li {{ if eq $index 0 }} class="active" {{ end }}><a href="#{{ .name | urlize }}"
data-toggle="tab">{{ .name }}</a></li>
{{ end }}
</ul>
<div class="tab-content">
{{ range $index, $elements := .tabs }}
<div id="{{ .name | urlize }}" class="tab-pane fade {{ if eq $index 0 }} active in {{ end }}">
{{ .content | $.Page.RenderString (dict "display" "block") }}
</div>
{{ end }}
</div>
</div>
</div>
{{ end }}
{{ end }}
</div>
</div>
</section>
<!-- Call to action -->
{{ if .Params.cta.enable }}
{{ partial "cta.html" . }}
{{ end }}
<!-- /Call to action -->
{{ end }}

22
layouts/_default/agb.html Normal file
View file

@ -0,0 +1,22 @@
{{ define "main" }}
{{ partial "page-title.html" . }}
<section class="page-wrapper">
<div class="container">
<div class="row">
<div class="col-md-4 sticky-top">
<h2>{{ .Title }}</h2>
{{ with .Params.subtitle }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
<p>{{ i18n "last_update" }}: {{ time.Format ":date_long" .Lastmod }}</p>
<h3>{{ i18n "faq_toc_title" }}</h3>
{{ .TableOfContents }}
</div>
<div class="col-md-8">
{{ .Content }}
</div>
</div>
</div>
</section>
{{ end }}

View file

@ -0,0 +1,70 @@
<!--
PROJECT: Startup Hugo
VERSION: 1.0.0
AUTHOR: Gethugothemes
AUTHOR WEBSITE: https://gethugothemes.com
-->
<!DOCTYPE html>
<html lang="{{ site.LanguageCode | default `en-US` }}" itemscope itemtype="http://schema.org/WebPage">
<head>
{{ partial "head.html" . }}
<!-- Meta Viewport Tag hinzufügen -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "style.html" . }}
{{ else }}
{{ partial "style.html" . }}
{{ end }}
</head>
<body>
<!-- cache partial only in production -->
{{ partial "header.html" . }}
{{ if hugo.IsProduction }}
{{ partialCached "preloader.html" . }}
{{ else }}
{{ partial "preloader.html" . }}
{{ end }}
<main>
{{ block "main" . }}{{ end }}
</main>
<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "footer.html" . }}
{{ partialCached "script.html" . }}
{{ else }}
{{ partial "footer.html" . }}
{{ partial "script.html" . }}
{{ end }}
</body>
</html>

View file

@ -0,0 +1,44 @@
{{ define "main" }}
{{ partial "page-title.html" . }}
<section class="contact-form">
<div class="container">
<div class="contact-box row justify-content-center">
{{ with site.Params.contact -}}
<div class="col-md-4 col-sm-12">
<div class="block text-left">
<h2>{{ i18n "address_title" }}</h2>
<ul class="address-block">
{{ $add_address_descriptors := .address_descriptors }}
{{ with site.Params.location }}<li><i class="fas fa-map-marker-alt"></i>{{ if $add_address_descriptors }}{{ i18n "location" | printf "%s: " }}{{ end }}<div>{{ . | markdownify }}</div></li>{{ end }}
{{ with site.Params.email }}<li><i class="fas fa-envelope"></i>{{ if $add_address_descriptors }}{{ i18n "email" | printf "%s: " }}{{ end }}{{ partial "cloak_email" . }}</li>{{ end }}
{{ with site.Params.phone }}<li><i class="fas fa-tty"></i>{{ if $add_address_descriptors }}{{ i18n "phone" | printf "%s: " }}{{ end }}<div>{{ . | markdownify }}</div></li>{{ end }}
</ul>
</div>
</div>
<div class="col-md-4 col-sm-12">
<div class="block text-center">
<h2>{{ i18n "social_media" }}</h2>
<ul class="social-icons">
{{ range site.Params.social -}}
<li><a href="{{ .link | safeURL }}" target="_blank" rel="noopener noreferrer" class="social-icon">
<img src="{{ .image | relURL }}" alt="{{ .title }}" style="height: 40px;">
</a></li>
{{- end }}
</ul>
</div>
</div>
{{- end }}
</div>
</div>
</section>
<!-- Call to action -->
{{ if .Params.cta.enable }}
{{ partial "cta.html" . }}
{{ end }}
<!-- /Call to action -->
{{ end }}

View file

@ -0,0 +1,28 @@
{{ define "main" }}
{{ partial "page-title.html" . }}
<section class="page-wrapper">
<div class="container">
<div class="row">
<div class="col-md-4 sticky-top">
<h2>{{ .Title }}</h2>
{{ with .Params.subtitle }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
<p>{{ i18n "last_update" }}: {{ time.Format ":date_long" .Lastmod }}</p>
<h3>{{ i18n "faq_toc_title" }}</h3>
{{ .TableOfContents }}
</div>
<div class="col-md-8">
{{ .Content }}
</div>
</div>
</div>
</section>
<!-- Call to action -->
{{ if .Params.cta.enable }}
{{ partial "cta.html" . }}
{{ end }}
<!-- /Call to action -->
{{ end }}

22
layouts/_default/faq.html Normal file
View file

@ -0,0 +1,22 @@
{{ define "main" }}
{{ partial "page-title.html" . }}
<section class="page-wrapper">
<div class="container">
<div class="row">
<div class="col-md-4 sticky-top">
<h2>{{ .Title }}</h2>
{{ with .Params.subtitle }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
<p>{{ i18n "last_update" }}: {{ time.Format ":date_long" .Lastmod }}</p>
<h3>{{ i18n "faq_toc_title" }}</h3>
{{ .TableOfContents }}
</div>
<div class="col-md-8">
{{ .Content }}
</div>
</div>
</div>
</section>
{{ end }}

View file

@ -0,0 +1,34 @@
{{ define "main" }}
{{ partial "page-title.html" . }}
<section class="impressum section">
<div class="container">
<div class="row">
<div class="col-md-12">
<table class="table">
<tbody>
{{ range $index, $heading := .Params.headings }}
<tr>
<td class="col-1">
{{ $heading }}
</td>
<td class="col-2">
{{ index $.Params.contents $index | markdownify }}
</td>
</tr>
{{ end }}
</tbody>
</table>
</div>
</div>
</div>
</section>
<!-- Call to action -->
{{ if .Params.cta.enable }}
{{ partial "cta.html" . }}
{{ end }}
<!-- /Call to action -->
{{ end }}

280
layouts/_default/index.html Normal file
View file

@ -0,0 +1,280 @@
{{ define "main" }}
<header>
<!-- banner -->
{{ with .Params.banner }}
{{ if .enable }}
<section class="slider {{ if .bg_overlay }}overly{{ end }}" style="height: 100vh; display: flex; align-items: center; justify-content: center; position: relative;">
<!-- Scroll-Button unten -->
<div class="scrolldown" style="position: absolute; bottom: -120px; left: 50%; transform: translateX(-50%);">
<a href="#about" class="btn btn-secondary" style="cursor: pointer;">
<div class="chevrons">
<div class='chevrondown'></div>
<div class='chevrondown'></div>
</div>
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}
<!-- /banner -->
</header>
<!-- about -->
{{ with .Params.about }}
{{ if .enable }}
<section id="about" class="about section"> <!-- Add id="about" here -->
<div class="container">
<div class="row">
<div class="col-md-6 col-sm-12">
<div class="block">
<div class="section-title">
{{ with .title }}<h2>{{ . | markdownify }}</h2>{{ end }}
{{ with .description }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
</div>
{{ with .content }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
</div>
</div>
<div class="col-md-5 col-sm-12">
<div class="block">
<img src="{{ .image | relURL }}" class="img-responsive" alt="Img">
</div>
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}
<!-- /about -->
{{ with .Params.about }}
{{ if .enable }}
<section class="about section">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="about-img">
<img class="img-responsive" src="{{ .image | relURL }}">
</div>
</div>
<div class="col-md-6">
{{ with .title }}<h2 class="mt-40">{{ . | markdownify }}</h2>{{ end }}
{{ with .content }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
{{ with .button }}
{{ if .enable }}
<a href="{{ .link | relURL }}" class="btn btn-small mt-20">{{ .label }}</a>
{{ end }}
{{ end }}
</div>
</div>
<div class="row counter-box text-center mt-50">
{{ range .funfacts }}
<div class="col-md-2">
<div class="counter-item">
{{ with .icon }}<i class="{{ . }}"></i>{{ end }}
{{ with .count }}<h4 class="count" data-count="{{ . }}">0</h4>{{ end }}
{{ with .name }}<span>{{ . }}</span>{{ end }}
</div>
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}
{{ end }}
<section class="text-and-image-section">
<div class="container">
<div class="row">
<div class="col-md-6">
<!-- Bild auf der linken Seite -->
<div class="image-section">
<img src="images/module_reflection_2.webp" alt="Bildbeschreibung" class="img-fluid">
</div>
</div>
<div class="col-md-6">
<!-- Text auf der rechten Seite -->
<div class="text-section" style="max-width: 100%;">
<h2>Unser Angebot</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit... Lorem ipsum dolor sit amet, consectetur adipiscing elit.. Lorem ipsum dolor sit amet, consectetur adipiscing elit.. Lorem ipsum dolor sit amet, consectetur adipiscing elit.. Lorem ipsum dolor sit amet, consectetur adipiscing elit..</p>
</div>
<!-- Bild auf der linken Seite -->
<div class="image-section">
<img src="images/module_reflection_2.webp" alt="Bildbeschreibung" class="img-fluid">
</div>
</div>
<div class="col-md-6">
<!-- Text auf der rechten Seite -->
<div class="text-section" style="max-width: 100%;">
<h2>Unser Angebot</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit... Lorem ipsum dolor sit amet, consectetur adipiscing elit.. Lorem ipsum dolor sit amet, consectetur adipiscing elit.. Lorem ipsum dolor sit amet, consectetur adipiscing elit.. Lorem ipsum dolor sit amet, consectetur adipiscing elit..</p>
</div>
</div>
</div>
</div>
</section>
<!-- portfolio -->
{{ with .Params.portfolio }}
{{ if .enable }}
<section class="feature bg-2" style="background-image: url('{{ .bg_image | relURL }}')">
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-6">
{{ with .title }}<h2 class="section-subtitle">{{ . | markdownify }}</h2>{{ end }}
{{ with .content }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
{{ with .button }}
{{ if .enable }}
<a href="{{ .link | relLangURL }}" class="btn btn-view-works">{{ .label }}</a>
{{ end }}
{{ end }}
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}
<!-- /portfolio -->
<!-- service -->
{{ if .Params.service.enable }}
{{ partial "service.html" . }}
{{ end }}
<!-- /service -->
<!-- call to action -->
{{ if .Params.cta.enable }}
{{ partial "cta.html" . }}
{{ end }}
<!-- /call to action -->
<!-- funfacts -->
{{ with .Params.funfacts }}
{{ if .enable }}
<section class="testimonial">
<div class="container">
<div class="row">
<div class="section-title text-center">
{{ with .title }}<h2>{{ . | markdownify }}</h2>{{ end }}
{{ with .description }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="block">
<ul class="counter-box clearfix">
{{ range .funfact_item }}
<li class="counter-item">
<!-- Anstelle eines Icons, das Bild einbinden -->
<img src="{{ .image | relURL }}" alt="{{ .name }}" style="width: 50px; height: auto;"> <!-- Stil nach Bedarf anpassen -->
<h4 class="count" data-count="{{ .count }}">0</h4>
<span>{{ .name | markdownify }}</span>
</li>
{{ end }}
</ul>
</div>
</div>
<div class="col-md-5 col-md-offset-1">
<div class="testimonial-carousel text-center">
<div class="testimonial-slider owl-carousel">
{{ range .testimonial_slider }}
<div>
{{ with .content }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
<div class="user">
<img src="{{ .image | relURL }}" alt="client">
<p><span>{{ .name | markdownify }}</span> {{ .designation | markdownify }}</p>
</div>
</div>
{{ end }}
</div>
</div>
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}
<script>
const canvas = document.getElementById('sinusCanvas');
const ctx = canvas.getContext('2d');
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
const wave = {
y: canvas.height / 2,
length: 0.004,
amplitude: 160,
amplitudeVariation: 60,
frequency: 0.007
};
let increment = wave.frequency;
function animate() {
requestAnimationFrame(animate);
// Setzt den Hintergrundfarbe, um den Kontrast zu erhöhen und die weiße Welle sichtbar zu machen
ctx.fillStyle = 'rgba(0, 0, 0, 0.05)'; // Leichter Trail-Effekt mit dunklem Hintergrund
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.beginPath();
ctx.moveTo(-330, wave.y);
ctx.lineWidth = 1 + Math.abs(Math.sin(increment) * 10); // Dynamische Anpassung der Linienstärke
for (let i = 0; i < canvas.width; i++) {
ctx.lineTo(
i,
wave.y +
Math.sin(i * wave.length + increment) *
wave.amplitude *
Math.sin(increment)
);
}
ctx.strokeStyle = 'white'; // Stellt die Linienfarbe auf Weiß ein
ctx.stroke();
increment += wave.frequency;
}
animate();
</script>
<script>
document.addEventListener('DOMContentLoaded', function() {
var scrollDownButton = document.querySelector('.scroll-down-button');
scrollDownButton.addEventListener('click', function() {
document.querySelector('#about').scrollIntoView({
behavior: 'smooth'
});
});
});
</script>
{{ end }}

View file

@ -0,0 +1,54 @@
{
"name": "{{site.Title}}",
"short_name": "{{site.Title}}",
"lang": "{{ site.LanguageCode | default `en-us` }}",
{{ with site.Params.variables.color_primary }}"theme_color": "{{.}}",{{ end }}
{{ with site.Params.variables.body_color }}"background_color": "{{.}}",{{ end }}
{{ $icon:= site.Params.favicon }}
{{ if $icon }}
{{ if fileExists (add `assets/` $icon) }}
{{ $icon:= resources.Get $icon }}
{{ $icon_48:= $icon.Resize "48x48 png" }}
{{ $icon_72:= $icon.Resize "72x72 png" }}
{{ $icon_96:= $icon.Resize "96x96 png" }}
{{ $icon_144:= $icon.Resize "144x144 png" }}
{{ $icon_192:= $icon.Resize "192x192 png" }}
{{ $icon_512:= $icon.Resize "512x512 png" }}
"icons": [
{
"src": "{{$icon_48.RelPermalink}}",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "{{$icon_72.RelPermalink}}",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "{{$icon_96.RelPermalink}}",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "{{$icon_144.RelPermalink}}",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "{{$icon_192.RelPermalink}}",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "{{$icon_512.RelPermalink}}",
"sizes": "512x512",
"type": "image/png"
}
],
{{ end }}
{{ end }}
"display": "standalone",
"start_url": "{{ site.BaseURL | relLangURL }}?utm_source=web_app_manifest"
}

119
layouts/_default/list.html Normal file
View file

@ -0,0 +1,119 @@
{{ define "main" }}
{{ partial "page-title.html" . }}
<!-- checking blog -->
{{ if or (eq .Section "post") (eq .Section "posts") (eq .Section "blog") (eq .Section "blogs") (eq .Section "news") (eq .Section "categories") (eq .Section "tags") }}
<div class="page-wrapper">
<div class="container">
<div class="row">
<div class="col-md-8">
{{ $paginator := .Paginate .Data.Pages -}}
{{ range $paginator.Pages -}}
<div class="post">
<div class="post-media post-thumb">
{{ if isset .Params "image" -}}
<a href="{{ .RelPermalink }}">
<img src="{{ .Params.image | relURL }}" alt="{{ .Title }}">
</a>
{{- end }}
</div>
<h3 class="post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<div class="post-meta">
<ul>
<li><i class="fas fa-calendar-week"></i> {{ time.Format ":date_long" .PublishDate }}</li>
<li><i class="fas fa-user"></i>
{{ i18n "posted_by" }}
{{ $authors := slice }}{{ if reflect.IsSlice .Params.author }}{{ $authors = .Params.author }}{{ else }}{{ $authors = (slice .Params.author) }}{{ end -}}
{{ range $index, $elements := $authors }}{{ if ne $index 0 }}, {{ end }}<a class="text-primary" href="{{ `author/` | relLangURL }}{{ . | urlize }}">{{ . }}</a>{{ end }}
</li>
<li><i class="fas fa-tags"></i>
{{ range $index, $elements:= .Params.tags }}{{ if ne $index 0 }}, {{ end }}<a href="{{ `tags/` | relLangURL }}{{ . | urlize }}">{{ . }}</a>{{ end }}
</li>
</ul>
</div>
<div class="post-content">
<p>{{ .Summary }}</p>
<a href="{{ .RelPermalink }}" class="btn btn-main">{{ i18n "read_more" }}</a>
</div>
</div>
{{- end }}
<!-- pagination -->
{{ $paginator := .Paginator -}}
{{ $adjacent_links := 2 -}}
{{ $max_links := (add (mul $adjacent_links 2) 1) -}}
{{ $lower_limit := (add $adjacent_links 1) -}}
{{ $upper_limit := (sub $paginator.TotalPages $adjacent_links) -}}
{{ if gt $paginator.TotalPages 1 -}}
<nav class="text-center">
<ul class="pagination post-pagination">
<!-- Previous page. -->
{{ if $paginator.HasPrev -}}
<li>
<a href="{{ $paginator.Prev.URL }}" class="page-link">{{ i18n "page_prev" }}</a>
</li>
{{- end }}
<!-- Page numbers. -->
{{ range $paginator.Pagers -}}
{{ $page_number_flag := false -}}
<!-- Advanced page numbers. -->
{{ if gt $paginator.TotalPages $max_links -}}
<!-- Lower limit pages. -->
<!-- If the user is on a page which is in the lower limit. -->
{{ if le $paginator.PageNumber $lower_limit -}}
<!-- If the current loop page is less than max_links. -->
{{ if le .PageNumber $max_links -}}
{{ $page_number_flag = true -}}
{{ end -}}
<!-- Upper limit pages. -->
<!-- If the user is on a page which is in the upper limit. -->
{{ else if ge $paginator.PageNumber $upper_limit -}}
<!-- If the current loop page is greater than total pages minus $max_links -->
{{ if gt .PageNumber (sub $paginator.TotalPages $max_links) -}}
{{ $page_number_flag = true -}}
{{ end -}}
<!-- Middle pages. -->
{{ else -}}
{{ if and (ge .PageNumber (sub $paginator.PageNumber $adjacent_links)) (le .PageNumber (add $paginator.PageNumber $adjacent_links)) -}}
{{ $page_number_flag = true -}}
{{ end -}}
{{ end -}}
<!-- Simple page numbers. -->
{{ else -}}
{{ $page_number_flag = true -}}
{{ end -}}
<!-- Output page numbers. -->
{{ if eq $page_number_flag true -}}
<li class="{{ if eq . $paginator }} active {{ end }}">
<a href="{{ .URL }}">
{{ .PageNumber }}
</a>
</li>
{{- end }}
{{- end }}
<!-- Next page. -->
{{ if $paginator.HasNext -}}
<li>
<a href="{{ $paginator.Next.URL }}">{{ i18n "page_next" }}</a>
</li>
{{- end }}
</ul>
</nav>
{{- end }}
</div>
<div class="col-md-4">
{{ partial "blog-sidebar.html" . }}
</div>
</div>
</div>
</div>
<!-- regular page -->
{{ else -}}
{{ .Render "default" }}
{{- end }}
<!-- /regular page -->
{{ end }}

View file

@ -0,0 +1,16 @@
{{ define "main" }}
<section class="page-message-sent">
<div class="container">
<div class="row">
<div class="col-md-12">
<img src="{{ site.Params.contact.form.success_image | relURL }}" alt="Paper plane">
<h1>{{ i18n "form_submitted" | markdownify }}</h1>
<h2 class="text-muted">{{ i18n "form_respond" | markdownify }}</h2>
<a href="{{ "/" | relLangURL }}" class="btn btn-main"><i class="tf-ion-android-arrow-back"></i> {{ i18n "go_home" | markdownify }}</a>
</div>
</div>
</div>
</section>
{{ end }}

View file

@ -0,0 +1,41 @@
{{ define "main" }}
{{ partial "page-title.html" . }}
{{ with .Params.pricing }}
{{ if .enable }}
<section class="pricing-table section bg-gray">
<div class="container">
<div class="row">
<!-- single pricing table -->
{{ range .pricing_table }}
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="pricing-item text-center">
<div class="price-title">
{{ with .name }}<h3>{{ . | markdownify }}</h3>{{ end }}
{{ with .price }}<strong class="value">{{ . }}</strong>{{ end }}
{{ with .content }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
</div>
<ul>
{{ range .services }}
<li>{{ . | markdownify }}</li>
{{ end }}
</ul>
<a class="btn btn-small" href="{{ .link | safeURL }}">{{ i18n "buy_now" }}</a>
</div>
</div>
{{ end }}
<!-- end single pricing table -->
</div>
</div>
</section>
{{ end }}
{{ end }}
<!-- Call to action -->
{{ if .Params.cta.enable }}
{{ partial "cta.html" . }}
{{ end }}
<!-- /Call to action -->
{{ end }}

View file

@ -0,0 +1,60 @@
{{ define "main" }}
{{ partial "page-title.html" . }}
{{ with .Params.about }}
{{ if .enable }}
<section class="service-about section">
<div class="container">
<div class="row">
<div class="col-md-12">
{{ with .title }}<h2>{{ . | markdownify }}</h2>{{ end }}
{{ with .content }}<div class="mt-30 fixed-text">{{ . | $.Page.RenderString (dict "display" "block") }}</div>{{ end }}
</div>
{{ with .image -}}
<div class="col-md-6">
<img class="img-fluid" src="{{ . | relURL }}">
</div>
{{- end }}
</div>
</div>
</section>
{{ end }}
{{ end }}
{{ with .Params.featured_service }}
{{ if .enable }}
<section class="service-arrow">
<div class="container">
{{ range .service_item }}
<div class="row mb-6">
<div class="col-md-12 bg-{{ .color }} no-float">
<div class="block d-flex align-items-center justify-content-between">
<div class="service-icon">
<i class="{{ .icon }}"></i>
</div>
<div class="service-content flex-grow-1">
{{ with .name }}<h3 class="service-title">{{ . | markdownify }}</h3>{{ end }}
{{ with .content }}<div class="service-description">{{ . | $.Page.RenderString (dict "display" "block") }}</div>{{ end }}
</div>
{{ if .image }}
<div class="service-image">
<img src="{{ .image | relURL }}" alt="{{ .name }}" class="responsive-image">
</div>
{{ end }}
</div>
</div>
</div>
{{ end }}
</div>
</section>
{{ end }}
{{ end }}
<!-- Call to action -->
{{ if .Params.cta.enable }}
{{ partial "cta.html" . }}
{{ end }}
<!-- /Call to action -->
{{ end }}

View file

@ -0,0 +1,29 @@
{{ define "main" }}
{{ partial "page-title.html" . }}
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ .Title }}</title>
<link rel="stylesheet" href="{{ "css/styles.css" | absURL }}">
</head>
<body>
<header>
<h1>{{ .Title }}</h1>
<nav>
<!-- Navigation kann hier hinzugefügt werden -->
</nav>
</header>
<main>
{{ .Content }}
</main>
<footer>
<p>&copy; 2023 Dein Unternehmen</p>
</footer>
</body>
</html>
{{ end }}

View file

@ -0,0 +1,55 @@
{{ define "main" }}
{{ partial "page-title.html" . }}
<!-- checking blog -->
{{ if or (eq .Section "post") (eq .Section "posts") (eq .Section "blog") (eq .Section "blogs") (eq .Section "news") (eq .Section "categories") (eq .Section "tags") }}
<section class="page-wrapper">
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="post post-single">
<h2 class="post-title">{{ .Title }}</h2>
<div class="post-meta">
<ul>
<li><i class="ion-calendar"></i> {{ time.Format ":date_long" .PublishDate }}</li>
<li><i class="ion-android-people"></i>
{{ i18n "posted_by" }}
{{ $authors := slice }}{{ if reflect.IsSlice .Params.author }}{{ $authors = .Params.author }}{{ else }}{{ $authors = (slice .Params.author) }}{{ end -}}
{{ range $index, $elements := $authors }}{{ if ne $index 0 }}, {{ end }}<a class="text-primary" href="{{ `author/` | relLangURL }}{{ . | urlize }}">{{ . }}</a>{{ end }}
</li>
<li><i class="ion-pricetags"></i>
{{ range $index, $elements:= .Params.tags }}{{ if ne $index 0 }}, {{ end }}<a href="{{ `tags/` | relLangURL }}{{ . | urlize }}">{{ . }}</a>{{ end }}
</li>
</ul>
</div>
<div class="post-thumb">
{{ with .Params.image -}}
<img class="img-responsive" src="{{ . | relURL }}" alt="{{ $.Title }}">
{{- end }}
</div>
<div class="post-content post-excerpt">
{{ .Content }}
</div>
{{ with site.Params.DisqusShortname -}}
<div class="post-comments">
{{ template "_internal/disqus.html" . }}
</div>
{{- end }}
</div>
</div>
<div class="col-md-4">
{{ partial "blog-sidebar.html" . }}
</div>
</div>
</div>
</section>
<!-- regular page -->
{{ else -}}
{{ .Render "default" }}
{{- end }}
<!-- /regular page -->
{{ end }}

View file

@ -0,0 +1,2 @@
<!-- Redirect to homepage -->
<script>window.location.replace("{{ site.BaseURL | relLangURL }}");</script>