...
 
Commits (2)
......@@ -157,6 +157,11 @@ googleAnalytics = "UA-50848309-1"
name = "Projects"
weight = 5
pre = "<i class='fa fa-server'></i>"
[[menu.main]]
parent = "Projects"
weight = 1
url = "/project/website-change-log/"
name = "Hugo/Website ChangeLog"
[[menu.main]]
name = "Notes"
weight = 6
......
+++
title = "Hugo and Website Change Log"
date = "2017-03-13"
description = "This post will update all non-content related changes to this website, plus thoughts and tips about the blog engine Hugo"
keywords = ["Hugo Blog"]
categories = ["project"]
comments = "false"
tags = ["hugo", "website"]
slug = "website-change-log"
+++
This is a technical post meant for other geeks, so please feel free to skip it unless you are interested in Hugo, Static Site Generators, Theme design, and the like.
This website is currently generated by Gitlab using the publysher/hugo docker module and using Hugo 0.19. I migrated this website from Ruby-based Jekyll, which was migrated over from Wordpress. In 2010, I combined two different weblogs on Wordpress into one - my Personal Blog (www.jeffreyrandow.org) and my now-defunct Network Blog (www.networkblog.net). When I migrated to Hugo, I archived the old Network Blog so that I can have a newer "tech-y" blog about networking, scripting, security, and programming.
I created my own Bootstrap theme for Hugo using some of the "Simplex" bootswatch theme, but highly customized to support my MP3 collection of the various groups I performed with, a photo gallery now based on Google Photos, and structured data to coalesce all of the information. I also fully configured a multi-level bootstrap navbar. Feel free to grab the "mountain" folder from my themes directory and copy my config.toml file to configure all of the features. When I feel it is feature complete, I'll post it to the Hugo Themes project.
The site is available in both HTTP and HTTPS, with HTTPS being preferred for security. Some of the non-blog data is held in an Amazon S3 instance to reduce the load on Gitlab/Github.
The base data for this website is available at both Github and Gitlab. My old Jekyll-based blog is still available at http://jeffreycentex.github.io, but this content is no longer updated and is vastly out-of-date.
Recent Changes:
* 3/13/2017 - I changed the color scheme back to a simple white and did a lot of CSS fixes to take care of the color problems associated with the white theme. I also enabled structured data for the home page, article posts, and all of the music posts.
Work to be done:
* I have accessibility issues that I need to work out. I also have a few minor HTML5 validation issues that I plan to work out soon.
* Implement my Event Calendar. I added the menu for it, but I have backend work. I will publish the RSS feed for the Event Calendar on the main page when complete.
* Fix HTML5 validation issues.
* Bring some dynamic content via JQuery or AJAX, such as current fitbit stats, twitter posts, and the like.
* Allow pages to add menu items.
<div class="thumbnail" itemscope itemtype="schema.org/Person">
<div class="thumbnail" itemscope itemtype="http://schema.org/Person">
<img itemprop="image" src="{{ .Site.Params.author.image }}" alt="" class="img-rounded">
<div class="caption text-center" >
<h2 itemprop="name">{{ .Site.Params.author.name }}</h2>
......
......@@ -6,7 +6,7 @@
{{ .Params.category_desc | markdownify }}
</div>{{end}}
<ul class="list-group">
<li class="list-group-item list-group-item-success">List of Archive Pages by Date in "{{.Title}}"</li>
<li class="list-group-item list-group-item-warning">List of Archive Pages by Date in "{{.Title}}"</li>
{{ range .Data.Pages }}
<li class="list-group-item"><span class="badge"><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format $dateFormat }}</time></span><a href="{{.Permalink}}">{{.Title | markdownify}}</a></li>
{{ end }}
......
......@@ -3,8 +3,8 @@
<div class = "container" >
<article>
<header>
<h1 id="title">{{ .Title }}</h1> {{ $dateFormat := default "Monday, January 2, 2006" (index .Site.Params "date_format") }}
{{ if eq .Type "page"}}<h6>Last Updated: {{.Params.lastupdate}}</h6>{{else}}<h5 id="date"><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format $dateFormat }}</time></h5>
<h1>{{ .Title }}</h1> {{ $dateFormat := default "Monday, January 2, 2006" (index .Site.Params "date_format") }}
{{ if eq .Type "page"}}<h6>Last Updated: {{.Params.lastupdate}}</h6>{{else}}<h5 id="date"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format $dateFormat }}</time></h5>
<h5><a href="{{.Permalink}}"><span class="label label-info">Permalink</span></a> Word Count: <span class="badge">{{.WordCount}}</span> {{if .Params.tags}}Tags: {{ range .Params.tags }}<span class="label label-danger"><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}/">{{ . }}</a></span> {{ end }}</h5>{{end}}{{end}}
</header>
<hr/>
......@@ -17,7 +17,7 @@
{{ if eq .Type "page"}}{{else}}<div class = "container" >
<nav>
<ul class="pager">
{{if .PrevInSection}}<li class="previous"><a href="{{.PrevInSection.Permalink}}"><span aria-hidden="true">&larr;</span> Previous</a></li>{{else}}<li class="previous"><a href="#"><span aria-hidden="true">&larr;</span>{{end}}
{{if .PrevInSection}}<li class="previous"><a href="{{.PrevInSection.Permalink}}"><span aria-hidden="true">&larr;</span> Previous</a></li>{{else}}<li class="previous"><a href="#"><span aria-hidden="true">&larr; Previous</span>{{end}}
{{if .NextInSection}}<li class="next"><a href="{{.NextInSection.Permalink}}">Newer <span aria-hidden="true">&rarr;</span></a></li>{{else}}<li class="next disabled"><a href="">Newer <span aria-hidden="true">&rarr;</span></a></li>{{end}}
</ul>
</nav>
......@@ -26,4 +26,23 @@
<div class = "container">
{{ template "_internal/disqus.html" . }}
</div>{{end}}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "{{.Site.Params.author.name}}"
},
"publisher": {
"@type": "Person",
"name": "{{.Site.Params.author.name}}"
},
"name": "{{.Title}}",
"datePublished": "{{.Date}}",
"dateModified": "{{.Date}}",
"headline": "{{.Title}}",
"image": "{{ with .Params.images }}{{.Params.images}}{{else}}{{.Site.Params.author.image}}{{ end }}"
}
</script>
{{ partial "footer.html" . }}
......@@ -10,12 +10,12 @@
<nav aria-label="pagination">
<ul class="pager">
{{ if and (.Paginator.HasPrev) (.Paginator.HasNext) }}
<li class="previous"><a href="{{ .Paginator.Prev.URL }}">&larr; Older</a></li>
<li class="next"><a href="{{ .Paginator.Next.URL }}">Newer &rarr;</a></li>{{ end }}
{{ if and (.Paginator.HasPrev) (not .Paginator.HasNext) }}<li class="previous"><a href="{{ .Paginator.Prev.URL }}">&larr; Older</a></li>
<li class="next disabled"><a href="">Newer &rarr;</a></li>{{ end }}
{{ if and (not .Paginator.HasPrev) (.Paginator.HasNext) }}<li class="previous disabled"><a href="">&larr; Older</a></li>
<li class="next"><a href="{{ .Paginator.Next.URL }}">Newer &rarr;</a></li>{{ end }}
<li class="previous"><a href="{{ .Paginator.Prev.URL }}">&larr; Previous Page</a></li>
<li class="next"><a href="{{ .Paginator.Next.URL }}">Next Page &rarr;</a></li>{{ end }}
{{ if and (.Paginator.HasPrev) (not .Paginator.HasNext) }}<li class="previous"><a href="{{ .Paginator.Prev.URL }}">&larr; Previous Page</a></li>
<li class="next disabled"><a href="">Next Page &rarr;</a></li>{{ end }}
{{ if and (not .Paginator.HasPrev) (.Paginator.HasNext) }}<li class="previous disabled"><a href="">&larr; Previous Page</a></li>
<li class="next"><a href="{{ .Paginator.Next.URL }}">Next Page &rarr;</a></li>{{ end }}
</ul>
</nav>
{{ end }}
......
......@@ -27,7 +27,7 @@
"@type": "Event",
"startDate": "{{.Date}}",
"url": "{{.Permalink}}",
"name": "{{ $group }}" ,
"name": "{{ $title }}" ,
"location": {"@type": "Place", "name": "New Braunfels, TX", "address": {"@type": "PostalAddress", "addressLocality": "New Braunfels", "addressRegion": "TX"}}
}],
"name": "{{ $title }}",
......
......@@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-language" content="en-us">
<meta name="author" content="{{.Site.Params.author.name}}">
{{.Hugo.Generator}}
......
......@@ -8,3 +8,4 @@ h5#date {font-weight: bold;}
span.label a {color: white;}
span.label a:hover {text-decoration: none;}
.sb {color: black;}
body { margin-top: 40px; }