7
0
Fork 0

Optimalisatie: caching van de header

This commit is contained in:
Michael Boelen 2023-05-07 19:48:04 +02:00
parent b127fab627
commit 495589f4d6

View file

@ -6,7 +6,7 @@
<a class="skip-link" href="#main">Ga naar hoofd</a> <a class="skip-link" href="#main">Ga naar hoofd</a>
<main id="main"> <main id="main">
<div class="content"> <div class="content">
{{ partial "header.html" . }} {{ partialCached "header.html" . }}
<section> <section>
<!-- <h2 class="post">{{ .Title }}</h2> --> <!-- <h2 class="post">{{ .Title }}</h2> -->
{{- block "main" . }} {{- block "main" . }}