aboutsummaryrefslogtreecommitdiff
path: root/landing/_includes
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2017-08-31 09:08:38 +0800
committerruki <waruqi@gmail.com>2017-08-31 09:08:38 +0800
commit9078c01303c065fbf6e6cefbddcb462adede7bfb (patch)
treec33052b914aeaca00186e6cc83df6f88f4e1c1b4 /landing/_includes
downloadxmake-docs-9078c01303c065fbf6e6cefbddcb462adede7bfb.tar.gz
xmake-docs-9078c01303c065fbf6e6cefbddcb462adede7bfb.zip
first commit
Diffstat (limited to 'landing/_includes')
-rw-r--r--landing/_includes/head.cn.html23
-rw-r--r--landing/_includes/head.html23
-rw-r--r--landing/_includes/page-footer.html12
-rw-r--r--landing/_includes/page-header.cn.html18
-rw-r--r--landing/_includes/page-header.html18
5 files changed, 94 insertions, 0 deletions
diff --git a/landing/_includes/head.cn.html b/landing/_includes/head.cn.html
new file mode 100644
index 00000000..c99dc89e
--- /dev/null
+++ b/landing/_includes/head.cn.html
@@ -0,0 +1,23 @@
+<head>
+ <meta charset="UTF-8">
+ <title>{{ site.title }}</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="theme-color" content="#157878">
+ <meta name="description" content="{{site.tagline-cn}}">
+ <meta name="keywords" content="{{site.keywords-cn}}" />
+
+ <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/normalize.css">
+ <link rel='stylesheet' href="{{ site.baseurl }}/assets/css/opensans.css" type='text/css'>
+ <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/cayman.css">
+
+ <!-- baidu stats -->
+ <script>
+ var _hmt = _hmt || [];
+ (function() {
+ var hm = document.createElement("script");
+ hm.src = "//hm.baidu.com/hm.js?eb3c91c672a001d78a113bfb8e42017a";
+ var s = document.getElementsByTagName("script")[0];
+ s.parentNode.insertBefore(hm, s);
+ })();
+ </script>
+</head>
diff --git a/landing/_includes/head.html b/landing/_includes/head.html
new file mode 100644
index 00000000..77eaa8d4
--- /dev/null
+++ b/landing/_includes/head.html
@@ -0,0 +1,23 @@
+<head>
+ <meta charset="UTF-8">
+ <title>{{ site.title }}</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="theme-color" content="#157878">
+ <meta name="description" content="{{site.tagline}}">
+ <meta name="keywords" content="{{site.keywords}}" />
+
+ <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/normalize.css">
+ <link rel='stylesheet' href="{{ site.baseurl }}/assets/css/opensans.css" type='text/css'>
+ <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/cayman.css">
+
+ <!-- baidu stats -->
+ <script>
+ var _hmt = _hmt || [];
+ (function() {
+ var hm = document.createElement("script");
+ hm.src = "//hm.baidu.com/hm.js?eb3c91c672a001d78a113bfb8e42017a";
+ var s = document.getElementsByTagName("script")[0];
+ s.parentNode.insertBefore(hm, s);
+ })();
+ </script>
+</head>
diff --git a/landing/_includes/page-footer.html b/landing/_includes/page-footer.html
new file mode 100644
index 00000000..bb306a49
--- /dev/null
+++ b/landing/_includes/page-footer.html
@@ -0,0 +1,12 @@
+<footer class="site-footer">
+ <span class="site-footer-owner">Copyright (c) 2015-2017 <a href="{{ site.author.url }}">tboox.org</a>.</span>
+ <span class="site-footer-power">
+ <span>
+ <!--Site powered by <a href="https://jekyllrb.com/">Jekyll</a> & <a href="http://pages.coding.me">Coding Pages</a>.-->
+ Site powered by <a href="https://jekyllrb.com/">Jekyll</a> & <a href="https://pages.github.com/">Github Pages</a>.
+ </span>
+ <span>
+ Theme designed by <a href="https://github.com/pietromenna/jekyll-cayman-theme">cayman</a>.
+ </span>
+</span>
+</footer>
diff --git a/landing/_includes/page-header.cn.html b/landing/_includes/page-header.cn.html
new file mode 100644
index 00000000..e58830f0
--- /dev/null
+++ b/landing/_includes/page-header.cn.html
@@ -0,0 +1,18 @@
+<section class="page-header">
+ <h1 class="project-name">{{ site.title }}</h1>
+ <h2 class="project-tagline">{{ site.tagline-cn }}</h2>
+ <a href="/#/zh/" class="btn">开始使用</a>
+ <br><br>
+ <iframe src="https://ghbtns.com/github-btn.html?user=tboox&repo=xmake&type=star&count=true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
+ <span class="donate" style="width: 86px">
+ <img src="{{site.baseurl}}/assets/img/patreon.png">
+ <a href="{{site.baseurl}}/cn/pages/donation.html#donate">支持我们</a>
+ </span>
+ <br><br>
+<ul id="translations">
+ <li><a href="{{site.baseurl}}/cn/" class="nav-link">中文</a></li>
+ <li class="delimiter">|</li>
+ <li><a href="{{site.baseurl}}/" class="nav-link">English</a></li>
+ </ul>
+</section>
+
diff --git a/landing/_includes/page-header.html b/landing/_includes/page-header.html
new file mode 100644
index 00000000..8ebabfb7
--- /dev/null
+++ b/landing/_includes/page-header.html
@@ -0,0 +1,18 @@
+<section class="page-header">
+ <h1 class="project-name">{{ site.title }}</h1>
+ <h2 class="project-tagline">{{ site.tagline }}</h2>
+ <a href="/#/home" class="btn">GET STARTED</a>
+ <br><br>
+ <iframe src="https://ghbtns.com/github-btn.html?user=tboox&repo=xmake&type=star&count=true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
+ <span class="donate" style="width: 100px">
+ <img src="{{site.baseurl}}/assets/img/patreon.png">
+ <a href="{{site.baseurl}}/pages/donation.html#donate">Support us</a>
+ </span>
+ <br><br>
+ <ul id="translations">
+ <li><a href="{{site.baseurl}}/cn/" class="nav-link">中文</a></li>
+ <li class="delimiter">|</li>
+ <li><a href="{{site.baseurl}}/" class="nav-link">English</a></li>
+ </ul>
+</section>
+