fix h-entry microformat shizzle

This commit is contained in:
Wouter Groeneveld 2022-11-20 09:12:37 +01:00
parent 31130c6a02
commit e1e60397ef
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<html lang="{{ .Site.LanguageCode }}" class="h-entry">
<head>
{{ partial "head.html" . }}
</head>

View File

@ -2,7 +2,7 @@
{{ define "main" }}
<div class="content-column">
<div class="row">
<article class="h-entry" data-pagefind-body>
<article data-pagefind-body>
<header>
<h1 class="p-name" data-pagefind-meta="title">{{ .Title }}</h1>
{{ if isset $.Params "date" }}
@ -38,11 +38,11 @@
<div class="categories">
Played on:
{{ if eq .Params.played_on "winxp" }}
<a href="https://brainbaking.com/post/2020/10/building-a-core2duo-winxp-retro-pc/">Windows XP - Core2Duo</a> 2006 build.
<a class="p-category" href="https://brainbaking.com/post/2020/10/building-a-core2duo-winxp-retro-pc/">Windows XP - Core2Duo</a> 2006 build.
{{ else if eq .Params.played_on "win98" }}
<a href="https://brainbaking.com/post/2020/10/building-an-athlon-win98-retro-pc/">Windows 98 SE - Athlon 1.4</a> 2001 build.
<a class="p-category" href="https://brainbaking.com/post/2020/10/building-an-athlon-win98-retro-pc/">Windows 98 SE - Athlon 1.4</a> 2001 build.
{{ else if eq .Params.played_on "486" }}
<a href="https://brainbaking.com/post/2020/09/reviving-a-80486/">DOS 6.22 - 486DX2-66</a> 1993 build.
<a class="p-category" href="https://brainbaking.com/post/2020/09/reviving-a-80486/">DOS 6.22 - 486DX2-66</a> 1993 build.
{{ end }}
</div>

View File

@ -1,4 +1,4 @@
<article class="box-masonry h-entry">
<article class="box-masonry">
<a href="{{ .Permalink }}" title="{{ .Params.title }}" class="box-masonry-image u-url u-uid">
{{- $thumb := "/img/logo.png" | absURL -}}
{{- if .Params.image -}}