2017-11-27 03:43:03 +00:00
|
|
|
{{ define "title" }}{{ end }}
|
|
|
|
{{ define "scripts" }}{{ end }}
|
|
|
|
|
|
|
|
{{ define "layout" }}
|
2014-04-09 21:56:29 +00:00
|
|
|
<!DOCTYPE html>
|
2017-03-23 22:55:51 +00:00
|
|
|
<html lang="en">
|
2014-10-16 01:38:45 +00:00
|
|
|
<head>
|
2015-08-12 00:18:25 +00:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2017-11-27 03:43:03 +00:00
|
|
|
<title>{{ template "title" . }} - {{ .Title }}</title>
|
2015-08-12 00:18:25 +00:00
|
|
|
|
|
|
|
<!-- Bootstrap -->
|
|
|
|
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
|
|
|
|
|
2017-12-24 19:32:12 +00:00
|
|
|
<!-- FontAwesome -->
|
|
|
|
<link rel="stylesheet" type="text/css" href="/vendor/FontAwesome/css/fa-svg-with-js.css">
|
|
|
|
|
2015-08-12 00:18:25 +00:00
|
|
|
<!-- Kirsle.net Solar -->
|
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/solar/ui.css">
|
|
|
|
<link rel="stylesheet" type="text/css" media="print" href="/solar/print.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="/solar/monokai.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="/solar/vim-syntax.css">
|
|
|
|
<link rel="alternate" type="application/rss+xml" title="Kirsle's RSS Feed" href="/blog/rss">
|
2014-10-16 01:38:45 +00:00
|
|
|
</head>
|
2014-04-09 21:56:29 +00:00
|
|
|
<body>
|
|
|
|
|
2014-10-16 02:00:46 +00:00
|
|
|
<div class="mobile-nav">
|
2017-12-24 19:32:12 +00:00
|
|
|
<a href="#navbar" class="btn btn-primary"><i class="fas fa-bars"></i></a>
|
2014-10-16 02:00:46 +00:00
|
|
|
</div>
|
|
|
|
|
2014-04-09 21:56:29 +00:00
|
|
|
<div class="k-supernova"></div>
|
|
|
|
|
2014-10-16 01:38:45 +00:00
|
|
|
<div class="container-fluid">
|
2015-08-12 00:18:25 +00:00
|
|
|
<div class="row">
|
2017-12-24 19:32:12 +00:00
|
|
|
<div class="col-12 col-lg-10 col-xl-8">
|
2015-08-12 00:18:25 +00:00
|
|
|
<div class="k-kirsle" onclick="self.location='/'"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
2017-12-24 19:32:12 +00:00
|
|
|
<div class="order-1 order-lg-12 col-12 col-lg-10 col-xl-8">
|
2017-12-24 03:39:47 +00:00
|
|
|
<div class="k-content-panel mb-4">
|
2017-11-27 03:43:03 +00:00
|
|
|
{{ if .SetupNeeded }}
|
|
|
|
<div class="alert alert-success">
|
|
|
|
Your web blog needs to be set up!
|
|
|
|
Please <a href="/initial-setup">click here</a> to
|
|
|
|
configure your blog.
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2015-08-12 00:18:25 +00:00
|
|
|
|
2017-11-27 03:43:03 +00:00
|
|
|
{{ range .Flashes }}
|
|
|
|
<div class="alert alert-success">
|
|
|
|
{{ . }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2015-08-12 00:18:25 +00:00
|
|
|
|
2017-11-27 03:43:03 +00:00
|
|
|
{{ if .Error }}
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<strong>Error:</strong> {{ .Error }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2015-08-12 00:18:25 +00:00
|
|
|
|
2017-11-27 03:43:03 +00:00
|
|
|
{{ template "content" . }}
|
2015-08-12 00:18:25 +00:00
|
|
|
|
2017-12-23 23:37:39 +00:00
|
|
|
{{ if and .CurrentUser.Admin .Editable }}
|
|
|
|
<p>
|
|
|
|
<strong>Admin:</strong> [<a href="/admin/editor?file={{ or .Data.MarkdownFile TemplateName }}">edit this page</a>]
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
|
2015-08-12 00:18:25 +00:00
|
|
|
<div class="k-copyright">
|
2017-11-27 03:43:03 +00:00
|
|
|
Copyright © {{ Now.Format "2006" }} Noah Petherbridge — All rights reserved<br>
|
2015-08-12 00:18:25 +00:00
|
|
|
Hosted by <a href="https://www.digitalocean.com/?refcode=ea01734d3fc7">DigitalOcean</a><br>
|
2017-12-23 21:20:13 +00:00
|
|
|
Page generated in {{ printf "%.4f" .RequestDuration.Seconds }}s.
|
2015-08-12 00:18:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-12-24 19:32:12 +00:00
|
|
|
<div class="order-12 order-xl-1 col-12 col-xl-2">
|
|
|
|
<div class="k-navpanel mb-4" id="navbar">
|
2015-08-12 00:18:25 +00:00
|
|
|
<div class="k-section">Kirsle</div>
|
|
|
|
<ul>
|
2017-11-27 03:43:03 +00:00
|
|
|
<li>» <a href="/">Homepage</a> (<a href="/blog.rss">RSS</a>)</li>
|
2015-08-12 00:18:25 +00:00
|
|
|
<li>» <a href="/about">About Me</a></li>
|
2017-12-02 23:02:02 +00:00
|
|
|
<!-- <li>» <a href="/photos/albums">Photo Albums</a></li> -->
|
2015-08-12 00:18:25 +00:00
|
|
|
<li>» <a href="/wiki/Main-Page">Wiki</a></li>
|
|
|
|
<li>» <a href="/guestbook">Guestbook</a></li>
|
|
|
|
<li>» <a href="/contact">Contact Me</a></li>
|
|
|
|
</ul>
|
|
|
|
|
2017-12-02 23:39:39 +00:00
|
|
|
<div class="k-section">Blog Tags</div>
|
|
|
|
{{ RenderTags .Request false }}
|
2015-08-12 00:18:25 +00:00
|
|
|
|
|
|
|
<div class="k-section">Creativity</div>
|
|
|
|
<ul>
|
|
|
|
<li>» <a href="/rendering">3D Renderings</a></li>
|
|
|
|
<li>» <a href="/flash">Flash Animation</a></li>
|
|
|
|
<li>» <a href="/javascript">JavaScript</a></li>
|
|
|
|
<li>» <a href="/fonts">Fonts</a></li>
|
|
|
|
<li>» <a href="/doc/">Tutorials</a></li>
|
|
|
|
<li>» <a href="/designs">Web Design</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="k-section">Software</div>
|
|
|
|
<ul>
|
|
|
|
<li>» <a href="/rivescript">RiveScript</a></li>
|
|
|
|
<li>» <a href="/errorgen">Error Generator</a></li>
|
|
|
|
<li>» <a href="/tkcalc">Tk Calculator</a></li>
|
|
|
|
<li>» <a href="http://sh.kirsle.net/" target="_blank">Terminal Apps</a></li>
|
|
|
|
<li>» <a href="/pccc">CyanChat Client</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="k-section">Web Tools</div>
|
|
|
|
<ul>
|
|
|
|
<li>» <a href="/wizards/ttf2eot.cgi">TTF to EOT</a></li>
|
|
|
|
<li>» <a href="/wizards/ps1.html">Bash $PS1 Prompt</a></li>
|
|
|
|
<li>» <a href="/wizards/fader.cgi">Text Fader</a></li>
|
|
|
|
<li>» <a href="/wizards/favicon.cgi">Favicons</a></li>
|
|
|
|
<li>» <a href="/wizards/distance.cgi">Distance Calc</a></li>
|
|
|
|
<li>» <a href="/wizards/translator.html">Azulian Translater</a></li>
|
|
|
|
<li>» <a href="/wizards/xbmask.cgi">XBM Masks</a></li>
|
2017-03-23 22:55:51 +00:00
|
|
|
<li>» <a href="/wizards/flask-session.cgi">Flask Session</a></li>
|
2015-08-12 00:18:25 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="k-section">Subdomains</div>
|
|
|
|
<ul>
|
2017-03-23 22:55:51 +00:00
|
|
|
<li>» <a href="https://rophako.kirsle.net/">Rophako CMS</a></li>
|
|
|
|
<li>» <a href="https://mc.kirsle.net/">Minecraft Server</a></li>
|
|
|
|
<li>» <a href="https://rpm.kirsle.net/">Linux RPMs</a></li>
|
2015-08-12 00:18:25 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="k-section">Miscellany</div>
|
|
|
|
<ul>
|
|
|
|
<li>» <a href="/firered">Pokémon Fuchsia City</a></li>
|
|
|
|
<li>» <a href="/msdos">DOS and Windows</a></li>
|
|
|
|
<li>» <a href="/raspberrypi">Raspberry Pi</a></li>
|
|
|
|
</ul>
|
|
|
|
|
2017-03-23 22:55:51 +00:00
|
|
|
<div class="k-section">Social Links</div>
|
2015-08-12 00:18:25 +00:00
|
|
|
<ul>
|
2017-03-23 22:55:51 +00:00
|
|
|
<li>» <a href="https://www.google.com/+NoahPetherbridge" rel="me">Google+</a></li>
|
|
|
|
<li>» <a href="https://www.facebook.com/noah.lee.petherbridge" rel="me">Facebook</a></li>
|
|
|
|
<li>» <a href="https://twitter.com/kirsle" rel="me">Twitter</a></li>
|
|
|
|
<li>» <a href="https://www.instagram.com/kirsle" rel="me">Instagram</a></li>
|
|
|
|
<li>» <a href="https://myspace.com/kirsle" rel="me">MySpace</a></li>
|
|
|
|
<li>» <a href="https://github.com/kirsle" rel="me">Github</a></li>
|
|
|
|
<li>» <a href="http://search.cpan.org/~kirsle" rel="me">CPAN</a></li>
|
|
|
|
<li>» <a href="https://www.npmjs.org/~kirsle" rel="me">npm</a></li>
|
2015-08-12 00:18:25 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="k-section">Fan Club</div>
|
|
|
|
<ul>
|
2017-11-27 03:43:03 +00:00
|
|
|
{{ if .LoggedIn }}
|
2017-12-24 03:19:48 +00:00
|
|
|
<li>¤ Hi, <big><a href="/account">{{ or .CurrentUser.Name .CurrentUser.Username }}</a></big></li>
|
2017-11-27 03:43:03 +00:00
|
|
|
{{ if .CurrentUser.Admin }}
|
|
|
|
<li>» <a href="/admin">Admin Center</a></li>
|
|
|
|
{{ end }}
|
|
|
|
<li>» <a href="/blog/edit">Update Blog</a></li>
|
|
|
|
<li>» <a href="/blog/drafts">Drafts</a>/<a href="/blog/private">Private</a></li>
|
|
|
|
<li>» <a href="/logout">Log Out</a>
|
|
|
|
{{ else }}
|
|
|
|
<li id="login-link">» <a href="/login" class="login-link">Log In</a></li>
|
|
|
|
{{ end }}
|
2015-08-12 00:18:25 +00:00
|
|
|
</ul>
|
|
|
|
<div id="login-inline" style="display: none">
|
2017-11-27 03:43:03 +00:00
|
|
|
<form action="/login" method="POST">
|
|
|
|
<input type="hidden" name="_csrf" value="{{ .CSRF }}">
|
|
|
|
<input type="hidden" name="next" value="{{ .Path }}">
|
2015-08-12 00:18:25 +00:00
|
|
|
<input type="text" class="form-control" size="4" name="username" style="display: inline; width: 45%">
|
|
|
|
<input type="password" class="form-control" size="4" name="password" style="display: inline; width: 45%">
|
|
|
|
<br>
|
|
|
|
<button type="submit" class="btn btn-primary" style="width: 100%">Log In</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="center">
|
|
|
|
<a href="https://www.python.org/" target="_blank">
|
|
|
|
<img src="/static/images/python.png" width="80" height="15" alt="Python powered">
|
|
|
|
</a><br>
|
|
|
|
|
2017-03-23 22:55:51 +00:00
|
|
|
<a href="https://validator.w3.org/check?uri=referer">
|
2015-08-12 00:18:25 +00:00
|
|
|
<img src="/static/images/html5.png" width="80" height="15" alt="W3C Valid HTML5">
|
|
|
|
</a><br>
|
|
|
|
|
2017-03-23 22:55:51 +00:00
|
|
|
<a href="https://jigsaw.w3.org/css-validator/validator?uri=http://www.kirsle.com/solar/screen.css">
|
2015-08-12 00:18:25 +00:00
|
|
|
<img src="/static/images/css3.png" width="80" height="15" alt="W3C Valid CSS3">
|
|
|
|
</a><p>
|
|
|
|
|
|
|
|
<a href="https://www.digitalocean.com/?refcode=ea01734d3fc7" target="_blank">
|
|
|
|
<img src="/static/images/digital-ocean.png" width="140" height="39" alt="Proudly hosted by DigitalOcean">
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2014-04-09 21:56:29 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="/js/jquery-2.1.0.min.js"></script>
|
2014-04-19 06:46:33 +00:00
|
|
|
<script type="text/javascript" src="/js/offsite.js"></script>
|
2014-10-16 01:38:45 +00:00
|
|
|
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
|
2017-12-24 19:32:12 +00:00
|
|
|
<script type="text/javascript" src="/vendor/FontAwesome/js/fontawesome-all.min.js"></script>
|
2014-04-30 06:42:12 +00:00
|
|
|
<script type="text/javascript">
|
2015-08-12 00:18:25 +00:00
|
|
|
$(document).ready(function() {
|
|
|
|
$(".login-link").click(function() {
|
|
|
|
$("#login-link").hide();
|
|
|
|
$("#login-inline").show(500);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
});
|
2014-04-30 06:42:12 +00:00
|
|
|
</script>
|
2017-11-27 03:43:03 +00:00
|
|
|
|
|
|
|
{{ template "scripts" }}
|
2014-04-09 21:56:29 +00:00
|
|
|
|
|
|
|
</body>
|
2014-10-16 01:50:54 +00:00
|
|
|
</html>
|
2017-11-27 03:43:03 +00:00
|
|
|
{{ end }}
|