Commit 10cf48c4 authored by Kaushal Modi's avatar Kaushal Modi

Use data tags instead of hidden links and p tags

- data tags *need* closing tags
parent 0f371f0f
......@@ -5,7 +5,7 @@
<div class="h-feed">
<!-- To complete the h-feed meta-data -->
<a class="u-url hide" href="{{ .Permalink }}"></a>
<data class="u-url" value="{{ .Permalink }}"></data>
{{ partial "author.html" . }}
{{ if (eq .File.Path "") }} <!-- Regular section -->
......@@ -31,7 +31,7 @@
<div class="h-feed">
<!-- To complete the h-feed meta-data -->
<a class="u-url hide" href="{{ .Permalink }}"></a>
<data class="u-url" value="{{ .Permalink }}"></data>
{{ partial "author.html" . }}
<!-- If the page is /tags/foo/, .Data.Plural = "tags", .Data.Term = "foo" -->
......
......@@ -13,7 +13,7 @@
<h1 class="post-title p-name">{{ .Title }}</h1>
<!-- To complete the h-entry meta-data as per https://indiewebify.me/validate-h-entry/ -->
<a class="u-url hide" href="{{ .Permalink }}"></a>
<data class="u-url" value="{{ .Permalink }}"></data>
<div class="date-syndication">
{{ partial "date-maybe.html" . }}
......
......@@ -3,9 +3,9 @@
<div class="posts h-feed">
<!-- To complete the h-feed meta-data -->
<a class="u-url hide" href="{{ .Permalink }}"></a>
<data class="u-url" value="{{ .Permalink }}"></data>
{{ partial "author.html" . }}
<p class="p-name hide">{{ .Title }} Homepage</p>
<data class="p-name" value="{{ .Title }}"></data>
<!-- http://justindunham.net/blog-bells-and-whistles-in-hugo/ -->
{{ range where (.Paginator 10).Pages "Type" "in" .Site.Params.mainSections }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment