_layouts/base.html (46 lines of code) (raw):
<!DOCTYPE html>
<html>
<head>
<title>{{ page.title }}{% if page.url != '/' %} | {{ site.title }}{% endif %}</title>
<script id="adobe_dtm" src="//www.redhat.com/dtm.js" type="text/javascript"></script>
<meta http-equiv="X-Frame-Options" content="deny">
<meta http-equiv="X-Content-Type-Options" content="nosniff">
<meta http-equiv='X-XSS-Protection' content="1; mode=block">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
<link rel="shortcut icon" type="image/png" href="{{ "/favicon.ico" | prepend: site.baseurl }}" >
<link href="{{ '/assets/css/main.css' | relative_url }}?{{site.time | date: '%s%N'}}" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-157945096-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-157945096-1');
</script>
</head>
<body class="{% if page.url == '/' %}homepage{% else %}{{page.layout}}{% endif %}">
{% include header-navigation.html %}
<div class="content">
{{ content }}
</div>
{% include project-footer.html %}
{% include redhat-footer.html %}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="{{ '/assets/javascript/mobile-nav.js' | relative_url }}"></script>
<script type="text/javascript">
if (("undefined" !== typeof _satellite) && ("function" === typeof _satellite.pageBottom)) {
_satellite.pageBottom();
}
</script>
<script>
const response = fetch('https://api.github.com/repos/apache/incubator-kie-kogito-runtimes/tags?page=1&per_page=1');
response.then(r => {
r.json().then(latestTag => {
document.getElementById('latestVersion').innerHTML = `Latest updates (${latestTag[0].name})`;
});
});
</script>
</body>
</html>