aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorkballou <kballou@devnulllabs.io>2016-02-24 20:49:13 -0700
committerkballou <kballou@devnulllabs.io>2017-09-02 19:31:45 -0600
commit9faf2797e283cc38bc5a04d17072199ff15cbecf (patch)
tree361d3094472f3f0d5499e5e60ff49ac76e39b973 /layouts
parentc44a32c7b8e2ece515ef04da479b46fd29edfddf (diff)
downloadblog.kennyballou.com-9faf2797e283cc38bc5a04d17072199ff15cbecf.tar.gz
blog.kennyballou.com-9faf2797e283cc38bc5a04d17072199ff15cbecf.tar.xz
Redesign ALL the Things
* Add target _blank for external social links * Change color scheme to more Solarized * Remove author column - This is moved to the top * Update links to images - These are now using Hugo's shortcodes for "figures"
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html14
-rw-r--r--layouts/blog/single.html33
-rw-r--r--layouts/index.html19
-rw-r--r--layouts/partials/author.html21
-rw-r--r--layouts/partials/subheader.html30
5 files changed, 48 insertions, 69 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 00aaabc..73f61b8 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,17 +1,11 @@
{{ partial "header.html" . }}
<body>
{{ partial "subheader.html" . }}
-<section id="main">
+<div id="content">
+ <h1>{{ .Title }}</h1>
<div>
- <div class="colleft">
- <article id="content">
- {{ .Content}}
- </article>
- </div>
- <div class="colright">
- {{ partial "author.html" . }}
- </div>
+ {{ .Content}}
</div>
-</section>
+</div>
</body>
{{ partial "footer.html" . }}
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 1086aa8..12abff0 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -1,27 +1,18 @@
{{ partial "header.html" . }}
<body>
{{ partial "subheader.html" . }}
-<section id="main">
- <div>
- <div class="colleft">
- <article id="content">
- <h1 id="title"> {{ .Title }}</h1>
- <div class="post-meta">
- <ul class="tags">
- <li><i class="fa fa-tags"></i></li>
- {{ range .Params.tags }}
- <li>{{ . }}</li>
- {{ end }}
- </ul>
- <h4 id="date"> {{ .Date.Format "Mon Jan 2, 2006" }}</h4>
- </div>
- {{ .Content}}
- </article>
- </div>
- <div class="colright">
- {{ partial "author.html" . }}
- </div>
+<article id="content">
+ <h1 id="title"> {{ .Title }}</h1>
+ <div class="post-meta">
+ <ul class="tags">
+ <li><i class="fa fa-tags"></i></li>
+ {{ range .Params.tags }}
+ <li>{{ . }}</li>
+ {{ end }}
+ </ul>
+ <h4 id="date"> {{ .Date.Format "Mon Jan 2, 2006" }}</h4>
</div>
-</section>
+ {{ .Content}}
+</article>
</body>
{{ partial "footer.html" . }}
diff --git a/layouts/index.html b/layouts/index.html
index 528a97c..3e0966b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -2,19 +2,10 @@
<body>
{{ partial "subheader.html" . }}
<section id="main">
- <div>
- <div class="colleft">
- {{ range first 10 .Data.Pages }}
- {{ if eq .Section "blog" }}
- {{ .Render "summary" }}
- {{ end }}
- {{ end }}
- </div>
- <div class="colright">
- {{ partial "author.html" . }}
- </div>
- <div>
+ {{ range first 10 .Data.Pages }}
+ {{ if eq .Section "blog" }}
+ {{ .Render "summary" }}
+ {{ end }}
+ {{ end }}
</section>
-
-
{{ partial "footer.html" . }}
diff --git a/layouts/partials/author.html b/layouts/partials/author.html
deleted file mode 100644
index 88a2736..0000000
--- a/layouts/partials/author.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<section>
- <div id="author">
- <a class="fade" href="about-me/"><h3 class="fade">Kenny Ballou</h3></a>
- <h4><code>:(){ :|:&amp; };:</code></h4>
- <a href="https://github.com/kennyballou">
- <i class="fade fa fa-github-square fa-2x"></i>
- </a>
- <a href="https://bitbucket.org/kballou">
- <i class="fade fa fa-bitbucket-square fa-2x"></i>
- </a>
- <a href="http://www.linkedin.com/in/kennyballou">
- <i class="fade fa fa-linkedin-square fa-2x"></i>
- </a>
- <a href="https://plus.google.com/+KennyBallou">
- <i class="fade fa fa-google-plus-square fa-2x"></i>
- </a>
- <a href="https://twitter.com/kennyballou">
- <i class="fade fa fa-twitter-square fa-2x"></i>
- </a>
- </div>
-</section>
diff --git a/layouts/partials/subheader.html b/layouts/partials/subheader.html
index 4cbdd9e..ab29ead 100644
--- a/layouts/partials/subheader.html
+++ b/layouts/partials/subheader.html
@@ -1,5 +1,29 @@
<div id="header">
- <header>
- <a class="fade" href="{{ .Site.BaseURL }}">~kballou</a>
- </header>
+ <div class="colleft">
+ <header>
+ <a class="fade" href="{{ .Site.BaseURL }}">~</a>
+ <a class="fade" href="about-me/"> kballou</a>
+ </header>
+ </div>
+ <div class="colright">
+ <header>
+ <div id="author">
+ <a href="https://github.com/kennyballou" target="_blank">
+ <i class="fade fa fa-github-square fa-1x"></i>
+ </a>
+ <a href="https://bitbucket.org/kballou" target="_blank">
+ <i class="fade fa fa-bitbucket-square fa-1x"></i>
+ </a>
+ <a href="http://www.linkedin.com/in/kennyballou" target="_blank">
+ <i class="fade fa fa-linkedin-square fa-1x"></i>
+ </a>
+ <a href="https://plus.google.com/+KennyBallou" target="_blank">
+ <i class="fade fa fa-google-plus-square fa-1x"></i>
+ </a>
+ <a href="https://twitter.com/kennyballou" target="_blank">
+ <i class="fade fa fa-twitter-square fa-1x"></i>
+ </a>
+ </div>
+ </header>
+ </div>
</div>