Erster Entwurf
This commit is contained in:
commit
b5d27b3fc9
66 changed files with 11671 additions and 0 deletions
22
layouts/partials/authorbox.html
Normal file
22
layouts/partials/authorbox.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
{{- if .Param "authorbox" }}
|
||||
<div class="authorbox clearfix">
|
||||
{{- if and (not .Params.Author.avatar) (not .Params.Author.name) (not .Params.Author.bio) }}
|
||||
<p class="authorbox__warning"><strong>WARNING:</strong> Authorbox is activated, but [Author] parameters are not specified.</p>
|
||||
{{- end }}
|
||||
{{- with .Params.Author.avatar }}
|
||||
<figure class="authorbox__avatar">
|
||||
<img alt="{{ $.Params.Author.name }} avatar" src="{{ $.Params.Author.avatar | relURL }}" class="avatar" height="90" width="90">
|
||||
</figure>
|
||||
{{- end }}
|
||||
{{- with .Params.Author.name }}
|
||||
<div class="authorbox__header">
|
||||
<span class="authorbox__name">{{ T "authorbox_name" . }}</span>
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- with .Params.Author.bio }}
|
||||
<div class="authorbox__description">
|
||||
{{ . }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
16
layouts/partials/footer.html
Normal file
16
layouts/partials/footer.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
</div><!-- .wrapper -->
|
||||
<footer class="footer">
|
||||
<div class="container container-inner">
|
||||
<div class="footer__copyright">© {{ now.Format "2006" }} {{ .Site.Title }} - <a href="/impressum">Impressum</a> - <a href="/datenschutz">Datenschutz</a></div>
|
||||
</div>
|
||||
</footer>
|
||||
</div><!-- .container-outer -->
|
||||
|
||||
<script>
|
||||
var navigation = responsiveNav(".menu", {
|
||||
navClass: "menu--collapse",
|
||||
});
|
||||
</script>
|
||||
{{- partial "mathjax.html" . -}}
|
||||
</body>
|
||||
</html>
|
36
layouts/partials/header.html
Normal file
36
layouts/partials/header.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>{{ .Title }}</title>
|
||||
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{else}}{{ .Params.Description }}{{end}}">
|
||||
{{ .Hugo.Generator }}
|
||||
{{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end }}
|
||||
{{ if .Site.Params.twitter_cards }}{{ template "_internal/twitter_cards.html" . }}{{ end }}
|
||||
<link rel="dns-prefetch" href="//fonts.googleapis.com">
|
||||
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
||||
{{- range .AlternativeOutputFormats }}
|
||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .RelPermalink | safeURL }}">
|
||||
{{- end }}
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700">
|
||||
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
|
||||
<script type="text/javascript" src="{{ "js/scripts.js" | relURL }}"></script>
|
||||
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}">
|
||||
</head>
|
||||
<body class="body {{ if (.Site.Params.leftsidebar) or (.Params.leftsidebar) }}body-left-sidebar{{ else }}body-right-sidebar{{ end }}">
|
||||
<div class="container container-outer">
|
||||
<header class="header">
|
||||
<div class="container container-inner">
|
||||
<div class="logo" role="banner">
|
||||
<a class="logo__link" href="{{ "" | relLangURL }}" title="{{ .Site.Title }}" rel="home">
|
||||
<!--<div class="logo__title">{{ .Site.Title }}</div>
|
||||
{{ with .Site.Params.subtitle }}<div class="logo__tagline">{{ . }}</div>{{ end }}-->
|
||||
<img src="{{ "Skyline_Skeptiker_Nord.svg" | relURL }}">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "menu.html" . }}
|
||||
</header>
|
||||
<div class="wrapper clearfix">
|
12
layouts/partials/sidebar.html
Normal file
12
layouts/partials/sidebar.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<aside class="sidebar">
|
||||
{{ partial "widgets/events.html" . }}
|
||||
{{ partial "widgets/search.html" . }}
|
||||
{{ partial "widgets/recent.html" . }}
|
||||
{{ partial "widgets/categories.html" . }}
|
||||
{{ partial "widgets/social.html" . }}
|
||||
{{ partial "widgets/taglist.html" . }}
|
||||
|
||||
{{- if and (not .Site.Params.widgets.search) (not .Site.Params.widgets.recent_articles) (not .Site.Params.widgets.categories) (not .Site.Params.widgets.social) (not .Site.Params.widgets.taglist) }}
|
||||
<p class="sidebar__warning"><strong>{{ T "sidebar_warning" }}:</strong><br>{{ T "sidebar_recommendation" }}</p>
|
||||
{{- end }}
|
||||
</aside>
|
8
layouts/partials/widgets/events.html
Normal file
8
layouts/partials/widgets/events.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{- if .Site.Params.widgets.events }}
|
||||
<div class="widget-events widget">
|
||||
<h4 class="widget-events__title widget__title">{{ T "events_title" }}</h4>
|
||||
<div class="widget__content">
|
||||
<strong>Skeptiker Stammtisch</strong> am 6. August 2018 um 19:30 Uhr im Restaurant <a class="widget-events__link" href="https://www.gutenberg-kiel.de">Gutenberg</a>.
|
||||
</div>
|
||||
</div>
|
||||
{{- end }}
|
Loading…
Add table
Add a link
Reference in a new issue