Permalink
Browse files

Added hack to have /blog as homepage

  • Loading branch information...
guyzmo committed Sep 3, 2016
1 parent c5da587 commit 486314345a46d8f87a3aee66ff502ee0dcf5f92e
Showing with 26 additions and 0 deletions.
  1. +3 −0 content/blog/not-a-post.md
  2. +14 −0 layouts/blog/list.html
  3. +9 −0 layouts/index.html
@@ -0,0 +1,3 @@
---
type: ignore
---
@@ -0,0 +1,14 @@
{{ partial "header" . }}
<div class="container clearfix">
<main role="main" class="content">
{{ .Site.Pages }}
{{ $paginator := .Paginate .Site.Pages }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
{{ partial "pagination" . }}
</main>

{{ partial "author" . }}
</div>
{{ partial "footer" . }}
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>http://i.got.nothing.to/blog</title>
<link rel="canonical" href="http://i.got.nothing.to/blog/"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0; url=/blog/" />
</head>
</html>

0 comments on commit 4863143

Please sign in to comment.