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

58 lines
1.9 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>
2020-07-09 17:38:57 -04:00
<div class="flex twelve grow">
<div>
2019-08-18 13:27:03 -04:00
<p id="website-title">Florian Schrofner</p>
</div>
</div>
2019-08-18 11:35:40 -04:00
2020-07-09 17:38:57 -04:00
<div class="flex twelve center" id="picture-holder">
<!-- 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" }}
2020-07-09 17:38:57 -04:00
<img class="half third-1200" src="{{$picture.Permalink}}">
2019-08-18 13:53:03 -04:00
</div>
2020-07-09 17:38:57 -04:00
<div class="flex twelve center beige-content-block">
<div class="four-fifth half-1200">
2019-08-18 13:27:03 -04:00
{{ with .Site.GetPage "/intro" }}
{{.Content}}
{{ end }}
</div>
2019-10-03 15:33:52 -04:00
</div>
2019-08-18 13:27:03 -04:00
2020-07-09 17:38:57 -04:00
<div class="flex twelve center brown-content-block">
<div class="four-fifth half-1200">
2020-07-10 11:25:08 -04:00
{{ with .Site.GetPage "/curriculum" }}
2019-08-18 13:27:03 -04:00
{{.Content}}
{{ end }}
</div>
</div>
2019-10-03 15:33:52 -04:00
2020-07-09 17:38:57 -04:00
<div class="flex twelve center beige-content-block">
<div class="four-fifth half-1200">
2020-07-10 11:25:08 -04:00
{{ with .Site.GetPage "/about" }}
2019-10-03 15:33:52 -04:00
{{.Content}}
{{ end }}
</div>
</div>
2020-07-09 17:38:57 -04:00
<div class="flex twelve center" id="footer">
<div class="four-fifth half-1200">
2019-10-14 12:35:13 -04:00
{{ with .Site.GetPage "/footer" }}
{{.Content}}
{{ end }}
</div>
</div>
2019-08-18 13:27:03 -04:00
</div>
{{ partial "script_append.html" . }}
2019-08-18 11:35:40 -04:00
</body>
</html>