What's Up Mookie?
I have never been one to want to go out – I am a total homebody. So, I have been finding stuff to keep myself busy lately, here’s what I have been up to.
Structured Data
I added Structured Data to my Movie Reviews for rich search results. The basis of the work was using the instructions found here. Then I had to change the schema.html file for movie reviews instead of a generic blog posting. I also added LinkedIn as one of the social networks. The schema.html file I created looks like:
<script type="application/ld+json">
{{ if eq .Section "movies" }}
{
"@context": "https://schema.org",
"@type": "Review",
"itemReviewed": {
"@type": "Movie",
"sameAs": {{ .Permalink | absURL }},
{{ if isset .Params "schema_image" }}
"image": {{ .Params.schema_image | absURL }},
{{ else }}
"image": {{ .Site.Params.logo | absURL }},
{{ end }}
"name": {{ .Title }}
},
"author": {
"@type": "Person",
"name": {{ .Site.Params.author }},
"sameAs": {{ .Site.BaseURL }}
},
"description": {{ .Summary | plainify | safeHTML }},
"datePublished": {{ .PublishDate }},
"dateModified": {{ .Lastmod }},
"mainEntityOfPage": { "@type": "WebPage" },
"publisher": {
"@type": "Organization",
"name": {{ .Site.Params.header }},
"sameAs": {{ .Site.BaseURL }},
"logo": {
"@type": "ImageObject",
"url": {{ .Site.Params.logo | absURL }}
}
},
"keywords": [{{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }}]
}
{{ end }}
{{ if or (eq .Section "posts") (eq .Section "photos") }}
{
"@context": "https://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": {{ .Site.Params.author }},
"sameAs": {{ .Site.BaseURL }}
},
"headline": {{ .Title }},
"datePublished": {{ .PublishDate }},
"dateModified": {{ .Lastmod }},
{{ if isset .Params "schema_image" }}
"image": {{ .Params.schema_image | absURL }},
{{ else }}
"image": {{ .Site.Params.logo | absURL }},
{{ end }}
"mainEntityOfPage": { "@type": "WebPage" },
"publisher": {
"@type": "Organization",
"name": {{ .Site.Params.header }},
"sameAs": {{ .Site.BaseURL }},
"logo": {
"@type": "ImageObject",
"url": {{ .Site.Params.logo | absURL }}
}
},
"keywords": [{{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }}]
}
{{ end }}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": {{ printf "%s: %s" .Site.Params.header .Site.Params.author }},
"url": {{ .Site.BaseURL }},
"sameAs": [
"https://www.instagram.com/{{ .Site.Params.instagram }}",
"https://twitter.com/{{ .Site.Params.twitter }}",
"https://github.com/{{ .Site.Params.github }}",
"https://www.youtube.com/c/{{ .Site.Params.youtube }}",
"https://www.linkedin.com/in/{{ .Site.Params.linkedin }}"
]
}
</script>
Then for the picture in the rich data to work, add this meta data for Hugo in the post:
schema_image: "URL_TO_PICTURE"
Vault Clean Up
I spent time going through The Vault and cleaning up.
For the 2001-2013 stuff, I split the one large index.html file into smaller ones that are bound by years. I also added navigation at the bottom of each old entry.
The 2013-2019 stuff I have been slowly migrating those entries over to the main site because they were all written in Markdown and it is simply a matter of adding the right Hugo metadata to move them over. There’s a lot to move over and I am about half-way done moving things.
Open Graph Image
I added images for Open Graph to posts (aka og:image meta tags). It required adding this to the meta data for Hugo:
images: ["URL_TO_PICTURE"]
I figured out how to add a custom twitter:site meta tag to the existing ones already generated by Hugo to make a complete Twitter Summary Card for posts. It was as easy as adding this to my Hugo configuration file:
[Social]
twitter = "ultramookie"
Hugo
Hugo is an impressively powerful piece of software and I keep finding new things about it to play with.
Movies
I watched a bunch of movies and wrote about them. There were quite a few good ones like The Old Guard, Archive, The Invisible Man and Sea Fever.
I did torture myself by watching Michael Bay parody a Michael Bay film: 6 Underground.
Running
I crossed the 1,000 miles mark near the end of July. It took me almost all year to get to 1,000 miles in 2018 and only seven months in 2020.
I took my new Hoka One One Bondi 6 shoes out for a run.
Gaming
I have been flying around in Ghost Recon Breakpoint – mostly causing chaos in the open world and sometimes spending time on the actual campaign missions.
Camry XSE
If I ever do get out of the house, it is going to be in a clean car because I washed and waxed the Mach 5.