From e9f5e0cab55a8a92575139788ffb003ed5d4f576 Mon Sep 17 00:00:00 2001 From: r Date: Sun, 23 Feb 2020 13:26:39 +0000 Subject: Use element to set target --- templates/header.tmpl | 3 +++ templates/nav.tmpl | 16 ++++++++-------- templates/notification.tmpl | 12 ++++++------ templates/postform.tmpl | 2 +- templates/status.tmpl | 38 +++++++++++++++++++------------------- 5 files changed, 37 insertions(+), 34 deletions(-) (limited to 'templates') diff --git a/templates/header.tmpl b/templates/header.tmpl index 76831f2..ca2986d 100644 --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -4,6 +4,9 @@ + {{if .Target}} + + {{end}} {{if .CSRFToken}} {{end}} diff --git a/templates/nav.tmpl b/templates/nav.tmpl index 620643e..8922ba7 100644 --- a/templates/nav.tmpl +++ b/templates/nav.tmpl @@ -2,24 +2,24 @@ {{template "header.tmpl" (WithContext .CommonData $.Ctx)}}