Initialisierung
This commit is contained in:
parent
4084518848
commit
6dd9fa38f6
116 changed files with 17349 additions and 2 deletions
21
layouts/_default/baseof.html
Normal file
21
layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
<div class="container">
|
||||
{{- partial "header.html" . -}}
|
||||
{{- block "head" . -}}{{- end }}
|
||||
|
||||
<div class="row g-5">
|
||||
<div id="content" class="col-md-8">
|
||||
{{- block "main" . -}}{{- end }}
|
||||
</div>
|
||||
<div id="sidebar" class="col-md-4">
|
||||
{{- block "sidebar" . -}}{{- end }}
|
||||
</div>
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
{{- partial "script.html" . -}}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
70
layouts/_default/list.html
Normal file
70
layouts/_default/list.html
Normal file
|
@ -0,0 +1,70 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ range .Pages.ByPublishDate.Reverse }}
|
||||
<p>
|
||||
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
{{ partial "metadata.html" . }}
|
||||
<a class="summary" href="{{ .RelPermalink }}">
|
||||
<p>{{ .Summary }}</p>
|
||||
</a>
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ define "sidebar" }}
|
||||
<div class="position-sticky" style="top: 2rem;">
|
||||
<div class="p-4 mb-3 bg-light rounded">
|
||||
<h4 class="py-1 mb-3 fst-italic text-bg-dark text-center">About Me</h4>
|
||||
{{ with .Site.Params.Avatar }}
|
||||
<div class="py-1 text-center">
|
||||
<img class="rounded-circle" src="{{ . }}" alt="Ansprechendes Bild"/>
|
||||
</div>
|
||||
{{ end }}
|
||||
<!-- Über config beschreibbar machen -->
|
||||
{{ with .Site.Params.Description }}
|
||||
<div class="py-1">
|
||||
{{ . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<h4 class="py-1 mb-3 fst-italic text-bg-dark text-center">Contact Me</h4>
|
||||
<div class="py-1 social">
|
||||
<ul class="social-links">
|
||||
{{ with .Site.Params.Social.Email }}
|
||||
<li><a href="mailto:{{ . }}"><i data-feather="mail"></i> {{ . }}</a></li>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.Social.Phone }}
|
||||
<li><a href="tel:{{ . }}"><i class="bi" data-feather="phone"></i> {{ . }}</a></li>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.Social.VoIP }}
|
||||
<li><a href="sip:{{ . }}"><i data-feather="phone"></i> {{ . }}</a></li>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.Social.Github }}
|
||||
<li><a href="https://github.com/{{ . }}" target="_blank"><i data-feather="github"></i> {{ . }}</a></li>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.Social.Twitter }}
|
||||
<li><a href="https://twitter.com/{{ . }}" target="_blank"><i class="bi" data-feather="twitter"></i> {{ . }}</a></li>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.Social.LinkedIn }}
|
||||
<li><a href="https://linkedin.com/in/{{ . }}" target="_blank"><i class="bi" data-feather="linkedin"></i> {{ . }}</a></li>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.Social.Matrix }}
|
||||
<li><a href="https://matrix.to/#/{{ . }}" target="_blank"><img src="/img/matrix-badge.svg" alt="Chat on matrix"> {{ . }}</a></li>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.Social.RSS }}
|
||||
<li><a href="{{ . }}"><i class="bi" data-feather="rss"></i> RSS</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
<!-- Hier die Links zu Mail usw. vielleicht auch zum SIP Anschluss, vielleicht mit dem Icons aus faether oder Bootstrap -->
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
6
layouts/_default/single.html
Normal file
6
layouts/_default/single.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ partial "metadata.html" . }}
|
||||
<br/><br/>
|
||||
{{ .Content }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue