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

81 lines
2.8 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-05-20 23:32:27 +01:00
<h2>Part Developer. Part SysAdmin. Part Hacker. All Nerd!</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>
<span class="image featured"><img src="images/pic01.jpg" alt="" /></span>
</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">
<span class="icon major fa-sticky-note-o accent2"></span>
<h3>Blog</h3>
</a>
<p>
{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }}
</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>
<h3>Projects</h3>
</a>
<p>
2017-05-13 23:43:01 +01:00
{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }}
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>
<h3>Setup</h3>
</a>
<p>
2017-05-22 21:19:45 +01:00
{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }}
2017-05-15 09:29:18 +01:00
</p>
{{ end }}
2017-04-21 19:48:55 +01:00
</section>
<section>
<span class="icon major fa-lock accent5"></span>
<h3>Enim phasellus</h3>
<p>Integer volutpat ante et accumsan commophasellus sed aliquam feugiat lorem aliquet ut enim rutrum phasellus iaculis accumsan dolore magna aliquam veroeros.</p>
</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-04-24 09:06:14 +01:00
<h2>Projects</h2>
<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-04-23 13:07:32 +01:00
<h2>Recent Posts</h2>
<div class="row">
2017-05-07 18:43:04 +01:00
{{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "!=" "") }}
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>
</div>
2017-04-21 19:48:55 +01:00
</section>
{{ partial "page_end.html" . }}