Difference between revisions of "Design.rythm"
Jump to navigation
Jump to search
Line 36: | Line 36: | ||
<article>@(content)</article> | <article>@(content)</article> | ||
</main> | </main> | ||
− | @footer() | + | @footer(languageCode) |
</source> | </source> |
Revision as of 16:45, 3 November 2017
Links
Source
@// Rythm template for the WikiCMS approach
@include(wiki.MediaWiki.Bootstrap.rythm)
@include(wiki.MediaWiki.BITPlan.rythm)
@header(languageCode,title)
@bootstrap()
<script src="http://io.bitplan.com/js/tagcanvas.min.js" type="text/javascript"></script>
@style()
</head>
<body>
<header>
@if ("de".equals(languageCode)) {
<a class='logo' href='http://training.bitplan.com/index.php/Willkommen'>
<img src='http://wiki.bitplan.com/images/wiki/7/7a/BITPlanLogo2012FontLess.svg' width='100%'>
</a>
<nav>
<a href='http://training.bitplan.com/index.php/Trainings'>Trainings</a>
<a href='http://www.bitplan.com/index.php/Leistungen'>Leistungen</a>
<a href='http://www.bitplan.com/index.php/Kontakt'>Kontakt</a>
</nav>
} else {
<a class='logo' href='http://training.bitplan.com/index.php/Welcome'>
<img src='http://wiki.bitplan.com/images/wiki/7/7a/BITPlanLogo2012FontLess.svg' width='100%'>
</a>
<nav>
<a href='http://training.bitplan.com/index.php/Trainings/en'>Trainings</a>
<a href='http://www.bitplan.com/index.php/Services'>Services</a>
<a href='http://www.bitplan.com/index.php/Contact'>Contact</a>
</nav>
}
</header>
<main>
<article>@(content)</article>
</main>
@footer(languageCode)