1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-15 08:00:40 +08:00

improve website

This commit is contained in:
wsdjeg 2017-02-07 01:06:43 +08:00
parent 6c0183dd80
commit ce914dc11c

View File

@ -1,67 +1,73 @@
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1"> <meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title> <title>{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title>
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"> <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="{{ '/assets/js/respond.js' | relative_url }}"></script> <script src="{{ '/assets/js/respond.js' | relative_url }}"></script>
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]--> <![endif]-->
<!--[if lt IE 8]> <!--[if lt IE 8]>
<link rel="stylesheet" href="{{ '/assets/css/ie.css' | relative_url }}"> <link rel="stylesheet" href="{{ '/assets/css/ie.css' | relative_url }}">
<![endif]--> <![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
</head> </head>
<body> <body>
<div id="header"> <div id="header">
<nav> <nav>
<li class="fork"><a href="{{ site.project_repo_url }}">View On GitHub</a></li> <li class="fork"><a href="{{ site.project_repo_url }}">View On GitHub</a></li>
{% if site.show_downloads %} {% if site.show_downloads %}
<li class="downloads"><a href="{{ site.github.zip_url }}">ZIP</a></li> <li class="downloads"><a href="{{ site.github.zip_url }}">ZIP</a></li>
<li class="downloads"><a href="{{ site.github.tar_url }}">TAR</a></li> <li class="downloads"><a href="{{ site.github.tar_url }}">TAR</a></li>
<li class="title">DOWNLOADS</li> <li class="title">DOWNLOADS</li>
{% endif %} {% endif %}
</nav> </nav>
</div><!-- end header --> </div><!-- end header -->
<div class="wrapper"> <div class="wrapper">
<section>
<div id="title">
<h1>{{ site.title | default: site.github.repository_name }}</h1>
<p>{{ site.description | default: site.github.project_tagline }}</p>
<hr>
<p align="center">
<b><a href="https://spacevim.org">Home</a></b> |
<b><a href="https://spacevim.org/about">about</a></b> |
<b><a href="https://spacevim.org">Development</a></b> |
<b><a href="https://spacevim.org">Community</a></b> |
<b><a href="https://spacevim.org">Documentation</a></b> |
<b><a href="https://spacevim.org">Sponsors</a></b> |
</p>
<hr>
</div>
{{ content }}
</section>
<section>
<div id="title">
<h1>{{ site.title | default: site.github.repository_name }}</h1>
<p>{{ site.description | default: site.github.project_tagline }}</p>
<hr>
<p align="center">
<b><a href="https://spacevim.org">Home</a></b> |
<b><a href="https://spacevim.org/about">about</a></b> |
</p>
<hr>
</div> </div>
{{ content }} {% if site.google_analytics %}
<script type="text/javascript">
</section> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</div> </script>
<script type="text/javascript">
{% if site.google_analytics %} try {
<script type="text/javascript"> var pageTracker = _gat._getTracker("{{ site.google_analytics }}");
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); pageTracker._trackPageview();
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); } catch(err) {}
</script> </script>
<script type="text/javascript"> {% endif %}
try { </body>
var pageTracker = _gat._getTracker("{{ site.google_analytics }}"); <root>
pageTracker._trackPageview(); <p align="center">
} catch(err) {} <span class="credits right">Hosted on GitHub &mdash; Theme by <a href="https://twitter.com/michigangraham">mattgraham</a></span>
</script> </p>
{% endif %} </root>
</body>
<root>
<span class="credits right">Hosted on GitHub &mdash; Theme by <a href="https://twitter.com/michigangraham">mattgraham</a></span>
</root>
</html> </html>