2017-03-13 09:14:02 +00:00
|
|
|
{{ partial "header.html" . }}
|
2018-01-26 18:37:19 +00:00
|
|
|
<body>
|
2017-03-13 09:14:02 +00:00
|
|
|
|
2017-03-26 05:23:50 +00:00
|
|
|
<div class="section" id="top"> <!-- Where all the awesome begins -->
|
|
|
|
|
2018-01-27 01:10:03 +00:00
|
|
|
<div class="hero is-{{ .Site.Params.introHeight }}">
|
2017-03-26 05:23:50 +00:00
|
|
|
<!-- Possible hero-head not used -->
|
|
|
|
<!-- Super sweet Hero body title -->
|
|
|
|
<div class="hero-body">
|
|
|
|
<div class="container has-text-centered">
|
|
|
|
<!-- Title and tagline -->
|
2018-01-27 01:10:03 +00:00
|
|
|
<h1 class="bold-title {{ if .Site.Params.fadeIn }}fade-in one{{ end }}">
|
2018-01-27 03:36:42 +00:00
|
|
|
Hi, I'm {{ .Site.Params.firstName }}.
|
2017-05-05 11:03:05 +00:00
|
|
|
</h1>
|
2018-01-27 01:10:03 +00:00
|
|
|
<h3 class="subtitle is-3 {{ if.Site.Params.fadeIn }} fade-in two{{ end }}">
|
|
|
|
{{ .Site.Params.tagLine }}
|
2017-05-05 11:03:05 +00:00
|
|
|
</h3>
|
2017-03-26 05:23:50 +00:00
|
|
|
<!-- End title and tagline -->
|
|
|
|
<!-- Some social icons -->
|
2018-01-27 01:10:03 +00:00
|
|
|
<div class="{{ if .Site.Params.fadeIn }}fade-in three{{ end }}">
|
2017-05-05 11:03:05 +00:00
|
|
|
{{ partial "social.html" . }}
|
|
|
|
</div>
|
2017-03-26 05:23:50 +00:00
|
|
|
<!-- End top social icons -->
|
|
|
|
</div>
|
|
|
|
</div> <!-- Hero body title end -->
|
|
|
|
<!-- Hero foot has nav bar -->
|
2018-01-27 01:10:03 +00:00
|
|
|
<div class="hero-foot {{ if .Site.Params.fadeIn }}fade-in three{{ end }}">
|
2017-03-26 05:23:50 +00:00
|
|
|
<hr>
|
|
|
|
<nav class="nav-center">
|
2017-07-24 23:48:37 +00:00
|
|
|
<a class="nav-item" href="#about">About</a>
|
2018-01-27 01:10:03 +00:00
|
|
|
{{ if .Site.Params.showProjects }}
|
2017-07-24 23:48:37 +00:00
|
|
|
<a class="nav-item" href="#projects">Projects</a>
|
2017-03-13 09:14:02 +00:00
|
|
|
{{ end }}
|
2018-01-27 01:10:03 +00:00
|
|
|
{{ if .Site.Params.showBlog }}
|
2017-07-24 23:48:37 +00:00
|
|
|
<a class="nav-item" href="#blog">Blog</a>
|
2017-03-13 09:14:02 +00:00
|
|
|
{{ end }}
|
2017-07-24 23:48:37 +00:00
|
|
|
<a class="nav-item" href="#contact">Contact</a>
|
2017-03-26 05:23:50 +00:00
|
|
|
</nav>
|
|
|
|
<hr>
|
|
|
|
</div><!-- Done with nav bar -->
|
|
|
|
</div><!-- Done with Hero -->
|
|
|
|
</div><!-- End of top section -->
|
|
|
|
|
|
|
|
<!-- Everything below fades in three! -->
|
2018-01-27 01:10:03 +00:00
|
|
|
<div class="section no-padding {{ if .Site.Params.fadeIn }}fade-in three{{ end }}">
|
2017-03-26 05:23:50 +00:00
|
|
|
|
2017-03-13 09:14:02 +00:00
|
|
|
<!-- Tell them all about it! -->
|
2017-03-26 05:23:50 +00:00
|
|
|
<div class="section" id="about">
|
|
|
|
<div class="container">
|
|
|
|
<h2 class="title is-2 has-text-centered">About</h2>
|
|
|
|
|
|
|
|
<div class="columns"><!-- Avatar and about.md side by side except mobile -->
|
2017-07-24 23:48:37 +00:00
|
|
|
{{ if .Site.Params.avatar }}
|
|
|
|
<div class="column is-one-third has-text-centered">
|
|
|
|
<img class="img-responsive avatar" src="/{{ .Site.Params.avatar }}" alt="My profile picture.">
|
2017-03-26 05:23:50 +00:00
|
|
|
</div>
|
2017-07-24 23:48:37 +00:00
|
|
|
{{ end }}
|
2017-03-26 05:23:50 +00:00
|
|
|
<div class="column markdown">
|
|
|
|
{{ range .Data.Pages }}
|
2017-11-13 21:01:53 +00:00
|
|
|
{{if eq .Title "About" }}
|
2017-03-26 05:23:50 +00:00
|
|
|
{{.Content}}
|
|
|
|
{{end}}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div><!-- End About container-->
|
|
|
|
|
|
|
|
<div class="container has-text-centered top-pad"><a href="#top"><i class="fa fa-arrow-up"></i></a></div>
|
|
|
|
</div><!-- End About section -->
|
|
|
|
|
|
|
|
<div class="container"><hr></div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Now for some cool projects -->
|
2018-01-27 01:10:03 +00:00
|
|
|
{{ if .Site.Params.showProjects }}
|
2017-03-26 05:23:50 +00:00
|
|
|
<div class="section" id="projects">
|
|
|
|
{{ partial "projects.html" . }}
|
|
|
|
</div><!-- End Projects section -->
|
|
|
|
|
|
|
|
<div class="container"><hr></div>
|
2017-07-24 23:48:37 +00:00
|
|
|
{{ end }}
|
2017-03-26 05:23:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Let's show some blog posts -->
|
2018-01-27 03:36:42 +00:00
|
|
|
{{ if .Site.Params.showBlog }}
|
2017-03-26 05:23:50 +00:00
|
|
|
<div class="section" id="blog">
|
|
|
|
{{ partial "blogsection.html" . }}
|
|
|
|
</div><!-- End Blog section -->
|
|
|
|
|
|
|
|
<div class="container"><hr></div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<!-- Let's chat, shall we? -->
|
|
|
|
<div class="section" id="contact">
|
|
|
|
<div class="container has-text-centered">
|
|
|
|
<h2 class="title is-2">Contact</h2>
|
|
|
|
<div class="markdown">
|
2017-03-13 09:14:02 +00:00
|
|
|
{{ range .Data.Pages }}
|
2017-11-13 21:01:53 +00:00
|
|
|
{{if eq .Title "Contact" }}
|
2017-03-13 09:14:02 +00:00
|
|
|
{{.Content}}
|
|
|
|
{{end}}
|
|
|
|
{{ end }}
|
2017-03-26 05:23:50 +00:00
|
|
|
</div>
|
2017-03-13 09:14:02 +00:00
|
|
|
|
2018-01-27 01:10:03 +00:00
|
|
|
{{ if .Site.Params.localTime }}
|
2017-04-20 03:25:35 +00:00
|
|
|
<p>My current local time is <span id="time"></span>.</p>
|
|
|
|
<script type="text/javascript" src="/js/moment.js"></script>
|
|
|
|
<script type="text/javascript" src="/js/moment-timezone.js"></script>
|
|
|
|
<script type="text/javascript" src="/js/moment-timezone-with-data-2012-2022.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
2018-01-27 01:10:03 +00:00
|
|
|
var time = moment().tz("{{ .Site.Params.timeZone }}").format("h:mm A");
|
2017-04-20 03:25:35 +00:00
|
|
|
$('#time').html(time);
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
{{ end }}
|
|
|
|
|
2017-03-26 05:23:50 +00:00
|
|
|
{{ if .Site.Params.email }}
|
|
|
|
<h3 class="subtitle is-3 has-text-centered top-pad"><a href="mailto:{{ .Site.Params.email }}">{{ .Site.Params.email }}</a></h3>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ partial "social.html" . }}
|
|
|
|
</div><!-- End Contact container -->
|
|
|
|
|
|
|
|
<div class="container has-text-centered top-pad"><a href="#top"><i class="fa fa-arrow-up"></i></a></div>
|
|
|
|
</div><!-- End Contact section -->
|
2017-03-13 09:14:02 +00:00
|
|
|
|
2017-03-26 05:23:50 +00:00
|
|
|
<div class="container"><hr></div>
|
2017-03-13 09:14:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Nice clean finish -->
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
<!-- Footer done! -->
|
2017-03-26 05:23:50 +00:00
|
|
|
</div><!-- End of fade in three section -->
|
|
|
|
<!-- Where all the awesome ends. Aww. -->
|
2017-03-13 09:14:02 +00:00
|
|
|
|
2017-04-20 03:06:33 +00:00
|
|
|
<!-- Bitty scrolling links script -->
|
2017-03-13 09:14:02 +00:00
|
|
|
<script>
|
2017-04-20 03:06:33 +00:00
|
|
|
$('a[href^="#"]').click(function(e) {
|
2017-03-13 09:14:02 +00:00
|
|
|
e.preventDefault();
|
2017-04-20 03:06:33 +00:00
|
|
|
var target = this.hash;
|
|
|
|
$('html, body').animate({
|
|
|
|
scrollTop: $(target).offset().top
|
|
|
|
}, 500);
|
|
|
|
return false;
|
|
|
|
})
|
2017-06-16 10:28:02 +00:00
|
|
|
</script>
|
|
|
|
|
2017-07-24 23:48:37 +00:00
|
|
|
</body>
|