mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Move everything into a “blog” directory
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -1,13 +0,0 @@
|
||||
</main>
|
||||
|
||||
<footer class="footer">
|
||||
<small>{{ $year := .Site.LastChange.Format "2006"}}
|
||||
©
|
||||
<time datetime="{{ $year }}">{{ $year }}</time>. All rights reserved.
|
||||
<a href="/contact.html">Contact</a>
|
||||
</small>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -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 }} · {{ .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>
|
||||
@@ -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 " " " " | safeHTML }}</small>
|
||||
</h3>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
Reference in New Issue
Block a user