Update 13.09.2020
This commit is contained in:
@ -121,3 +121,18 @@
|
||||
|
||||
|
||||
})(jQuery);
|
||||
|
||||
var acc = document.getElementsByClassName("accordion");
|
||||
var i;
|
||||
|
||||
for (i = 0; i < acc.length; i++) {
|
||||
acc[i].addEventListener("click", function() {
|
||||
this.classList.toggle("active");
|
||||
var panel = this.nextElementSibling;
|
||||
if (panel.style.maxHeight) {
|
||||
panel.style.maxHeight = null;
|
||||
} else {
|
||||
panel.style.maxHeight = panel.scrollHeight + "px";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -404,3 +404,20 @@ textarea.form-control{
|
||||
width: 85px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
summary {
|
||||
font-weight: bold;
|
||||
margin: -.5em -.5em 0;
|
||||
padding: .5em;
|
||||
font-size: 20px;
|
||||
|
||||
}
|
||||
|
||||
details[open] {
|
||||
padding: .5em;
|
||||
}
|
||||
|
||||
details[open] summary {
|
||||
border-bottom: 1px solid #aaa;
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
|
@ -13,5 +13,5 @@ $gray: #f8f8f8;
|
||||
|
||||
// Font Variables
|
||||
$primary-font: 'Fira Sans', sans-serif;
|
||||
$secondary-font: 'Fira Sans';
|
||||
$secondary-font: 'Fira Sans Heavy';
|
||||
$icon-font: 'themify';
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class="card border-primary rounded-0 hover-shadow mb-5">
|
||||
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
|
||||
<!-- <img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}"> -->
|
||||
<div class="card-body">
|
||||
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
<p class="card-text mb-4">{{ .Summary | truncate 100 }}</p>
|
||||
|
@ -11,39 +11,30 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-7 mb-4 mb-lg-0">
|
||||
<form action="" method="POST">
|
||||
<input type="text" class="form-control mb-3" id="name" name="name" placeholder="Your Name">
|
||||
<input type="email" class="form-control mb-3" id="mail" name="mail" placeholder="Your Email">
|
||||
<input type="text" class="form-control mb-3" id="subject" name="subject" placeholder="Subject">
|
||||
<textarea name="message" id="message" class="form-control mb-3" placeholder="Your Message"></textarea>
|
||||
<input type="text" class="form-control mb-3" id="name" name="name" placeholder="Ihr Name">
|
||||
<input type="email" class="form-control mb-3" id="mail" name="mail" placeholder="Ihre E-Mail Adresse">
|
||||
<input type="text" class="form-control mb-3" id="subject" name="subject" placeholder="Betreff">
|
||||
<textarea name="message" id="message" class="form-control mb-3" placeholder="Nachricht"></textarea>
|
||||
<button type="submit" value="send" class="btn btn-primary">{{ i18n "send" }}</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-lg-5 content">
|
||||
<div class="col-lg-5">
|
||||
{{ .Content }}
|
||||
<a href="tel:{{ .Site.Params.mobile }}" class="text-color h5 d-block">{{ .Site.Params.mobile }}</a>
|
||||
<a href="mailto:{{ .Site.Params.email }}" class="mb-5 text-color h5 d-block">{{ .Site.Params.email }}</a>
|
||||
<a href="{{ .Site.Params.route_link }}" class="mb-5 text-color d-block">{{ .Site.Params.address | markdownify }}</a>
|
||||
<a href="tel:{{ .Site.Params.mobile }}" class="mb-5 btn btn-primary">{{ .Site.Params.mobile }}</a>
|
||||
<a href="mailto:{{ .Site.Params.email }}" class="btn btn-primary">{{ .Site.Params.email }}</a>
|
||||
<!--a href="{{ .Site.Params.route_link }}" class="mb-5 text-color d-block">{{ .Site.Params.address | markdownify }}</a-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /contact -->
|
||||
|
||||
<!-- gmap -->
|
||||
<section class="section pt-0 bg-gray">
|
||||
<!-- OPenStreetMap -->
|
||||
<div class="map_canvas container">
|
||||
<iframe width="100%" height="500" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=11.963604390621185%2C51.472637532848985%2C11.967144906520845%2C51.474201296827125&layer=mapnik&marker=51.473419421538615%2C11.965374648571014" style="border:1px solid; border-color: #1e1e4b;"></iframe>
|
||||
</div>
|
||||
<style>
|
||||
.map_canvas {
|
||||
overflow:hidden;
|
||||
background:none!important;
|
||||
height:500px;
|
||||
width:100%;
|
||||
center:true;
|
||||
}
|
||||
</style>
|
||||
<div class="container">
|
||||
<div id="map">
|
||||
<script src="/js/map.js"></script>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ end }}
|
||||
|
@ -11,7 +11,7 @@
|
||||
</label>
|
||||
{{ $categories := slice }}
|
||||
{{ range .Data.Pages }}
|
||||
{{ range .Params.Categories }}
|
||||
{{ range .Params.Categories_ag }}
|
||||
{{ $categories = $categories | append . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@ -30,7 +30,7 @@
|
||||
{{"<!-- portfolio item -->" | safeHTML}}
|
||||
{{ range .Data.Pages }}
|
||||
<div class="col-lg-4 shuffle-item"
|
||||
data-groups="[{{range $index, $element:= .Params.Categories }}{{if ne $index 0}},{{end}}"{{. | urlize}}"{{ end }}]">
|
||||
data-groups="[{{range $index, $element:= .Params.Categories_ag }}{{if ne $index 0}},{{end}}"{{. | urlize}}"{{ end }}]">
|
||||
{{ .Render "ganztagsangebote" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -8,7 +8,7 @@
|
||||
<div class="d-flex">
|
||||
<div class="text-center mr-4">
|
||||
<div class="p-4 bg-primary text-white">
|
||||
<span class="h2 d-block">{{ .PublishDate.Format "06"}}</span> {{ .PublishDate.Format "JAN, 2006"}}
|
||||
<span class="h2 d-block">{{ .PublishDate.Format "2"}}</span> {{ .PublishDate.Format "Jan, 2006"}}
|
||||
</div>
|
||||
</div>
|
||||
<!-- notice content -->
|
||||
@ -24,4 +24,4 @@
|
||||
</section>
|
||||
<!-- /notice details -->
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
@ -21,4 +21,23 @@
|
||||
<link rel="shortcut icon" href="{{ `media/favicon.png` | absURL }}" type="image/x-icon">
|
||||
<link rel="icon" href="{{ `media/favicon.png` | absURL }}" type="image/x-icon">
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
|
||||
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
|
||||
crossorigin=""/>
|
||||
|
||||
|
||||
|
||||
<!-- Make sure you put this AFTER Leaflet's CSS -->
|
||||
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
|
||||
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
|
||||
crossorigin=""></script>
|
||||
|
||||
<style>
|
||||
#map {
|
||||
height: 500px;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 15px;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
@ -4,12 +4,12 @@
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<ul class="list-inline custom-breadcrumb">
|
||||
<li class="list-inline-item h2"><a class="text-primary font-secondary" href="{{ .Site.BaseURL | absLangURL }}">{{ .Site.Params.home }}</a></li>
|
||||
<li class="list-inline-item h5"><i class="ti-angle-right text-white"></i></li>
|
||||
<li class="list-inline-item text-white h3 font-secondary">{{ .Title }}</li>
|
||||
<li class="list-inline-item h1"><a class="text-primary font-secondary" href="{{ .Site.BaseURL | absLangURL }}">{{ .Site.Params.home }}</a></li>
|
||||
<li class="list-inline-item h2"><i class="ti-angle-right text-white"></i></li>
|
||||
<li class="list-inline-item text-white h1 font-secondary">{{ .Title }}</li>
|
||||
</ul>
|
||||
<p class="text-lighten">{{ .Params.Description | markdownify }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
@ -3,24 +3,19 @@
|
||||
<!-- section -->
|
||||
<section class="section-sm">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<!-- <div class="row">
|
||||
<div class="col-12 mb-4">
|
||||
<!-- course thumb -->
|
||||
<img style="height: 500px;width: 100%;object-fit: cover;" src="{{ .Params.Image | relURL }}"
|
||||
<!-- <img style="height: 500px;width: 100%;object-fit: cover;" src="{{ .Params.Image | relURL }}"
|
||||
class="img-fluid w-100">
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h2>{{ .Title }}</h2>
|
||||
</div>
|
||||
<div class="content">
|
||||
<aside>
|
||||
{{ .TableOfContents }}
|
||||
</aside>
|
||||
</div>
|
||||
<!-- course details -->
|
||||
<div class="row">
|
||||
<div class="col-12 mb-4 content">
|
||||
<div class="col-12 mb-4">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
<!-- cantorpreisträger -->
|
||||
|
Reference in New Issue
Block a user