Skip to content

Commit

Permalink
Add accessibility link.
Browse files Browse the repository at this point in the history
  • Loading branch information
tompollard committed Sep 23, 2024
1 parent 6b2a1dc commit e9fcc4f
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">

<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,maximum-scale=2">
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">

<!-- custom header -->
{% include head.html %}
{% seo %}
</head>

<body>

<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>

<a href="{{ site.github.url }}"><h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1></a>
<a href="{{ site.github.url }}"><h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2></a>

{% if site.show_downloads %}
<section id="downloads">
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
</section>
{% endif %}
</header>
</div>

<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<div class="toc_table">
<div class="toc_table_title">
This page's table of contents [<a href={{ site.github.url }}>Documentation home</a>]
</div>
{% include toc.html html=content %}
</div>
{{ content }}
</section>
</div>

<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p>Created by the MIT Laboratory for Computational Physiology.
For accessibility options, see the <a href="https://accessibility.mit.edu/" target="_blank" rel="noopener noreferrer" aria-label="Visit MIT Accessibility Page">
MIT Accessibility Page</a>.</p>
</footer>
</div>

{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</body>
</html>

0 comments on commit e9fcc4f

Please sign in to comment.