included posts
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!--
|
||||
Hugo Story by CaressOfSteel
|
||||
A (modular, highly tweakable) responsive one-page theme for Hugo.
|
||||
Ported from Story by HTML5UP.
|
||||
This Hugo theme is licensed under the Creative Commons Attribution 3.0 License.
|
||||
-->
|
||||
<html>
|
||||
|
||||
{{ partial "template/head" . }}
|
||||
|
||||
<body class="is-preload">
|
||||
|
||||
<!-- Wrapper -->
|
||||
<div id="wrapper" class="divided">
|
||||
{{- block "main" . }}{{- end }}
|
||||
<!-- Wrapper -->
|
||||
</div>
|
||||
|
||||
{{ partial "template/scripts" . }}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,21 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ partial "banner" site.Data.banner }}
|
||||
|
||||
{{ if site.Data.spot }}
|
||||
{{ range sort site.Data.spot "title" "desc" }}
|
||||
{{ partial "header" . }}
|
||||
{{ partial "gallery" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if site.Data.post }}
|
||||
{{ range sort site.Data.post "date" "asc" }}
|
||||
{{ partial "post" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ partial "template/footer" . }}
|
||||
|
||||
{{ end }}
|
||||
@@ -0,0 +1,14 @@
|
||||
<!-- Banner -->
|
||||
<section class="banner {{ .style }}">
|
||||
<div class="content">
|
||||
{{ with .title }}<h1>{{ . }}</h1>{{ end }}
|
||||
{{ with .subtitle }}<p class="major">{{ . | safeHTML }}</p>{{ end }}
|
||||
{{ with .content }}<p>{{ . | safeHTML }}</p>{{ end }}
|
||||
{{ with .button }}<ul class="actions stacked">
|
||||
<li><a href="{{ .link }}" class="button primary large wide smooth-scroll-middle">{{ .label }}</a></li>
|
||||
</ul>{{ end }}
|
||||
</div>
|
||||
{{ with .image }}<div class="image">
|
||||
<img src="{{.}}" alt="R15" />
|
||||
</div>{{end}}
|
||||
</section>
|
||||
@@ -0,0 +1,11 @@
|
||||
<!-- Gallery -->
|
||||
<section class="wrapper style1 align-center">
|
||||
|
||||
|
||||
<!-- Gallery -->
|
||||
<div class="gallery {{ .style }}">
|
||||
{{ range .pictures }}
|
||||
{{ partial "picture" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,10 @@
|
||||
<!-- Spotlight -->
|
||||
<section class="spotlight {{ .headerstyle }}"{{ with .id }} id="{{ . }}"{{ end }}>
|
||||
<div class="content">
|
||||
{{ with .title }}<h2>{{ . }}</h2>{{ end }}
|
||||
{{ with .content }}<p>{{ . | safeHTML }}</p>{{ end }}
|
||||
</div>
|
||||
{{ with .header }}<div class="image">
|
||||
<img src="{{ . }}" alt="" />
|
||||
</div>{{ end }}
|
||||
</section>
|
||||
@@ -0,0 +1,13 @@
|
||||
<article>
|
||||
<a href="{{ .image }}" class="image">
|
||||
<img src="{{ .thumb }}" alt="" />
|
||||
</a>
|
||||
<div class="caption">
|
||||
<h3>{{ .title }}</h3>
|
||||
<h4>{{ .subtitle }}</h4>
|
||||
<p>⟷ {{ .distance }} m</p>
|
||||
<ul class="actions fixed">
|
||||
<li><span class="button small">{{ .button }}</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</article>
|
||||
@@ -0,0 +1,10 @@
|
||||
<!-- Spotlight -->
|
||||
<section class="spotlight style1 orient-right content-align-left image-position-center" {{ with .id }} id="{{ . }}"{{ end }}>
|
||||
<div class="content">
|
||||
{{ with .title }}<h2>{{ . }}</h2>{{ end }}
|
||||
{{ with .content }}<p>{{ . | safeHTML }}</p>{{ end }}
|
||||
{{ with .button }}<ul class="actions stacked">
|
||||
<li><a href="{{ .link }}" class="button">{{ .label }}</a></li>
|
||||
</ul>{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,26 @@
|
||||
<!-- Footer -->
|
||||
<footer class="wrapper style1 align-center">
|
||||
<div class="inner">
|
||||
<ul class="icons">
|
||||
{{ with .Site.Params.social.github }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-github"><span class="label">Github</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.twitter }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.instagram }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-instagram"><span class="label">Instagram</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.flickr }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-flickr"><span class="label">Flickr</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.email }}<li><a target="_blank" href="mailto:{{.}}" class="fav icon style2 fa-envelope"><span class="label">Email</span></a></li>{{end}}
|
||||
</ul>
|
||||
<p><a target="_blank" href="https://kollegen.uber.space/">Datenschutzerklärung und Impressum</a></p>
|
||||
<p>
|
||||
<span><a href="https://www.instagram.com/christianschulzendorff/">
|
||||
<img src="images/instagram.png" width="30">
|
||||
</a></span>
|
||||
<span class="footerspacer icon fad fa-diamond"></span>
|
||||
<span>Theme Base 'Hugo Story' by <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a></span>
|
||||
<span class="footerspacer icon fad fa-diamond"></span>
|
||||
<span>Hosted on <a target="_blank" href="https://uberspace.de/de/">Uberspace</a></span>
|
||||
<span class="footerspacer icon fad fa-diamond"></span>
|
||||
<span><a href="rss/rss.xml">
|
||||
<img src="images/pic_rss.gif" width="36" height="14">
|
||||
</a></span>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -0,0 +1,17 @@
|
||||
<head>
|
||||
<title>{{ .Site.Title }}</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
{{ if .Site.Params.favicon }}
|
||||
{{ partial "template/favicon" }}
|
||||
{{ end }}
|
||||
|
||||
<!-- CSS: direct use the generated css or generate is new from the original sass. -->
|
||||
<!-- The latter is only neede, if the template is updated from original hugo story -->
|
||||
<!-- Take care of the extra space between the curly brackets when commenting out -->
|
||||
{{ partial "template/head_css" . }}
|
||||
<!-- {x{ partial "template/head_sass" . }x} -->
|
||||
|
||||
</head>
|
||||
Reference in New Issue
Block a user