diff options
Diffstat (limited to 'blag/layouts')
-rw-r--r-- | blag/layouts/_default/single.html | 14 | ||||
-rw-r--r-- | blag/layouts/blog/single.html | 33 | ||||
-rw-r--r-- | blag/layouts/index.html | 19 | ||||
-rw-r--r-- | blag/layouts/partials/author.html | 21 | ||||
-rw-r--r-- | blag/layouts/partials/subheader.html | 30 |
5 files changed, 48 insertions, 69 deletions
diff --git a/blag/layouts/_default/single.html b/blag/layouts/_default/single.html index 00aaabc..73f61b8 100644 --- a/blag/layouts/_default/single.html +++ b/blag/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/blag/layouts/blog/single.html b/blag/layouts/blog/single.html index 1086aa8..12abff0 100644 --- a/blag/layouts/blog/single.html +++ b/blag/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/blag/layouts/index.html b/blag/layouts/index.html index 528a97c..3e0966b 100644 --- a/blag/layouts/index.html +++ b/blag/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/blag/layouts/partials/author.html b/blag/layouts/partials/author.html deleted file mode 100644 index 88a2736..0000000 --- a/blag/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>:(){ :|:& };:</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/blag/layouts/partials/subheader.html b/blag/layouts/partials/subheader.html index 4cbdd9e..ab29ead 100644 --- a/blag/layouts/partials/subheader.html +++ b/blag/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> |