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

65 lines
2.2 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">
2020-07-10 12:58:01 -04:00
<div class="two-third">
2019-08-18 13:27:03 -04:00
<p id="website-title">Florian Schrofner</p>
</div>
2020-07-10 12:58:01 -04:00
<div class="third">
<form>
<button id="blog-button" class="pseudo" formaction="https://blog.schro.fi">Blog</button>
</form>
</div>
2019-08-18 13:27:03 -04:00
</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-10 12:58:01 -04:00
<img class="two-third half-1000 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>