Website/_layouts/default.html

54 lines
2.4 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>{% if page.title %}{{ page.title}} | {% endif %}{{ site.title | default: site.github.repository_name }}</title>
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<link rel="shortcut icon" type="image/svg+xml" href="{{ '/favicon.svg' | relative_url }}" sizes="any">
<link rel="icon" type="image/png" href="{{ '/favicon.png' | relative_url }}" sizes="32x32">
<link rel="apple-touch-icon" href="{{ '/apple-touch-icon.png' | relative_url }}" sizes="180x180">
<meta name="viewport" content="width=device-width">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="wrapper">
<header>
<img src="{{ '/iR.svg' | relative_url }}" width="100%"></img>
<!-- <h1>{{ site.title | default: site.github.repository_name }}</h1> -->
<p>{{ site.description | default: site.github.project_tagline }}</p>
{% if site.github.is_user_page and false %}
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
{% endif %}
{% if site.show_downloads %}
<ul>
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
</ul>
{% endif %}
{% for link in site.data.links %}
<p class="view"><a href="{{link.url | relative_url }}">{{link.title}}</a></p>
{% endfor %}
</header>
<section>
{% if page.title %}<h1>{{page.title}}</h1>{% endif %}
{{ content }}
</section>
<footer>
{% if site.github.is_project_page %}
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
{% endif %}
<p><small>{% if site.github %}Hosted on GitHub Pages &mdash; {% endif %}Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
</footer>
</div>
<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
</body>
</html>