1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:40:04 +08:00
SpaceVim/docs/_layouts/default.html

109 lines
3.9 KiB
HTML
Raw Normal View History

2020-02-24 11:12:51 +08:00
<!DOCTYPE html>
2020-05-17 09:55:56 +08:00
<html
2020-05-17 10:15:45 +08:00
lang="{{ page.lang | default: site.lang }}"
2020-05-17 10:23:17 +08:00
xmlns="http://www.w3.org/1999/xhtml"
2020-05-17 09:55:56 +08:00
xmlns:og="http://ogp.me/ns#"
xmlns:fb="http://www.facebook.com/2008/fbml"
>
2020-02-24 11:12:51 +08:00
<head>
2021-01-05 21:06:21 +08:00
<meta charset="utf-8" />
2020-02-24 11:12:51 +08:00
<title>{{ page.title }} | SpaceVim</title>
<meta name="author" content="Eric Wong" />
2020-05-17 11:57:47 +08:00
<meta name="description" content="{{ page.description }}" />
2020-05-17 14:08:03 +08:00
{% if page.type %}
2022-04-20 23:40:20 +08:00
<meta property="og:type" content="{{ page.type }}" />
2020-05-17 14:08:03 +08:00
{% else %}
<meta property="og:type" content="webpage" />
{% endif %}
2020-05-17 10:32:36 +08:00
<meta property="og:title" content="{{ page.title }} | SpaceVim" />
<meta property="og:description" content="{{ page.description }}" />
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
2020-05-17 11:49:34 +08:00
<meta
property="og:image"
content="{{ page.image | default: site.image }}"
/>
2020-05-17 11:57:47 +08:00
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@SpaceVim" />
<meta name="twitter:creator" content="@wsdtty" />
2020-05-17 11:49:34 +08:00
<meta
name="twitter:image:src"
content="{{ page.image | default: site.image }}"
/>
<meta name="twitter:title" content="{{ page.title }} | SpaceVim" />
<meta name="twitter:description" content="{{ page.description }}" />
2020-02-24 11:12:51 +08:00
<script
defer
src="https://use.fontawesome.com/releases/v5.7.2/js/all.js"
></script>
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}" />
<script src="{{ '/assets/js/respond.js' | relative_url }}"></script>
2024-06-09 15:01:48 +08:00
<script src="{{ '/assets/js/codeCopy.js' | relative_url }}"></script>
2023-09-25 19:25:00 +08:00
<script src="{{ '/assets/js/jquery.1.7.1.min.js' | relative_url }}"></script>
2022-04-20 23:40:20 +08:00
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2020-02-24 11:12:51 +08:00
</head>
2017-09-22 22:35:43 +08:00
2020-02-24 11:12:51 +08:00
<body>
<div class="wrapper">
<section>
<div id="titlex">
<p align="center">
{{ site.title | default: site.github.repository_name }}
</p>
</div>
2019-10-04 14:13:51 +08:00
{% if page.lang == "zh" %}
2020-02-24 11:12:51 +08:00
<div id="title">
<p>{{ site.description_cn }}</p>
2020-02-24 11:12:51 +08:00
<hr />
<p align="center">
<b><a href="{{ site.url }}/cn/">主页</a></b> |
<b><a href="{{ site.url }}/cn/about/">关于我们</a></b> |
<b><a href="{{ site.url }}/cn/quick-start-guide/">入门指南</a></b> |
<b><a href="{{ site.url }}/cn/documentation/">使用文档</a></b> |
<b><a href="{{ site.url }}/cn/development/">开发指南</a></b> |
<b><a href="{{ site.url }}/cn/community/">用户社区</a></b> |
<b><a href="{{ site.url }}/cn/sponsors/">赞助</a></b> |
<b><a href="{{ site.url }}{{ page.url | remove_first: "/cn" }}">English</a></b>
2020-02-24 11:12:51 +08:00
</p>
<hr />
</div>
{% else %}
2020-02-24 11:12:51 +08:00
<div id="title">
<p>{{ site.description }}</p>
2020-02-24 11:12:51 +08:00
<hr />
<p align="center">
<b><a href="{{ site.url }}">Home</a></b> |
<b><a href="{{ site.url }}/about/">About</a></b> |
<b><a href="{{ site.url }}/quick-start-guide/">Quick start guide</a></b> |
<b><a href="{{ site.url }}/documentation/">Documentation</a></b> |
2020-02-24 11:12:51 +08:00
<b><a href="{{ site.url }}/development/">Development</a></b> |
<b><a href="{{ site.url }}/community/">Community</a></b> |
<b><a href="{{ site.url }}/sponsors/">Sponsors</a></b> |
<b><a href="{{ site.url }}/cn{{ page.url }}">中文</a></b>
2020-02-24 11:12:51 +08:00
</p>
<hr />
2019-05-11 12:57:32 +08:00
</div>
{% endif %}
{{ content }}
2020-02-24 11:12:51 +08:00
</section>
</div>
</body>
<root>
2019-10-04 14:13:51 +08:00
{% if page.lang == "zh" %}
2019-05-11 12:57:32 +08:00
<p align="center">
2020-02-24 11:12:51 +08:00
<span class="credits right"
>由Jekyll强力驱动
2020-02-24 11:12:51 +08:00
</span>
2019-05-11 12:57:32 +08:00
</p>
{% else %}
<p align="center">
2020-02-24 11:12:51 +08:00
<span class="credits right"
>Powered by Jekyll
2020-02-24 11:12:51 +08:00
</span>
2019-05-11 12:57:32 +08:00
</p>
2018-01-21 00:36:12 +08:00
{% endif %}
2020-02-24 11:12:51 +08:00
</root>
2017-02-07 00:45:57 +08:00
</html>
<!-- vim:set nowrap: -->