Selaa lähdekoodia

Add microformats to index page

Bee Hudson 1 vuosi sitten
vanhempi
säilyke
96045b26dc
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4 4
      layouts/index.html

+ 4 - 4
layouts/index.html

@@ -2,14 +2,14 @@
 {{ define "main" }}
 	{{- partial "about.html" . -}}
 	<section class="grid grid-cols-1 lg:grid-cols-2 gap-4">
-		<section id="blog-posts" class="panel my-2">
-			<h1 class="mb-4"><a href="/blog/">Blog Posts</a></h1>
+		<section id="blog-posts" class="panel h-feed">
+			<h1 class="mb-4"><a href="/blog/" class="p-name">Recent Blog Posts</a></h1>
 			{{ range first 3 (where .Site.RegularPages "Section" "blog") }}
 			{{ partial "entrypanel.html" . }}
 			{{ end }}
 		</section>
-		<section id="project-posts" class="panel my-2">
-			<h1 class="mb-4"><a href="/projects/">Featured Projects</a></h1>
+		<section id="project-posts" class="panel h-feed">
+			<h1 class="mb-4"><a href="/projects/" class="p-name">Featured Projects</a></h1>
 			{{ range first 3 (where .Site.RegularPages "Section" "projects") }}
 			{{partial "entrypanel.html" . }}
 			{{ end }}