I’m encountering an issue with meta tags in my HTML template. My code was previously working fine, but now the meta tags are showing errors, and I’m not sure what’s causing it. Here’s a snippet of my template:
{{ define "DevicePage" }}
<!DOCTYPE html>
<html lang="tr">
{{ template "PublicHead" }}
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kullanıcı Yönetimi</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/bootstrap.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/css/iziToast.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/5.11.3/main.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/main.min.css" rel="stylesheet">
</head>
The errors appear under the tags, specifically and . This started happening across multiple pages, and I haven’t changed anything in the meta tags themselves.
I’m using this template with a Go backend, which includes parts like {{ define “DevicePage” }} and {{ template “PublicHead” }}. I’ve tried restarting my IDE and checking the syntax, but the errors persist.
Has anyone experienced similar issues, or does anyone have any ideas on what could be causing this?
screenshot of the error