Schulchronik Vollständig

This commit is contained in:
Denys Konovalov
2020-08-07 21:08:46 +02:00
parent 6d43177e14
commit b25868cc01
942 changed files with 88069 additions and 83 deletions

View File

@ -8,6 +8,30 @@ body {
color: $white;
}
.list-items {
ul {
padding-left: 0;
li {
position: relative;
padding-left: 20px;
margin-bottom: 10px;
list-style-type: none;
&::before {
position: absolute;
content: "\e65d";
font-family: $icon-font;
font-size: 14px;
left: 0;
top: 1px;
color: $primary-color;
transition: .3s ease;
}
}
}
}
/* preloader */
.preloader {

View File

@ -1,9 +1,8 @@
/* typography */
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700');
@import url('https://code.cdn.mozilla.net/fonts/fira.css');
@font-face {
font-family: 'futura-bold';
src: url('../fonts/Futura-Bold.woff') format('woff');
font-family: 'Fira Sans';
font-weight: normal;
font-style: normal;
}

View File

@ -12,6 +12,6 @@ $light: #f8f9fe;
$gray: #f8f8f8;
// Font Variables
$primary-font: 'Poppins', sans-serif;
$secondary-font: 'futura-bold';
$icon-font: 'themify';
$primary-font: 'Fira Sans', sans-serif;
$secondary-font: 'Fira Sans';
$icon-font: 'themify';

View File

@ -0,0 +1,16 @@
{{ define "main" }}
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
<div class="content">
<h2>This Page doesn't exist</h2>
<a class="btn btn-primary" href="{{ .Site.BaseURL | relLangURL }}">Back to Homepage</a>
</div>
</div>
</div>
</div>
</section>
{{ end }}

View File

@ -0,0 +1,6 @@
<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>
</div>
</div>

View File

@ -0,0 +1,6 @@
<div class="card border-0 rounded-0 hover-shadow mb-2">
<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>
</div>
</div>

View File

@ -2,6 +2,6 @@
<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.Year }}</p>
<p>{{ .Params.Name }}</p>
</div>
</div>

View File

@ -0,0 +1,19 @@
{{ define "main" }}
<!-- teachers -->
<section class="section">
<div class="container">
<!-- teacher list -->
<div class="row">
<!-- teacher -->
{{ range .Data.Pages }}
<div class="col-lg-4 col-sm-6">
{{ .Render "abiturienten" }}
</div>
{{ end }}
</div>
</div>
</section>
<!-- /teachers -->
{{ end }}

View File

@ -0,0 +1,21 @@
{{ define "main" }}
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
{{ if .Params.Few }}
{{ else }}
<div class="col-12 mb-4">
<img src="{{ .Params.Image | relURL }}" alt="blog-thumb" class="img-fluid w-100">
</div>
{{ end }}
<div class="content">
{{ .Content }}
</div>
</div>
</div>
</div>
</section>
{{ end }}

View File

@ -0,0 +1,29 @@
{{ define "main" }}
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
<div class="content">
{{ .Content }}
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
{{ range (where .Data.Pages "Params.tenrange" "0") }}
<div class="col-lg-4 col-sm-6">
{{ .Render "cantorfora" }}
</div>
{{ end }}
{{ range (where .Data.Pages "Params.tenrange" "1") }}
<div class="col-lg-4 col-sm-6">
{{ .Render "cantorfora" }}
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}

View File

@ -0,0 +1,19 @@
{{ define "main" }}
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
{{ if .Params.Few }}
{{ else }}
<div class="col-12 mb-4">
<img src="{{ .Params.Image | relURL }}" alt="blog-thumb" class="img-fluid w-100">
</div>
{{ end }}
{{ .Content }}
</div>
</div>
</div>
</section>
{{ end }}

View File

@ -8,8 +8,8 @@
<img class="img-fluid w-100" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
</div>
<div class="col-md-6 mb-5">
<h3>{{ .Title }}</h3>
<h6 class="text-color">{{ .Params.Year }}</h6>
<h3>{{ .Params.Name }}</h3>
<h6 class="text-color">{{ .Title }}</h6>
<p class="mb-5">{{ .Params.Bio | markdownify }}</p>
<div class="row">
</div>

View File

@ -22,7 +22,7 @@
{{ .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>
<p>{{ .Site.Params.address | markdownify }}</p>
<a href="{{ .Site.Params.route_link }}" class="mb-5 text-color d-block">{{ .Site.Params.address | markdownify }}</a>
</div>
</div>
</div>
@ -30,17 +30,18 @@
<!-- /contact -->
<!-- gmap -->
<section class="section pt-0">
<section class="section pt-0 bg-gray">
<!-- OPenStreetMap -->
<div class="map_canvas">
<iframe width="100%" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=11.963604390621185%2C51.472637532848985%2C11.967144906520845%2C51.474201296827125&amp;layer=mapnik&amp;marker=51.473419421538615%2C11.965374648571014"></iframe>
<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&amp;layer=mapnik&amp;marker=51.473419421538615%2C11.965374648571014" style="border:1px solid; border-color: #1e1e4b;"></iframe>
</div>
<style>
.map_canvas {
overflow:hidden;
background:none!important;
height:400px;
height:500px;
width:100%;
center:true;
}
</style>
</section>

View File

@ -4,12 +4,10 @@
<div class="container">
<div class="row">
<div class="col-12">
<div class="content">
{{ .Content }}
</div>
{{ .Content | safeHTML }}
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}

View File

@ -35,7 +35,7 @@
<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">{{ .Site.Params.mobile | 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.impressumURL | absLangURL }}">Impressum</a>
</li>

View File

@ -1,20 +1,24 @@
{{ define "main" }}
<!-- schulchronik -->
<!-- content -->
<section class="section">
<div class="container">
<!-- course list -->
<div class="row">
<div class="col-12">
{{ .Content }}
</div>
</div>
</div>
<div class="container">
<div class="row filtr-container">
<!-- course item -->
{{ range .Data.Pages }}
<div class="col-lg-4 col-sm-6 mb-5">
{{ .Render "schulchronik" }}
</div>
{{ end }}
</div>
<!-- /course list -->
</div>
</section>
<!-- /courses -->
<!-- /content -->
{{ end }}

View File

@ -22,12 +22,12 @@
{{ if .Params.Cantorpreisträger }}
<div class="col-12">
<h2 class="mb-3">{{ i18n "cantorpreisträger" }}</h2>
{{ range where .Site.RegularPages "Title" (.Params.Cantorpreisträger | title) }}
{{ range where (where .Site.RegularPages "Title" .Params.Title ) "Type" "=" "cantorpreis" }}
<div class="d-flex justify-content-between align-items-center flex-wrap">
<div class="media mb-2 mb-sm-0 align-items-center">
<img class="mr-4 img-fluid teacher-thumb-sm" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
<div class="media-body">
<h4 class="mt-0"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<h4 class="mt-0"><a href="{{ .Permalink }}">{{ .Params.Name }}</a></h4>
{{ .Description }}
</div>
</div>