diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-08-04 14:49:48 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-08-04 14:49:48 +0200 |
commit | 07ae26b4d0730735eadf1055d27a291a69ba0131 (patch) | |
tree | 166eb5c2dbeac97a9ff1fce1c423186c4402a8ee /layouts/recipes | |
parent | 87a04eaf82583c4186a132afe6cf0f0effada919 (diff) |
Add h-entry tags to content
Diffstat (limited to 'layouts/recipes')
-rw-r--r-- | layouts/recipes/list.html | 4 | ||||
-rw-r--r-- | layouts/recipes/single.html | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/layouts/recipes/list.html b/layouts/recipes/list.html index de18df0..b758a2b 100644 --- a/layouts/recipes/list.html +++ b/layouts/recipes/list.html @@ -10,11 +10,11 @@ </div> <div class="description"> <h2> - <a href="{{ .Permalink }}">{{ .Title }}</a> + <a class="p-name" href="{{ .Permalink }}">{{ .Title }}</a> </h2> <ul class="taglist"> {{- range sort .Params.tags }} - <li><a class="tag" href="/tags/{{ . | lower }}">{{ . }}</a></li> + <li><a class="p-category tag" href="/tags/{{ . | lower }}">{{ . }}</a></li> {{- end }} </ul> {{ .Content }} diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html index c4876a9..4ce7822 100644 --- a/layouts/recipes/single.html +++ b/layouts/recipes/single.html @@ -5,10 +5,10 @@ {{ define "main" }} <article> <header> - <h1>{{ .Title }}</h1> + <h1 class="p-name">{{ .Title }}</h1> <ul class="taglist"> {{- range sort .Params.tags }} - <li><a class="tag" href="/tags/{{ . | lower }}">{{ . }}</a></li> + <li><a class="p-category tag" href="/tags/{{ . | lower }}">{{ . }}</a></li> {{- end }} </ul> {{- if .Draft }} @@ -28,7 +28,7 @@ </section> {{- end }} </header> - <main> + <main class="e-content"> {{ .Content }} <table> <tbody> |