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

80 lines
2.8 KiB
HTML

{{ partial "page_start.html" . }}
<section id="banner">
<h2>{{ title .Site.Title }}</h2>
<p><i>{{ title .Site.Params.author_name }}</i></p>
</section>
<section id="main" class="container">
<section class="box special">
<header class="major">
<h2>Part Developer. Part SysAdmin. Part Hacker. All Nerd!</h2>
<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>
</header>
</section>
<section class="box special features">
<div class="features-row">
<section>
{{ 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 }}
</section>
<section>
{{ with .Site.GetPage "section" "projects" }}
<a href="{{ .Permalink }}" class="no-underline">
<span class="icon major fa-code accent3"></span>
<h3>Projects</h3>
</a>
<p>
{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }}
</p>
{{ end }}
</section>
</div>
<div class="features-row">
<section>
{{ with .Site.GetPage "section" "setup" }}
<a href="{{ .Permalink }}" class="no-underline">
<span class="icon major fa-desktop accent4"></span>
<h3>Setup</h3>
</a>
<p>
{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }}
</p>
{{ end }}
</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>
<div class="box special" id="projects">
<h2><a href="/projects/">Projects</a></h2>
<div class="row">
{{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "projects") }}
{{ partial "box.html" . }}
{{ end }}
</div>
<h4><a href="/projects/">All Projects</a></h4>
</div>
<div class="box special" id="recent-posts">
<h2><a href="/posts/">Recent Posts</a></h2>
<div class="row">
{{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "posts") }}
{{ partial "box.html" . }}
{{ end }}
</div>
<h4><a href="/posts/">All Posts</a></h4>
</div>
</section>
{{ partial "page_end.html" . }}