- dynamischer Titel hinzugefügt

- jsonStructData für jede einzelne Website
- kanonische Links im Wettkampfkalender korrigiert und erweitert

Changes to be committed:
	modified:   pandocTemplate/cwsvJudo.html5.pandocTemplate
	modified:   phpLib/cwsvJudo/wkKalender.php
	modified:   src/md/wkKalender.md
This commit is contained in:
marko
2018-08-22 11:06:38 +02:00
parent 9fb89a5656
commit 3a5513acd7
3 changed files with 15 additions and 8 deletions

View File

@@ -5,7 +5,6 @@
/// - theoretisch sollte es bereits von der aufrufenden Datei
/// eingebunden sein
require_once("./config.inc.php");
// include_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");
@@ -46,8 +45,8 @@ $endif$
$if(ampVersionLink)$
<link rel="amphtml" href="$ampVersionLink$" />
$endif$
$if(phpTitleFunction)$
<title><?php $phpTitleFunction$();?></title>
$if(phpTitleString)$
<title><?php echo( $phpTitleString$ );?></title>
$else$
<title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title>
$endif$
@@ -79,9 +78,17 @@ $endif$
{
"@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>