The web design and pages for my personal website.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

212 lines
7.5 KiB

{{ define "title" }}{{ end }}
{{ define "scripts" }}{{ end }}
{{ define "layout" }}
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ template "title" . }} - {{ .Title }}</title>
<!-- Bootstrap -->
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
<!-- 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">
<div class="mobile-nav">
<a href="#navbar" class="btn btn-primary"><i class="glyphicon glyphicon-list"></i></a>
<div class="k-supernova"></div>
<div class="container-fluid">
<div class="row">
<div class="col-md-4 col-md-offset-3">
<div class="k-kirsle" onclick="self.location='/'"></div>
<div class="row">
<div class="col-10 order-12">
<div class="k-content-panel">
{{ 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.
{{ end }}
{{ range .Flashes }}
<div class="alert alert-success">
{{ . }}
{{ end }}
{{ if .Error }}
<div class="alert alert-danger">
<strong>Error:</strong> {{ .Error }}
{{ end }}
{{ template "content" . }}
<div class="k-copyright">
Copyright &copy; {{ Now.Format "2006" }} Noah Petherbridge &mdash; All rights reserved<br>
Hosted by <a href="">DigitalOcean</a><br>
Page generated in %time_elapsed%s.
<div class="col-sm-2 order-1">
<div class="k-navpanel" id="navbar">
<div class="k-section">Kirsle</div>
<li>&#0187; <a href="/">Homepage</a> (<a href="/blog.rss">RSS</a>)</li>
<li>&#0187; <a href="/about">About Me</a></li>
<!-- <li>&#0187; <a href="/photos/albums">Photo Albums</a></li> -->
<li>&#0187; <a href="/wiki/Main-Page">Wiki</a></li>
<li>&#0187; <a href="/guestbook">Guestbook</a></li>
<li>&#0187; <a href="/contact">Contact Me</a></li>
<div class="k-section">Blog Tags</div>
{{ RenderTags .Request false }}
<div class="k-section">Creativity</div>
<li>&#0187; <a href="/rendering">3D Renderings</a></li>
<li>&#0187; <a href="/flash">Flash Animation</a></li>
<li>&#0187; <a href="/javascript">JavaScript</a></li>
<li>&#0187; <a href="/fonts">Fonts</a></li>
<li>&#0187; <a href="/doc/">Tutorials</a></li>
<li>&#0187; <a href="/designs">Web Design</a></li>
<div class="k-section">Software</div>
<li>&#0187; <a href="/rivescript">RiveScript</a></li>
<li>&#0187; <a href="/errorgen">Error Generator</a></li>
<li>&#0187; <a href="/tkcalc">Tk Calculator</a></li>
<li>&#0187; <a href="" target="_blank">Terminal Apps</a></li>
<li>&#0187; <a href="/pccc">CyanChat Client</a></li>
<div class="k-section">Web Tools</div>
<li>&#0187; <a href="/wizards/ttf2eot.cgi">TTF to EOT</a></li>
<li>&#0187; <a href="/wizards/ps1.html">Bash $PS1 Prompt</a></li>
<li>&#0187; <a href="/wizards/fader.cgi">Text Fader</a></li>
<li>&#0187; <a href="/wizards/favicon.cgi">Favicons</a></li>
<li>&#0187; <a href="/wizards/distance.cgi">Distance Calc</a></li>
<li>&#0187; <a href="/wizards/translator.html">Azulian Translater</a></li>
<li>&#0187; <a href="/wizards/xbmask.cgi">XBM Masks</a></li>
<li>&#0187; <a href="/wizards/flask-session.cgi">Flask Session</a></li>
<div class="k-section">Subdomains</div>
<li>&#0187; <a href="">Rophako CMS</a></li>
<li>&#0187; <a href="">Minecraft Server</a></li>
<li>&#0187; <a href="">Linux RPMs</a></li>
<div class="k-section">Miscellany</div>
<li>&#0187; <a href="/firered">Pok&#0233;mon Fuchsia City</a></li>
<li>&#0187; <a href="/msdos">DOS and Windows</a></li>
<li>&#0187; <a href="/raspberrypi">Raspberry Pi</a></li>
<div class="k-section">Social Links</div>
<li>&#0187; <a href="" rel="me">Google+</a></li>
<li>&#0187; <a href="" rel="me">Facebook</a></li>
<li>&#0187; <a href="" rel="me">Twitter</a></li>
<li>&#0187; <a href="" rel="me">Instagram</a></li>
<li>&#0187; <a href="" rel="me">MySpace</a></li>
<li>&#0187; <a href="" rel="me">Github</a></li>
<li>&#0187; <a href="" rel="me">CPAN</a></li>
<li>&#0187; <a href="" rel="me">npm</a></li>
<div class="k-section">Fan Club</div>
{{ if .LoggedIn }}
<li>&#0164; Hi, <big>{{ or .CurrentUser.Name .CurrentUser.Username }}</big></li>
{{ if .CurrentUser.Admin }}
<li>&#0187; <a href="/admin">Admin Center</a></li>
{{ end }}
<li>&#0187; <a href="/blog/edit">Update Blog</a></li>
<li>&#0187; <a href="/blog/drafts">Drafts</a>/<a href="/blog/private">Private</a></li>
<li>&#0187; <a href="/logout">Log Out</a>
{{ else }}
<li id="login-link">&#0187; <a href="/login" class="login-link">Log In</a></li>
{{ end }}
<div id="login-inline" style="display: none">
<form action="/login" method="POST">
<input type="hidden" name="_csrf" value="{{ .CSRF }}">
<input type="hidden" name="next" value="{{ .Path }}">
<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%">
<button type="submit" class="btn btn-primary" style="width: 100%">Log In</button>
<div class="center">
<a href="" target="_blank">
<img src="/static/images/python.png" width="80" height="15" alt="Python powered">
<a href="">
<img src="/static/images/html5.png" width="80" height="15" alt="W3C Valid HTML5">
<a href="">
<img src="/static/images/css3.png" width="80" height="15" alt="W3C Valid CSS3">
<a href="" target="_blank">
<img src="/static/images/digital-ocean.png" width="140" height="39" alt="Proudly hosted by DigitalOcean">
<script type="text/javascript" src="/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="/js/offsite.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".login-link").click(function() {
return false;
{{ template "scripts" }}
{{ end }}