fixes
This commit is contained in:
@ -1,19 +0,0 @@
|
||||
<!--div class="card border-0 rounded-0 hover-shadow">
|
||||
<div class="card-img position-relative">
|
||||
<div class="card-date"><span>{{ .Date.Format "2" }}</span><br>{{ .Date.Format "Jan" }}</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p><i class="ti-location-pin text-primary mr-2"></i>{{ .Params.Location | markdownify }}</p>
|
||||
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
</div>
|
||||
</div-->
|
||||
|
||||
<li class="d-md-table mb-4 w-100 border-bottom hover-shadow">
|
||||
<div class="d-md-table-cell text-center p-4 bg-primary text-white mb-4 mb-md-0"><span class="h2 d-block">{{ .Date.Format "2"}}</span> {{ .Date.Format "Jan, 2006"}}</div>
|
||||
<div class="d-md-table-cell px-4 vertical-align-middle mb-4 mb-md-0">
|
||||
<p href="{{ .Permalink }}" class="h4 mb-3 d-block">{{ .Title }}</p>
|
||||
<p class="mb-0">{{ .Summary | truncate 100 }}</p>
|
||||
</div>
|
||||
<div class="d-md-table-cell text-right pr-0 pr-md-4"><p><i class="ti-location-pin text-primary mr-2"></i>{{ .Params.Location | markdownify }}</p></div>
|
||||
|
||||
</li>
|
@ -1,8 +0,0 @@
|
||||
<li class="d-md-table mb-4 w-100 border-bottom hover-shadow">
|
||||
<div class="d-md-table-cell text-center p-4 bg-primary text-white mb-4 mb-md-0"><span class="h2 d-block">{{ .PublishDate.Format "2"}}</span> {{ .PublishDate.Format "Jan, 2006"}}</div>
|
||||
<div class="d-md-table-cell px-4 vertical-align-middle mb-4 mb-md-0">
|
||||
<a href="{{ .Permalink }}" class="h4 mb-3 d-block">{{ .Title }}</a>
|
||||
<p class="mb-0">{{ .Summary | truncate 100 }}</p>
|
||||
</div>
|
||||
<div class="d-md-table-cell text-right pr-0 pr-md-4"><a href="{{ .Permalink }}" class="btn btn-primary">{{ i18n "read_more"}}</a></div>
|
||||
</li>
|
@ -1,13 +0,0 @@
|
||||
<div class="card border-0 rounded-0 hover-shadow mb-5">
|
||||
<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>{{ .Params.Course }}</p>
|
||||
<ul class="list-inline">
|
||||
{{ range .Params.Contact }}
|
||||
<li class="list-inline-item"><a class="text-color" href="{{ .link | safeURL }}"><i class="{{ .icon }}"></i></a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
@ -1,164 +0,0 @@
|
||||
<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 .Params.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 }}
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
|
||||
|
||||
{{ "<!--Favicon-->" | safeHTML }}
|
||||
<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>
|
||||
|
||||
<section class="page-title-section overlay" style="background-image: url('{{ .Params.Bg_image | relURL}}'),url('{{`media/backgrounds/page-title.png`| relURL}}');" >
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<ul class="list-inline custom-breadcrumb">
|
||||
<!--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 class="section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="content">
|
||||
{{ .Content | safeHTML }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- footer -->
|
||||
<footer>
|
||||
<!-- newsletter -->
|
||||
{{ if .Site.Params.subscription.enable }}
|
||||
{{ with .Site.Params.subscription }}
|
||||
<div class="newsletter">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-9 ml-auto bg-primary py-5 newsletter-block">
|
||||
<h3 class="text-white">{{ i18n "subscribe_newsletter" }}</h3>
|
||||
<form action="{{ .mailchimp_form_action }}" method="post" name="mc-embedded-subscribe-form" target="_blank">
|
||||
<div class="input-wrapper">
|
||||
<input type="email" class="form-control border-0" id="newsletter" name="newsletter" placeholder="{{ i18n "enter_email" }}">
|
||||
<button type="submit" name="subscribe" class="btn btn-primary">{{ i18n "join" }}</button>
|
||||
<div style="position: absolute; left: -5000px;" aria-hidden="true">
|
||||
<input type="text" name="{{ .mailchimp_form_name }}" tabindex="-1">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<!-- footer content -->
|
||||
<div class="footer bg-footer section border-bottom">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-sm-8 mb-5 mb-lg-0">
|
||||
<!-- logo -->
|
||||
<a class="logo-footer"><img class="img-fluid mb-4" src="{{ .Site.Params.logo | absURL }}" alt="{{ .Site.Title }}"></a>
|
||||
<ul class="list-unstyled">
|
||||
<li class="mb-4">
|
||||
<a href="{{ .Site.Params.route_link }}">{{ .Site.Params.address | markdownify }}</a>
|
||||
</li>
|
||||
<li class="mb-4">{{ .Site.Params.email | markdownify }}</li>
|
||||
<li class="mb-4"><a href="tel:{{ .Site.Params.mobile | markdownify }}">{{ .Site.Params.mobile | markdownify }}</a></li>
|
||||
<li class="mb-4">
|
||||
<a href="{{ .Site.Params.impressumminURL | absLangURL }}">Impressum</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- copyright -->
|
||||
<div class="copyright py-4 bg-footer">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-7 text-sm-left text-center">
|
||||
<p class="mb-0">{{ .Site.Params.copyright | markdownify }}</p>
|
||||
</div>
|
||||
<div class="col-sm-5 text-sm-right text-center">
|
||||
<ul class="list-inline">
|
||||
{{ range .Site.Params.social }}
|
||||
<li class="list-inline-item"><a class="d-inline-block p-2" href="{{ .link | safeURL }}"><i class="{{ .icon }} text-primary"></i></a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- /footer -->
|
||||
|
||||
{{ "<!-- JS Plugins -->" | safeHTML }}
|
||||
{{ range .Site.Params.plugins.js}}
|
||||
<script src="{{ .link | absURL }}"></script>
|
||||
{{ end }}
|
||||
|
||||
{{ "<!-- Main Script -->" | safeHTML }}
|
||||
{{ $script := resources.Get "js/script.js" | minify}}
|
||||
<script src="{{ $script.Permalink }}"></script>
|
||||
|
||||
{{ "<!-- google analitycs -->" | safeHTML }}
|
||||
{{ with .Site.Params.google_analitycs_id}}
|
||||
<script>
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r;
|
||||
i[r] = i[r] || function () {
|
||||
(i[r].q = i[r].q || []).push(arguments)
|
||||
}, i[r].l = 1 * new Date();
|
||||
a = s.createElement(o),
|
||||
m = s.getElementsByTagName(o)[0];
|
||||
a.async = 1;
|
||||
a.src = g;
|
||||
m.parentNode.insertBefore(a, m)
|
||||
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
||||
ga('create', '{{ . }}', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
{{ end }}
|
@ -1,28 +1,5 @@
|
||||
<!-- footer -->
|
||||
<footer>
|
||||
<!-- newsletter -->
|
||||
{{ if .Site.Params.subscription.enable }}
|
||||
{{ with .Site.Params.subscription }}
|
||||
<div class="newsletter">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-9 ml-auto bg-primary py-5 newsletter-block">
|
||||
<h3 class="text-white">{{ i18n "subscribe_newsletter" }}</h3>
|
||||
<form action="{{ .mailchimp_form_action }}" method="post" name="mc-embedded-subscribe-form" target="_blank">
|
||||
<div class="input-wrapper">
|
||||
<input type="email" class="form-control border-0" id="newsletter" name="newsletter" placeholder="{{ i18n "enter_email" }}">
|
||||
<button type="submit" name="subscribe" class="btn btn-primary">{{ i18n "join" }}</button>
|
||||
<div style="position: absolute; left: -5000px;" aria-hidden="true">
|
||||
<input type="text" name="{{ .mailchimp_form_name }}" tabindex="-1">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<!-- footer content -->
|
||||
<div class="footer bg-footer section border-bottom">
|
||||
<div class="container">
|
||||
@ -41,18 +18,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- company -->
|
||||
<!-- <div class="col-lg-2 col-sm-4 col-6 mb-5 mb-md-0">
|
||||
<h4 class="text-white mb-5 text-uppercase">{{ i18n "company" }}</h4>
|
||||
<ul class="list-unstyled">
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ if not .HasChildren }}
|
||||
<li class="mb-3"><a class="text-color" href="{{ .URL | absLangURL }}">{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div> -->
|
||||
<!-- links -->
|
||||
<div class="col-lg-2 col-sm-4 col-6 mb-5 mb-md-0">
|
||||
<h4 class="text-white mb-5 text-uppercase">{{ i18n "links" }}</h4>
|
||||
<ul class="list-unstyled">
|
||||
@ -110,22 +75,3 @@
|
||||
{{ "<!-- Main Script -->" | safeHTML }}
|
||||
{{ $script := resources.Get "js/script.js" | minify}}
|
||||
<script src="{{ $script.Permalink }}"></script>
|
||||
|
||||
{{ "<!-- google analitycs -->" | safeHTML }}
|
||||
{{ with .Site.Params.google_analitycs_id}}
|
||||
<script>
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r;
|
||||
i[r] = i[r] || function () {
|
||||
(i[r].q = i[r].q || []).push(arguments)
|
||||
}, i[r].l = 1 * new Date();
|
||||
a = s.createElement(o),
|
||||
m = s.getElementsByTagName(o)[0];
|
||||
a.async = 1;
|
||||
a.src = g;
|
||||
m.parentNode.insertBefore(a, m)
|
||||
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
||||
ga('create', '{{ . }}', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
{{ end }}
|
||||
|
@ -25,8 +25,6 @@
|
||||
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=="
|
||||
|
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row filtr-container">
|
||||
{{ range .Data.Pages }}
|
||||
{{ range (where .Data.Pages "Params.type" "schulchronik") }}
|
||||
<div class="col-lg-4 col-sm-6 mb-5">
|
||||
{{ .Render "schulchronik" }}
|
||||
</div>
|
||||
|
@ -3,17 +3,6 @@
|
||||
<!-- section -->
|
||||
<section class="section-sm">
|
||||
<div class="container">
|
||||
<!-- <div class="row">
|
||||
<div class="col-12 mb-4">
|
||||
<!-- course thumb -->
|
||||
<!-- <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>
|
||||
<!-- course details -->
|
||||
<div class="row">
|
||||
<div class="col-12 mb-4">
|
||||
{{ .Content }}
|
||||
|
@ -13,7 +13,6 @@
|
||||
<p class="mb-0">{{ .summary | truncate 100 }}</p>
|
||||
</div>
|
||||
<div class="d-md-table-cell text-right pr-0 pr-md-4"><p><i class="ti-location-pin text-primary mr-2"></i>{{ .location | markdownify }}</p></div>
|
||||
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user