Browse Source

Adding missing template customizations

master
Drew Short 6 years ago
parent
commit
afa2683db4
  1. 4
      config.toml
  2. 4
      static/css/main.css
  3. 5
      themes/hyde/layouts/partials/sidebar.html

4
config.toml

@ -2,3 +2,7 @@ baseURL = "https://blog.nulloctet.com/"
languageCode = "en-us"
title = "NullOctet Blog"
theme = "hyde"
[params]
copyright = "Drew Short © 2018. All rights reserved."
description = "A simple developer blog"

4
static/css/main.css

@ -1,3 +1,7 @@
div.sidebar-about a h1 {
font-style: italic;
}
img.center {
display: block;
margin: 0 auto;

5
themes/hyde/layouts/partials/sidebar.html

@ -1,7 +1,10 @@
<aside class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
<a href="{{ .Site.BaseURL }}"><img class="center" src="/nulloctet-white.svg" alt="{{ .Site.Title }}" /></a>
<a href="{{ .Site.BaseURL }}">
<img class="center" src="/nulloctet-white.svg" alt="{{ .Site.Title }}" />
<h1>Null Octet</h1>
</a>
<p class="lead">
{{ with .Site.Params.description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}}
</p>

Loading…
Cancel
Save