Move everything into a “blog” directory

This commit is contained in:
Philipp Oppermann
2017-03-11 12:41:53 +01:00
parent 02b3ebcd27
commit ce36e25da9
77 changed files with 1 additions and 0 deletions

View File

@@ -1,10 +0,0 @@
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-65296949-1', 'auto');
ga('send', 'pageview');
</script>

View File

@@ -1,6 +0,0 @@
<script type="text/javascript">
anchors.options = {
placement: 'left',
};
anchors.add('article h2, article h3, article h4, article h5, article h6');
</script>

View File

@@ -1,17 +0,0 @@
<div id="disqus_thread"></div>
<script>
(function() {
// Don't ever inject Disqus on localhost--it creates unwanted
// discussions from 'localhost:1313' on your Disqus account...
if (window.location.hostname == "localhost")
return;
var d = document, s = d.createElement('script');
s.src = '//phil-opp.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>

View File

@@ -1,13 +0,0 @@
</main>
<footer class="footer">
<small>{{ $year := .Site.LastChange.Format "2006"}}
&copy;
<time datetime="{{ $year }}">{{ $year }}</time>. All rights reserved.
<a href="/contact.html">Contact</a>
</small>
</footer>
</div>
</body>
</html>

View File

@@ -1,42 +0,0 @@
<head>
<meta charset="UTF-8">
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
<title>
{{ .Title }}{{ if not .IsHome }} &middot; {{ .Site.Title }}{{end}}
</title>
<link rel="canonical" href="{{ .Permalink }}">
<!-- CSS -->
<link rel="stylesheet" href="/css/poole.css">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/syntax.css">
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/images/apple-touch-icon-precomposed.png">
<link rel="shortcut icon" href="/images/favicon.ico">
{{ if .RSSlink }}
<link href="/atom.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="/atom.xml" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
<!-- JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/2.0.0/anchor.min.js"></script>
<script src="js/toc.min.js"></script>
<script src="js/main.js"></script>
{{ partial "analytics.html" . }}
<!-- redirect from phil-opp.github.io/blog_os -->
<script type="text/javascript">
if (window.location.hostname == "phil-opp.github.io") {
window.location.href = "http://os.phil-opp.com/";
}
</script>
</head>

View File

@@ -1,18 +0,0 @@
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}
<body>
<div class="container content">
<header class="masthead">
<h3 class="masthead-title">
<a href="/" title="Home">{{ .Site.Title }}</a>
<span class="navigation">
<small><a href="/atom.xml"><img src="/images/feed-icon.png" alt="RSS"></a></small><!-- image source: https://commons.wikimedia.org/wiki/File:Generic_Feed-icon.svg -->
</span>
<small>{{ replace .Site.Params.subtitle " " "&nbsp;" | safeHTML }}</small>
</h3>
</header>
<main>