1
Fork 0
theorangeone.net-legacy/layouts/index.html

87 lines
2.7 KiB
HTML
Raw Normal View History

{{ partial "page_start.html" . }}
2017-04-21 19:48:55 +01:00
<section id="banner">
2017-04-22 19:29:11 +01:00
<h2>{{ title .Site.Title }}</h2>
2017-05-07 18:02:20 +01:00
<p><i>{{ title .Site.Params.author_name }}</i></p>
2017-04-21 19:48:55 +01:00
</section>
2017-04-20 20:58:58 +01:00
2017-04-21 19:48:55 +01:00
<section id="main" class="container">
<section class="box special">
<header class="major">
2017-09-12 13:12:58 +01:00
<h2>{{ plainify .Content }}</h2>
2017-05-07 17:23:09 +01:00
<p>I'm Jake. A software engineer with a passion for security and privacy. This is my website, a home for my projects, blog posts, and anything else for that matter.</p>
2017-04-21 19:48:55 +01:00
</header>
</section>
2017-04-20 20:58:58 +01:00
2017-04-21 19:48:55 +01:00
<section class="box special features">
<div class="features-row">
<section>
2017-05-15 09:29:18 +01:00
{{ with .Site.GetPage "section" "posts" }}
<a href="{{ .Permalink }}" class="no-underline">
2017-07-24 08:59:02 +01:00
<span class="icon major fa-comments accent2"></span>
2017-07-24 09:14:29 +01:00
<h3>{{ .LinkTitle }}</h3>
2017-05-15 09:29:18 +01:00
</a>
<p>
{{ partial "summary_string.html" . }}
2017-05-15 09:29:18 +01:00
</p>
{{ end }}
2017-04-21 19:48:55 +01:00
</section>
<section>
2017-05-15 09:29:18 +01:00
{{ with .Site.GetPage "section" "projects" }}
<a href="{{ .Permalink }}" class="no-underline">
<span class="icon major fa-code accent3"></span>
2017-07-24 09:14:29 +01:00
<h3>{{ .LinkTitle }}</h3>
2017-05-15 09:29:18 +01:00
</a>
<p>
{{ partial "summary_string.html" . }}
2017-05-15 09:29:18 +01:00
</p>
{{ end }}
2017-04-21 19:48:55 +01:00
</section>
</div>
<div class="features-row">
<section>
2017-05-15 09:29:18 +01:00
{{ with .Site.GetPage "section" "setup" }}
<a href="{{ .Permalink }}" class="no-underline">
<span class="icon major fa-desktop accent4"></span>
2017-07-24 09:14:29 +01:00
<h3>{{ .LinkTitle }}</h3>
2017-05-15 09:29:18 +01:00
</a>
<p>
{{ partial "summary_string.html" . }}
2017-05-15 09:29:18 +01:00
</p>
{{ end }}
2017-04-21 19:48:55 +01:00
</section>
2017-07-24 08:59:02 +01:00
<section>
{{ with .Site.GetPage "section" "robotics" }}
<a href="{{ .Permalink }}" class="no-underline">
<span class="icon major fa-cogs accent5"></span>
2017-07-24 09:14:29 +01:00
<h3>{{ .LinkTitle }}</h3>
2017-07-24 08:59:02 +01:00
</a>
<p>
{{ partial "summary_string.html" . }}
</p>
{{ end }}
2017-04-21 19:48:55 +01:00
</section>
</div>
</section>
2017-04-20 20:58:58 +01:00
2017-05-22 21:19:45 +01:00
<div class="box special" id="projects">
2017-07-04 22:22:41 +01:00
<h2><a href="/projects/">Projects</a></h2>
2017-04-24 09:06:14 +01:00
<div class="row">
2017-05-07 18:43:04 +01:00
{{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "projects") }}
2017-05-07 18:25:59 +01:00
{{ partial "box.html" . }}
2017-04-24 09:06:14 +01:00
{{ end }}
</div>
<h4><a href="/projects/">All Projects</a></h4>
</div>
2017-05-22 21:19:45 +01:00
<div class="box special" id="recent-posts">
2017-07-04 22:22:41 +01:00
<h2><a href="/posts/">Recent Posts</a></h2>
2017-04-23 13:07:32 +01:00
<div class="row">
2017-06-08 22:14:51 +01:00
{{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "posts") }}
2017-05-07 18:25:59 +01:00
{{ partial "box.html" . }}
2017-04-23 12:57:33 +01:00
{{ end }}
2017-04-23 13:07:32 +01:00
</div>
2017-06-08 22:14:51 +01:00
<h4><a href="/posts/">All Posts</a></h4>
2017-04-23 13:07:32 +01:00
</div>
2017-04-21 19:48:55 +01:00
</section>
{{ partial "page_end.html" . }}