Website Init Update 2
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
<div class="card border-0 rounded-0 hover-shadow">
|
||||
<div class="card-img position-relative">
|
||||
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
|
||||
<div class="card-date"><span>{{ .Date.Format "02" }}</span><br>{{ .Date.Format "Jan" }}</div>
|
||||
<div class="card-date"><span>{{ .Date.Format "2" }}</span><br>{{ .Date.Format "Jan" }}</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<!-- location -->
|
||||
<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>
|
||||
</div>
|
||||
|
@ -1,13 +1,13 @@
|
||||
<div class="card p-0 border-primary rounded-0 hover-shadow">
|
||||
<div class="card border-primary rounded-0 hover-shadow mb-5">
|
||||
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
|
||||
<div class="card-body">
|
||||
<ul class="list-inline mb-2">
|
||||
<ul class="list-inline">
|
||||
<li class="list-inline-item"><p><i class="ti-calendar"></i> {{ .Params.Duration }}</p></li>
|
||||
<li class="list-inline-item"><p><i class="ti-bookmark-alt"></i> {{ .Params.Category }}</p></li>
|
||||
<li class="list-inline-item"><p><i class="ti-user"></i> {{ .Params.Class }}</p></li>
|
||||
</ul>
|
||||
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
<p class="card-text mb-4">{{ .Summary | truncate 100 }}</p>
|
||||
<!-- p class="card-text mb-4">{{ .Summary | truncate 100 }}</p-->
|
||||
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm">{{ i18n "join_club"}}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
15
themes/educenter-hugo/layouts/_default/page.html
Normal file
15
themes/educenter-hugo/layouts/_default/page.html
Normal file
@ -0,0 +1,15 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ end }}
|
@ -10,4 +10,4 @@
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
13
themes/educenter-hugo/layouts/_default/wettbewerbe.html
Normal file
13
themes/educenter-hugo/layouts/_default/wettbewerbe.html
Normal file
@ -0,0 +1,13 @@
|
||||
<div class="card border-primary rounded-0 hover-shadow mb-5">
|
||||
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
|
||||
<div class="card-body">
|
||||
<ul class="list-inline">
|
||||
<!--li class="list-inline-item"><p><i class="ti-calendar"></i> {{ .Params.Duration }}</p></li-->
|
||||
<li class="list-inline-item"><p><i class="ti-bookmark-alt"></i> {{ .Params.Category }}</p></li>
|
||||
<!--li class="list-inline-item"><p><i class="ti-user"></i> {{ .Params.Class }}</p></li>
|
||||
</ul-->
|
||||
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
<!--p class="card-text mb-4">{{ .Summary | truncate 100 }}</p-->
|
||||
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm text-uppercase">{{ i18n "read_more"}}</a>
|
||||
</div>
|
||||
</div>
|
68
themes/educenter-hugo/layouts/cantorpreis/list.html
Normal file
68
themes/educenter-hugo/layouts/cantorpreis/list.html
Normal file
@ -0,0 +1,68 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
|
||||
<!-- about -->
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
{{ with .Params.Image }}
|
||||
<img class="img-fluid w-100 mb-4" src="{{ . | relURL }}" alt="about image">
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /about -->
|
||||
|
||||
<!-- funfacts -->
|
||||
{{ if $data.homepage.funfacts.enable }}
|
||||
{{ with $data.homepage.funfacts }}
|
||||
<section class="section-sm bg-primary">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<!-- funfacts item -->
|
||||
{{ range .funfact_item }}
|
||||
<div class="col-md-3 col-sm-6 mb-4 mb-md-0">
|
||||
<div class="text-center">
|
||||
<h2 class="count text-white" data-count="{{ .count }}">0</h2>
|
||||
<h5 class="text-white">{{ .name }}</h5>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<!-- /funfacts -->
|
||||
|
||||
<!-- success story -->
|
||||
{{ partial "success-story.html" . }}
|
||||
<!-- /success story -->
|
||||
|
||||
<!-- teacher -->
|
||||
{{ if $data.homepage.blog.enable }}
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h2 class="section-title">{{ i18n "our_teachers" }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justify-content-center">
|
||||
<!-- teacher -->
|
||||
{{ range first 3 (where .Site.RegularPages "Type" "teacher")}}
|
||||
<div class="col-lg-4 col-sm-6 mb-5 mb-lg-0">
|
||||
{{ .Render "teacher" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
<!-- /teacher -->
|
||||
|
||||
{{ end }}
|
@ -31,7 +31,7 @@
|
||||
|
||||
<!-- gmap -->
|
||||
<section class="section pt-0">
|
||||
<!-- Google Map -->
|
||||
<!-- 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&layer=mapnik&marker=51.473419421538615%2C11.965374648571014"></iframe>
|
||||
</div>
|
||||
|
@ -39,11 +39,11 @@
|
||||
<i class="ti-time text-primary icon-md mr-2"></i>
|
||||
<div class="text-left">
|
||||
<h6 class="mb-0">{{ i18n "time" | upper }}</h6>
|
||||
<p class="mb-0">{{ .Date.Format "15:04 MST"}}</p>
|
||||
<p class="mb-0">{{ .Date.Format "15:04"}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-inline-item mr-xl-5 mr-4 mb-3 mb-lg-0">
|
||||
<!--li class="list-inline-item mr-xl-5 mr-4 mb-3 mb-lg-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<i class="ti-wallet text-primary icon-md mr-2"></i>
|
||||
<div class="text-left">
|
||||
@ -51,12 +51,9 @@
|
||||
<p class="mb-0">{{ .Params.Fee | markdownify }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</li-->
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-lg-3 text-lg-right text-left">
|
||||
<a href="{{ .Params.Apply_url | safeURL }}" class="btn btn-primary">{{ i18n "apply_now" }}</a>
|
||||
</div>
|
||||
<!-- border -->
|
||||
<div class="col-12 mt-4 order-4">
|
||||
<div class="border-bottom border-primary"></div>
|
||||
@ -68,28 +65,6 @@
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
<!-- event speakers -->
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h3 class="mb-4">{{ i18n "event_speaker"}}</h3>
|
||||
</div>
|
||||
<!-- speakers -->
|
||||
{{ range .Params.Speaker }}
|
||||
<div class="col-lg-3 col-sm-6 mb-4 mb-lg-0">
|
||||
<div class="media">
|
||||
{{ with .image }}<img class="mr-3 img-fluid" src="{{ . | relURL }}" alt="speaker">{{ end }}
|
||||
<div class="media-body">
|
||||
<h4 class="mt-0">{{ .name }}</h4>
|
||||
{{ .designation }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
<!-- border -->
|
||||
<div class="col-12 mt-4 order-4">
|
||||
<div class="border-bottom border-primary"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /event single -->
|
||||
@ -115,4 +90,4 @@
|
||||
</section>
|
||||
<!-- /more event -->
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
@ -1,17 +1,17 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<!-- research -->
|
||||
<!-- forms -->
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ range .Data.Pages}}
|
||||
<!-- recharch item -->
|
||||
<!-- forms item -->
|
||||
<div class="col-lg-4 col-sm-6 mb-4">
|
||||
{{ .Render "research" }}</div>
|
||||
{{ .Render "forms" }}</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /research -->
|
||||
<!-- /forms -->
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
@ -19,10 +19,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- course list -->
|
||||
<div class="row justify-content-center">
|
||||
<div class="row filtr-container">
|
||||
<!-- course item -->
|
||||
{{ range .Data.Pages }}
|
||||
<div class="col-lg-4 col-sm-6 mb-5">
|
||||
<div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item">
|
||||
{{ .Render "ganztagsangebote" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -10,13 +10,13 @@
|
||||
class="img-fluid w-100">
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h2>{{ .Title }}</h2>
|
||||
</div>
|
||||
<!-- course info -->
|
||||
<div class="row align-items-center mb-5">
|
||||
<div class="col-xl-3 order-1 col-sm-6 mb-4 mb-xl-0">
|
||||
<h2>{{ .Title }}</h2>
|
||||
</div>
|
||||
<div class="col-xl-6 order-sm-3 order-xl-2 col-12 order-2">
|
||||
<ul class="list-inline text-xl-center">
|
||||
<ul class="list-inline">
|
||||
<li class="list-inline-item mr-4 mb-3 mb-sm-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<i class="ti-calendar text-primary icon-md mr-2"></i>
|
||||
|
@ -127,8 +127,8 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 text-center">
|
||||
<h6 class="text-white font-secondary mb-0">{{ .subtitle | markdownify }}</h6>
|
||||
<h2 class="section-title text-white">{{ .title | markdownify }}</h2>
|
||||
<h2 class="text-white font-secondary mb-0">{{ .subtitle | markdownify }}</h2>
|
||||
<h5 class="section-title text-white">{{ .title | markdownify }}</h5>
|
||||
{{ if .button.enable }}
|
||||
{{ with .button }}
|
||||
<a href="{{ .link | absLangURL }}" class="btn btn-secondary">{{ .label }}</a>
|
||||
|
15
themes/educenter-hugo/layouts/pages/pg.html
Normal file
15
themes/educenter-hugo/layouts/pages/pg.html
Normal file
@ -0,0 +1,15 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ end }}
|
@ -34,6 +34,12 @@
|
||||
<li class="mb-4">{{ .Site.Params.address | markdownify }}</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="{{ .Site.Params.impressumURL | absLangURL }}">Impressum</a>
|
||||
</li>
|
||||
<li class="mb-4">
|
||||
<a href="{{ .Site.Params.datenschutzURL | absLangURL }}">{{ i18n "datenschutzerklärung" }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- company -->
|
||||
@ -58,7 +64,7 @@
|
||||
</div>
|
||||
<!-- support -->
|
||||
<div class="col-lg-2 col-sm-4 col-6 mb-5 mb-md-0">
|
||||
<h4 class="text-white mb-5 text-uppercase">{{ i18n "courses_footer" }}</h4>
|
||||
<h4 class="text-white mb-5 text-uppercase">{{ i18n "clubs_footer" }}</h4>
|
||||
<ul class="list-unstyled">
|
||||
{{ range first 5 (where .Site.RegularPages "Type" "ganztagsangebote")}}
|
||||
<li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title }}</a></li>
|
||||
|
@ -48,7 +48,7 @@
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
{{ range .Children }}
|
||||
<a class="dropdown-item" href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||
<a class="dropdown-item text-uppercase" href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</li>
|
||||
@ -60,7 +60,7 @@
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
<!-- Language List -->
|
||||
<!-- Language List >
|
||||
{{ if .IsTranslated }}
|
||||
<select class="m-2 border-0" id="select-language" onchange="location = this.value;">
|
||||
{{ $siteLanguages := .Site.Languages}}
|
||||
@ -81,9 +81,10 @@
|
||||
{{ end }}
|
||||
</select>
|
||||
{{ end }}
|
||||
<!-- /LL -->
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<!-- /header -->
|
||||
<!-- /header -->
|
||||
|
@ -31,4 +31,4 @@
|
||||
</section>
|
||||
<!-- /teachers -->
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
@ -35,9 +35,22 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-7 mb-4 mb-lg-0">
|
||||
<form action="{{ .Params.Forestry_link | safeURL }}" method="POST">
|
||||
<input type="text" class="form-control mb-3" id="name" name="name" placeholder="Name">
|
||||
<input type="email" class="form-control mb-3" id="mail" name="mail" placeholder="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>
|
||||
|
||||
{{ if .Params.Clubs }}
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h4 class="mb-4">{{ i18n "courses" | upper}}</h4>
|
||||
<h4 class="mb-4">{{ i18n "clubs" | upper}}</h4>
|
||||
</div>
|
||||
<!-- course item -->
|
||||
{{ range where .Site.RegularPages "Params.teacher" .Title }}
|
||||
@ -46,6 +59,7 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
<!-- /teacher details -->
|
||||
|
16
themes/educenter-hugo/layouts/vplan/single.html
Normal file
16
themes/educenter-hugo/layouts/vplan/single.html
Normal file
@ -0,0 +1,16 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
<embed src="http://www.stundenplan24.de/20072021/mobil" style="width:100%; height:720px;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ end }}
|
35
themes/educenter-hugo/layouts/wettbewerbe/list.html
Normal file
35
themes/educenter-hugo/layouts/wettbewerbe/list.html
Normal file
@ -0,0 +1,35 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<!-- wettbewerbe -->
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<!-- course category list -->
|
||||
<ul class="list-inline text-center filter-controls mb-5">
|
||||
<li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li>
|
||||
{{ $categories := slice }}
|
||||
{{ range .Data.Pages }}
|
||||
{{ $categories = $categories | append .Params.Category }}
|
||||
{{ end }}
|
||||
{{ range ( $categories | uniq ) }}
|
||||
<li class="list-inline-item m-3 text-uppercase" data-filter="{{ . | urlize }}">{{ . | humanize }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- wettbewerbe list -->
|
||||
<div class="row filtr-container">
|
||||
<!-- wettbewerb item -->
|
||||
{{ range .Data.Pages }}
|
||||
<div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item">
|
||||
{{ .Render "wettbewerbe" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
<!-- /wettbewerbe list -->
|
||||
</div>
|
||||
</section>
|
||||
<!-- /wettbewerbe -->
|
||||
|
||||
{{ end }}
|
70
themes/educenter-hugo/layouts/wettbewerbe/single.html
Normal file
70
themes/educenter-hugo/layouts/wettbewerbe/single.html
Normal file
@ -0,0 +1,70 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<!-- 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 info -->
|
||||
<div class="row align-items-center mb-5">
|
||||
<div class="col-xl-6 order-sm-3 order-xl-2 col-12 order-2">
|
||||
<ul class="list-inline">
|
||||
<li class="list-inline-item mr-4 mb-3 mb-sm-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<i class="ti-user text-primary icon-md mr-2"></i>
|
||||
<div class="text-left">
|
||||
<h6 class="mb-0">{{ i18n "class" | upper }}</h6>
|
||||
<p class="mb-0">{{ .Params.Class }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-xl-3 text-sm-right text-left order-sm-2 order-3 order-xl-3 col-sm-6 mb-4 mb-xl-0">
|
||||
<a href="{{ .Params.Web_url | safeURL }}" class="btn btn-primary">{{ i18n "website" }}</a>
|
||||
</div>
|
||||
<!-- border -->
|
||||
<div class="col-12 mt-4 order-4">
|
||||
<div class="border-bottom border-primary"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- course details -->
|
||||
<div class="row">
|
||||
<div class="col-12 mb-4 content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /section -->
|
||||
|
||||
<!-- related course -->
|
||||
<section class="section pt-0">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h2 class="section-title">{{ i18n "related_contests" }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- course item -->
|
||||
{{ $related := (where .Site.RegularPages "Type" "wettbewerbe") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
|
||||
{{ range first 3 $related }}
|
||||
<div class="col-lg-4 col-sm-6 mb-5">
|
||||
{{ .Render "wettbewerbe"}}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /related course -->
|
||||
|
||||
{{ end }}
|
Reference in New Issue
Block a user