_common include file for themes

[ === HtmlHead === ]
<!DOCTYPE html>
<html 
	dir="[ ' dir ' ]" 
	lang="[ ' lang ' ]" 
	data-theme="[ ' mode ' ]"
	[= user _ =
		data-zenmode="[ ' zenmode ' ]"
		data-widescreen="[ ' widescreen ' ]"
	=]
	[= doubleclick _ =
		data-edit-url="[ ' href | e ' ]" 
		data-base-path="[ ' db: base_path | e ' ]"
	=]
	>
<head>
	<meta charset="utf-8">
	<title>[ ' title | e ' ][ ' tag ' ][ ' method | enclose " (" ")" ' ] - [ ' db: site_name | e ' ]</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	[= theme _ =
		<meta name="theme-color" content="[ ' color | e ' ]">
	=]
	[= norobots _ =
		[ ' nonstatic // dummy to make pattern non-static ' ]
		<meta name="robots" content="noindex, nofollow">
	=]
	[= page _ =
		<meta name="keywords" content="[ ' keywords | e ' ]">
		<meta name="description" content="[ ' description | e ' ]">
	=]
	<meta name="language" content="[ ' lang ' ]">
	<link rel="stylesheet" href="[ ' db: theme_url ' ]css/default.css">
	<link rel="stylesheet" href="[ ' db: theme_url ' ]css/wacko.css">
	[= x11 _ =
		<link rel="stylesheet" href="[ ' colors ' ]">
	=]
	<link rel="stylesheet" media="print" href="[ ' db: theme_url ' ]css/print.css">
	<link rel="icon" href="[ ' favicon ' ]" type="image/x-icon">
	<link rel="start" title="[ ' db: root_page ' ]" href="[ ' db: base_path ' ]">
	[= index _ =
		<link rel="canonical" href="[ ' canonical ' ]">
	=]
	[= license _ =
		<link rel="license" href="[ ' href ' ]">
	=]
	[= os _ =
		<link rel="search" type="application/opensearchdescription+xml" title="[ ' db: site_name | e ' ]" href="[ ' href ' ]opensearch.xml">
	=]
	[= rss _ =
		<link rel="alternate" type="application/rss+xml" title="[ ' _t: ChangesFeed ' ]" href="[ ' url.0 ' ]changes[ ' url.1 ' ]">
		<link rel="alternate" type="application/rss+xml" title="[ ' _t: CommentsFeed ' ]" href="[ ' url.0 ' ]comments[ ' url.1 ' ]">
		[= news _ =
			<link rel="alternate" type="application/rss+xml" title="[ ' _t: NewsFeed ' ]" href="[ ' url.0 ' ]news[ ' url.1 ' ]">
		=]
		[= revisions _ =
			<link rel="alternate" type="application/rss+xml" title="[ ' _t: RevisionsFeed ' ][ ' tag ' ]" href="[ ' href ' ]">
		=]
	=]
	[ ' bb2 | ' ]
	<script src="[ ' db: base_path ' ]js/core/default.js"[ ' db: csp_nonce ' ] defer></script>
	[= edit _ =
		<link rel="stylesheet" href="[ ' db: theme_url ' ]css/wikiedit.css">
		[ '' // autocomplete.js, protoedit & wikiedit.js contain classes for WikiEdit editor. We may include them only on method==edit pages. '' ]
		<script src="[ ' db: base_path ' ]js/core/helpers.js"[ ' db: csp_nonce ' ]></script>
		<script src="[ ' db: base_path ' ]js/lang/wikiedit.[ ' lang | e ' ].js"[ ' db: csp_nonce ' ]></script>
		<script type="module" src="[ ' db: base_path ' ]js/main.js"[ ' db: csp_nonce ' ]></script>
		[= ac _ =
			<script src="[ ' db: base_path ' ]js/editor/autocomplete.js"[ ' db: csp_nonce ' ]></script>
		=]
	=]
	[ ' additions ' ]
</head>
