1
0
Fork 0
schro.fi/layouts/index.html

45 lines
1.7 KiB
HTML
Raw Normal View History

2019-08-18 11:35:40 -04:00
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
{{ partial "css.html" . }}
{{ partial "script_prepend.html" . }}
2019-08-18 11:35:40 -04:00
</head>
<body>
2019-08-18 13:53:03 -04:00
<div class="grid-container full">
2019-08-18 13:27:03 -04:00
<div class="grid-x">
<div class="cell">
<p id="website-title">Florian Schrofner</p>
</div>
</div>
2019-08-18 11:35:40 -04:00
2019-08-18 13:27:03 -04:00
<div class="grid-x align-center">
<!-- scale image for different resolutions -->
2019-08-18 13:53:03 -04:00
{{ $picture := resources.Get "images/me.png"}}
{{ $sPicture := $picture.Resize "x100" }}
{{ $mPicture := $picture.Resize "x400" }}
{{ $lPicture := $picture.Resize "x600" }}
<!-- <img data-interchange="[{{$sPicture.Permalink}}, small], [{{$mPicture.Permalink}}, medium], [{{$lPicture.Permalink}}, large]"> -->
<img data-interchange="[http://localhost:1313/images/me.png, small], [http://localhost:1313/images/me.png, medium], [http://localhost:1313/images/me.png, large]">
2019-08-18 13:53:03 -04:00
</div>
<div class="grid-x align-center beige-content-block">
<div class="cell large-6">
2019-08-18 13:27:03 -04:00
{{ with .Site.GetPage "/intro" }}
{{.Content}}
{{ end }}
</div>
</div>
2019-08-18 13:53:03 -04:00
<div class="grid-x align-center brown-content-block">
<div class="cell large-6">
2019-08-18 13:27:03 -04:00
{{ with .Site.GetPage "/section" }}
{{.Content}}
{{ end }}
</div>
</div>
</div>
{{ partial "script_append.html" . }}
2019-08-18 11:35:40 -04:00
</body>
</html>