Create default.html
This commit is contained in:
parent
650c31f2ac
commit
35314b05ce
51
_layouts/default.html
Normal file
51
_layouts/default.html
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="{{ site.lang | default: "en-US" }}">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
|
||||||
|
{% seo %}
|
||||||
|
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
||||||
|
<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
{% include head-custom.html %}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<header>
|
||||||
|
<h1 class="header">My Blog</h1>
|
||||||
|
<p class="header">List of all my blog posts</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
{% if site.show_downloads %}
|
||||||
|
<li class="download"><a class="buttons" href="{{ site.github.zip_url }}">Download ZIP</a></li>
|
||||||
|
<li class="download"><a class="buttons" href="{{ site.github.tar_url }}">Download TAR</a></li>
|
||||||
|
{% endif %}
|
||||||
|
<li><a class="buttons github" href="{{ site.github.repository_url }}">View On GitHub</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
{% if site.github.is_project_page %}
|
||||||
|
<p class="header">This blog is maintained by <a class="header name" href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if site.github.is_user_page %}
|
||||||
|
<ul>
|
||||||
|
<li><a class="buttons github" href="{{ site.github.owner_url }}">GitHub Profile</a></li>
|
||||||
|
</ul>
|
||||||
|
{% endif %}
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
{{ content }}
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<p><small>Hosted on <a href="https://pages.github.com">GitHub Pages</a> using the Dinky theme</small></p>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user