package main // marginaliaComponent renders the marginalia rail. When there are zero notes // the block renders an empty container so the master-page slot still has a // stable hook point in the DOM (the UAT looks for the data-block attribute). templ marginaliaComponent(data MarginaliaData) {
if len(data.Notes) > 0 { for _, note := range data.Notes { } } else { }
}