summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-03-24 11:33:09 +0100
committerJonas Smedegaard <dr@jones.dk>2021-03-24 11:33:09 +0100
commit5e01dddacf7ac48fd5f044dad1b7848b5d5705d8 (patch)
treef573a7ec7f43d8bc190c96fc9af2445919787547
parentf4dc912faee46cf8e73e97333194670961a81b7b (diff)
parentdac4d3e4ff64c3c1e38e614048f8eb53dc7b1d00 (diff)
Merge branch 'couchdesign/bullseye' into couchdesign/bullseye-da
-rw-r--r--branding.tmpl12
-rw-r--r--page.tmpl74
2 files changed, 63 insertions, 23 deletions
diff --git a/branding.tmpl b/branding.tmpl
new file mode 100644
index 0000000..86b8550
--- /dev/null
+++ b/branding.tmpl
@@ -0,0 +1,12 @@
+<div class="branding-logo">
+<TMPL_IF NAME="LOGO">
+<a href="<TMPL_VAR BASEURL>"><img src="<TMPL_VAR BASEURL><TMPL_VAR NAME=LOGO>" alt="<TMPL_VAR NAME=TEXT>" /></a>
+<TMPL_ELSE>
+<a href="<TMPL_VAR BASEURL>"><TMPL_VAR NAME=TEXT></a>
+</TMPL_IF>
+</div>
+<TMPL_IF NAME="TAGLINE">
+<div class="branding-tagline">
+<a href="<TMPL_VAR BASEURL>"><TMPL_VAR NAME=TAGLINE></a>
+</div>
+</TMPL_IF>
diff --git a/page.tmpl b/page.tmpl
index 9516ce3..fac47ea 100644
--- a/page.tmpl
+++ b/page.tmpl
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<TMPL_IF HTML_LANG_CODE><html lang="<TMPL_VAR HTML_LANG_CODE>" dir="<TMPL_VAR HTML_LANG_DIR>" xmlns="http://www.w3.org/1999/xhtml"><TMPL_ELSE><html xmlns="http://www.w3.org/1999/xhtml"></TMPL_IF>
+<TMPL_IF HTML_LANG_CODE><html class="no-js" lang="<TMPL_VAR HTML_LANG_CODE>" dir="<TMPL_VAR HTML_LANG_DIR>" xmlns="http://www.w3.org/1999/xhtml"><TMPL_ELSE><html class="no-js" xmlns="http://www.w3.org/1999/xhtml"></TMPL_IF>
<head>
<TMPL_IF DYNAMIC>
<TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
@@ -25,7 +25,6 @@
</TMPL_IF>
<TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF>
<TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
-<TMPL_IF META><TMPL_VAR META></TMPL_IF>
<TMPL_LOOP TRAILLOOP>
<TMPL_IF PREVPAGE>
<link rel="prev" href="<TMPL_VAR PREVURL>" title="<TMPL_VAR PREVTITLE>" />
@@ -37,12 +36,21 @@
</TMPL_LOOP>
</TMPL_UNLESS>
+<script src="<TMPL_VAR BASEURL>modernizr.js"></script>
+<TMPL_IF META><TMPL_VAR META></TMPL_IF>
</head>
<body>
<TMPL_IF HTML5><article class="page"><TMPL_ELSE><div class="page"></TMPL_IF>
<TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF>
+
+<TMPL_IF BRANDING>
+<div class="branding">
+<TMPL_VAR BRANDING>
+</div>
+</TMPL_IF>
+
<TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
<span>
<span class="parentlinks">
@@ -98,23 +106,6 @@
<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
-<TMPL_IF OTHERLANGUAGES>
-<TMPL_IF HTML5><nav id="otherlanguages"><TMPL_ELSE><div id="otherlanguages"></TMPL_IF>
-<ul>
-<TMPL_LOOP OTHERLANGUAGES>
-<li>
-<a href="<TMPL_VAR URL>"><TMPL_VAR LANGUAGE></a>
-<TMPL_IF MASTER>
-(master)
-<TMPL_ELSE>
-&nbsp;(<TMPL_VAR PERCENT>%)
-</TMPL_IF>
-</li>
-</TMPL_LOOP>
-</ul>
-<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
-</TMPL_IF>
-
<TMPL_UNLESS DYNAMIC>
<TMPL_VAR TRAILS>
</TMPL_UNLESS>
@@ -122,10 +113,10 @@
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
<TMPL_UNLESS DYNAMIC>
-<TMPL_IF SIDEBAR>
-<TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF>
-<TMPL_VAR SIDEBAR>
-<TMPL_IF HTML5></aside><TMPL_ELSE></div></TMPL_IF>
+<TMPL_IF TOPBAR>
+<div class="topbar">
+<TMPL_VAR TOPBAR>
+</div>
</TMPL_IF>
</TMPL_UNLESS>
@@ -158,6 +149,20 @@
</div>
+<TMPL_UNLESS DYNAMIC>
+<TMPL_IF SIDEBAR>
+<TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF>
+<TMPL_VAR SIDEBAR>
+<TMPL_IF HTML5></aside><TMPL_ELSE></div></TMPL_IF>
+</TMPL_IF>
+
+<TMPL_IF FARBAR>
+<TMPL_IF HTML5><aside class="farbar"><TMPL_ELSE><div class="farbar"></TMPL_IF>
+<TMPL_VAR FARBAR>
+<TMPL_IF HTML5></aside><TMPL_ELSE></div></TMPL_IF>
+</TMPL_IF>
+</TMPL_UNLESS>
+
<TMPL_IF HTML5><footer<TMPL_ELSE><div</TMPL_IF> id="footer" class="pagefooter" role="contentinfo">
<TMPL_UNLESS DYNAMIC>
<TMPL_IF HTML5><nav id="pageinfo"><TMPL_ELSE><div id="pageinfo"></TMPL_IF>
@@ -191,6 +196,23 @@ Henvisninger:
<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
+<TMPL_IF OTHERLANGUAGES>
+<TMPL_IF HTML5><nav id="otherlanguages"><TMPL_ELSE><div id="otherlanguages"></TMPL_IF>
+<ul>
+<TMPL_LOOP OTHERLANGUAGES>
+<li>
+<a href="<TMPL_VAR URL>"><TMPL_VAR LANGUAGE></a>
+<TMPL_IF MASTER>
+(master)
+<TMPL_ELSE>
+&nbsp;(<TMPL_VAR PERCENT>%)
+</TMPL_IF>
+</li>
+</TMPL_LOOP>
+</ul>
+<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
+</TMPL_IF>
+
<TMPL_IF COPYRIGHT>
<div class="pagecopyright">
<a name="pagecopyright"></a>
@@ -205,6 +227,12 @@ Licens: <TMPL_VAR LICENSE>
</div>
</TMPL_IF>
+<TMPL_IF FOOTER>
+<div class="footer">
+<TMPL_VAR FOOTER>
+</div>
+</TMPL_IF>
+
<div class="pagedate">
Senest redigeret <TMPL_VAR MTIME>
<!-- Oprettet <TMPL_VAR CTIME> -->