Files
cwsvJudo/homepage/redesign2018/markdownExperiment/pandocTemplate/cwsvJudo.html5.pandocTemplate

264 lines
7.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/// Einbinden der Konfiguration, insbesondere Basisvariablen,
/// relative Pfadangabe
/// - jedes Verzeichnis sollte seine eigene haben
/// - theoretisch sollte es bereits von der aufrufenden Datei
/// eingebunden sein
require_once("./config.inc.php");
require_once($$basePath."/config/phpcount.config.php");
require_once($$basePath."/config/cwsvJudo.config.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/miscAssis.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsLib.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/wkKalender.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galTable.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsTableHtml.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsLib.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galleryRedirector.php");
require_once($$basePath."/ressourcen/phpLib/phpcount/phpcount.php");
galleryRedirector();
$if(phpTitleString)$
PHPCount::AddHit($phpTitleString$);?>
$else$
PHPCount::AddHit("$title$");?>
$endif$
<!DOCTYPE html>
<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
$for(author-meta)$
<meta name="author" content="$author-meta$">
$endfor$
$if(date-meta)$
<meta name="dcterms.date" content="$date-meta$">
$endif$
$if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
$if(canonicalLink)$
<link rel="canonical" href="$canonicalLink$" />
$endif$
$if(ampVersionLink)$
<link rel="amphtml" href="$ampVersionLink$" />
$endif$
$if(phpTitleString)$
<title><?php echo( $phpTitleString$ );?></title>
$else$$if(title)$
<title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title>
$endif$$endif$
$if(phpDescriptionString)$
<meta name="description" content="<?php echo( $phpDescriptionString$ );?>" />
$else$$if(description)$
<meta name="description" content="$description$" />
$endif$$endif$
$if(css)$
<style>
$for(css)$
<?php include_once( $$basePath."/$css$" );?>
$endfor$
</style>
$endif$
<style>code{white-space: pre;}</style>
$if(quotes)$
<style>
q { quotes: "“" "”" "" ""; }
</style>
$endif$
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$
</style>
$endif$
$for(extraCss)$
<link rel="stylesheet" href="$extraCss$">
$endfor$
$if(math)$
$math$
$endif$
<script type='application/ld+json'>
{
"@context": "http://www.schema.org",
"@type": "WebSite",
$if(phpTitleString)$
"name": "<?php echo( $phpTitleString$ );?>",
$else$
"name": "$title$",
$endif$
"alternateName": "$description$",
$if(canonicalLink)$
"url": "$canonicalLink$",
$else$
"url": "http://cwsvjudo.bplaced.net",
$endif$
"image": "http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.256w.png"
}
</script>
$if(jsonSdFiles)$
$for(jsonSdFiles)$
<script type='application/ld+json'>
<?php include($$basePath."/ressourcen/structuredData/json/$jsonSdFiles$");?>
</script>
$endfor$
$endif$
$if(jsLibs)$
$for(jsLibs)$
<script src="$jsLibs$" type="text/javascript"></script>
$endfor$
$endif$
<link rel="alternate" type="application/rss+xml" href="/rss">
<?php require_once($$basePath."/pages/shared/favicon.html.inc");?>
$for(header-includes)$
$header-includes$
$endfor$
</head>
<body>
<!-- Kopfzeile mit Titel, Promobildern und Breadcrumbs -->
<header class="cwsvHeader">
<img
width="200" height="140"
title="Judo im Chemnitzer WSV" alt="Judo im Chemnitzer WSV - Promo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/banner/bannerlogo.1.jpg"
/>
<span>
<span>Judo</span>
<span><?php $$zitat = getRandomCite( getCwsvJudoDbConn() ); echo($$zitat['zitat']);?></span>
</span>
<img
width="128" height="104"
title="Judo im Chemnitzer WSV"
alt="Judo im Chemnitzer WSV - Logo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.128w.png"
srcset="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png 2x"
/>
</header>
$if(mainNav)$
<nav id="mainNav">
$for(mainNav)$
<a href="$mainNav.url$"
$if(mainNav.caption)$title="$mainNav.caption$" $endif$
$if(mainNav.active)$class="activeNav" $endif$
>
$if(mainNav.icon)$
<span><img
src="$if(mainNav.icon.src)$$mainNav.icon.src$$else$$mainNav.icon$$endif$"
$if(mainNav.caption)$
alt="$mainNav.caption$"
$else$
$if(mainNav.icon.alt)$
alt="$mainNav.icon.alt$"
$endif$
$endif$
$if(mainNav.icon.width)$
width="$mainNav.icon.width$"
$endif$
$if(mainNav.icon.height)$
height="$mainNav.icon.height$"
$endif$
$if(mainNav.icon.title)$
title="$mainNav.icon.title$"
$endif$
$if(mainNav.icon.srcset)$
srcset="$mainNav.icon.srcset$"
$endif$
/>
</span>
$endif$
$if(mainNav.caption)$<span>$mainNav.caption$</span>$endif$
</a>
$endfor$
</nav>
$endif$
$if(subNav)$
<nav class="subNav">
$for(subNav)$
<a href="$subNav.url$"
$if(subNav.caption)$title="$subNav.caption$" $endif$
$if(subNav.active)$class="activeNav" $endif$
>
$if(subNav.icon)$
<img
src="$if(subNav.icon.src)$$subNav.icon.src$$else$$subNav.icon$$endif$"
$if(subNav.caption)$
alt="$subNav.caption$"
$else$
$if(subNav.icon.alt)$
alt="$subNav.icon.alt$"
$endif$
$endif$
$if(subNav.icon.width)$
width="$subNav.icon.width$"
$endif$
$if(subNav.icon.height)$
height="$subNav.icon.height$"
$endif$
$if(subNav.icon.title)$
title="$subNav.icon.title$"
$endif$
$if(subNav.icon.srcset)$
srcset="$subNav.icon.srcset$"
$endif$
/>
$endif$
$if(subNav.caption)$<span>$subNav.caption$</span>$endif$
</a>
$endfor$
<a href="#mainNav"
title="Hauptnavigation"
>
<img src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/icons/arrowRightDown.svg" alt="Menü" />
<span>zur Hauptnavigation</span>
</a>
</nav>
$endif$
$for(include-before)$
$include-before$
$endfor$
$if(toc)$
<nav id="$idprefix$TOC">
$toc$
</nav>
$endif$
<main id="content">
$body$
</main>
<aside class="sideNotes"><?php include_once( $$basePath."/pages/shared/sponsorlist.inc.html" );?></aside>
<footer class="footerBar">
<a class="touchLink"
title="Seite auf HTML 5 Konformität prüfen"
href="http://validator.w3.org/check?uri=<?php echo(urlencode(getCurPagesUrl()));?>"
rel="nofollow"
>Valid <img
src="/ressourcen/graphiken/icons/HTML5_1Color_Black.svg"
alt="HTML 5"
title="HTML 5 Logo"
class="charImg">
</a>
<a class="touchLink" title="Möglichkeiten mit dem Chemnitzer Freizeit- und Wohngebietssportverein in Kontakt zu treten" href="/kontakt" >Kontakt</a>
<a class="touchLink" title="Impressum" href="<?php echo($$baseUrl);?>/impressum" >Impressum</a>
<a class="touchLink" title="Datenschutz" href="<?php echo($$baseUrl);?>/datenschutz" >Datenschutz</a>
<a class="touchLink"
title="News-Feed Abonnieren"
href="http://cwsvjudo.bplaced.net/rss"
><img
src="/ressourcen/graphiken/icons/newsFeedIcon.svg"
alt="Newsfeed"
title="News Feed Icon"
class="charImg">
</a>
</footer>
$for(include-after)$
$include-after$
$endfor$
</body>
</html>