summaryrefslogtreecommitdiff
path: root/_includes/git-wiki/sections
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2018-12-17 19:19:20 +0100
committerYehonal <yehonal.azeroth@gmail.com>2018-12-17 21:01:20 +0100
commit4e1a3540b9e9bcf8c95e2d61e674c7b9711dd99a (patch)
tree3e671c486e329d2b67312cf7c6a4d81bff5c07ed /_includes/git-wiki/sections
parent2e2c8eefe545b70e0d7c5f1286477a083aff1f06 (diff)
downloadwiki-4e1a3540b9e9bcf8c95e2d61e674c7b9711dd99a.tar.gz
wiki-4e1a3540b9e9bcf8c95e2d61e674c7b9711dd99a.tar.bz2
wiki-4e1a3540b9e9bcf8c95e2d61e674c7b9711dd99a.zip
v2.1.0 with blog feature implemented
Diffstat (limited to '_includes/git-wiki/sections')
-rw-r--r--_includes/git-wiki/sections/content/body.html5
-rw-r--r--_includes/git-wiki/sections/content/content.html25
-rw-r--r--_includes/git-wiki/sections/content/wrapper.html5
-rw-r--r--_includes/git-wiki/sections/footer/footer.html11
-rw-r--r--_includes/git-wiki/sections/head/head.html13
-rw-r--r--_includes/git-wiki/sections/head/meta.html13
-rw-r--r--_includes/git-wiki/sections/head/scripts.html15
-rw-r--r--_includes/git-wiki/sections/head/styles.html9
-rw-r--r--_includes/git-wiki/sections/header/header.html29
-rw-r--r--_includes/git-wiki/sections/tail/tail.html34
-rw-r--r--_includes/git-wiki/sections/tools/tools.html13
11 files changed, 172 insertions, 0 deletions
diff --git a/_includes/git-wiki/sections/content/body.html b/_includes/git-wiki/sections/content/body.html
new file mode 100644
index 0000000..419eeaf
--- /dev/null
+++ b/_includes/git-wiki/sections/content/body.html
@@ -0,0 +1,5 @@
+<body>
+ {% include git-wiki/sections/content/wrapper.html %}
+
+ {% include git-wiki/sections/tail/tail.html %}
+</body> \ No newline at end of file
diff --git a/_includes/git-wiki/sections/content/content.html b/_includes/git-wiki/sections/content/content.html
new file mode 100644
index 0000000..b86a729
--- /dev/null
+++ b/_includes/git-wiki/sections/content/content.html
@@ -0,0 +1,25 @@
+<section>
+ {% include git-wiki/sections/tools/tools.html %}
+
+ {% if site.inc_before_toc %}
+ {% include {{ site.inc_before_toc }} %}
+ {% endif %}
+
+ <div id="toc"></div>
+
+ {% if site.inc_after_toc %}
+ {% include {{ site.inc_after_toc }} %}
+ {% endif %}
+
+ {% if site.inc_before_content %}
+ {% include {{ site.inc_before_content }} %}
+ {% endif %}
+
+ <div id="content">
+ {{ content }}
+ </div>
+
+ {% if site.inc_after_content %}
+ {% include {{ site.inc_after_content }} %}
+ {% endif %}
+</section> \ No newline at end of file
diff --git a/_includes/git-wiki/sections/content/wrapper.html b/_includes/git-wiki/sections/content/wrapper.html
new file mode 100644
index 0000000..eab823f
--- /dev/null
+++ b/_includes/git-wiki/sections/content/wrapper.html
@@ -0,0 +1,5 @@
+<div class="wrapper">
+ {% include git-wiki/sections/header/header.html %}
+ {% include git-wiki/sections/content/content.html %}
+ {% include git-wiki/sections/footer/footer.html %}
+</div> \ No newline at end of file
diff --git a/_includes/git-wiki/sections/footer/footer.html b/_includes/git-wiki/sections/footer/footer.html
new file mode 100644
index 0000000..f49703b
--- /dev/null
+++ b/_includes/git-wiki/sections/footer/footer.html
@@ -0,0 +1,11 @@
+<footer>
+ {% if site.inc_before_footer %}
+ {% include {{ site.inc_before_footer }} %}
+ {% endif %}
+
+ {% include git-wiki/components/copyrights/copyrights.html %}
+
+ {% if site.inc_after_footer %}
+ {% include {{ site.inc_after_footer }} %}
+ {% endif %}
+</footer> \ No newline at end of file
diff --git a/_includes/git-wiki/sections/head/head.html b/_includes/git-wiki/sections/head/head.html
new file mode 100644
index 0000000..dab9a86
--- /dev/null
+++ b/_includes/git-wiki/sections/head/head.html
@@ -0,0 +1,13 @@
+<head>
+ {% if site.inc_before_head %}
+ {% include {{ site.inc_before_head }} %}
+ {% endif %}
+
+ {% include git-wiki/sections/head/meta.html %}
+ {% include git-wiki/sections/head/scripts.html %}
+ {% include git-wiki/sections/head/styles.html %}
+
+ {% if site.inc_after_head %}
+ {% include {{ site.inc_after_head }} %}
+ {% endif %}
+</head> \ No newline at end of file
diff --git a/_includes/git-wiki/sections/head/meta.html b/_includes/git-wiki/sections/head/meta.html
new file mode 100644
index 0000000..bfae3da
--- /dev/null
+++ b/_includes/git-wiki/sections/head/meta.html
@@ -0,0 +1,13 @@
+{% if site.inc_before_meta %}
+{% include {{ site.inc_before_meta }} %}
+{% endif %}
+
+<meta charset="utf-8">
+<meta http-equiv="X-UA-Compatible" content="chrome=1">
+<meta name="viewport" content="width=device-width">
+
+{% seo %}
+
+{% if site.inc_after_meta %}
+{% include {{ site.inc_after_meta }} %}
+{% endif %} \ No newline at end of file
diff --git a/_includes/git-wiki/sections/head/scripts.html b/_includes/git-wiki/sections/head/scripts.html
new file mode 100644
index 0000000..65ee4ff
--- /dev/null
+++ b/_includes/git-wiki/sections/head/scripts.html
@@ -0,0 +1,15 @@
+{% if site.inc_before_scripts %}
+{% include {{ site.inc_before_scripts }} %}
+{% endif %}
+
+<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
+ crossorigin="anonymous"></script>
+<script src="{{ '/assets/js/toc.js' | relative_url }}"></script>
+<script src="{{ '/assets/js/red-links.js' | relative_url }}"></script>
+<!--[if lt IE 9]>
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+{% if site.inc_after_scripts %}
+{% include {{ site.inc_after_scripts }} %}
+{% endif %} \ No newline at end of file
diff --git a/_includes/git-wiki/sections/head/styles.html b/_includes/git-wiki/sections/head/styles.html
new file mode 100644
index 0000000..3bb7ecc
--- /dev/null
+++ b/_includes/git-wiki/sections/head/styles.html
@@ -0,0 +1,9 @@
+{% if site.inc_before_styles %}
+{% include {{ site.inc_before_styles }} %}
+{% endif %}
+
+<link rel="stylesheet" href="{{ '/assets/css/git-wiki-style.css?v=' | append: site.github.build_revision | relative_url }}">
+
+{% if site.inc_after_styles %}
+{% include {{ site.inc_after_styles }} %}
+{% endif %} \ No newline at end of file
diff --git a/_includes/git-wiki/sections/header/header.html b/_includes/git-wiki/sections/header/header.html
new file mode 100644
index 0000000..34f21dd
--- /dev/null
+++ b/_includes/git-wiki/sections/header/header.html
@@ -0,0 +1,29 @@
+<header>
+ {% if site.inc_before_header %}
+ {% include {{ site.inc_before_header }} %}
+ {% endif %}
+
+ {% if site.logo_url %}
+ {% include git-wiki/components/logo/logo.html %}
+ {% endif %}
+
+ {% if site.github.is_user_page %}
+ <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
+ {% endif %}
+
+ {% if site.show_downloads %}
+ {% include git-wiki/components/action_btn/downloads.html %}
+ {% endif %}
+
+ {% if site.show_wiki_pages %}
+ {% include git-wiki/components/lists/page-list.html %}
+ {% endif %}
+
+ {% if site.blog_feature and site.show_wiki_posts %}
+ {% include git-wiki/components/lists/post-list.html %}
+ {% endif %}
+
+ {% if site.inc_after_header %}
+ {% include {{ site.inc_after_header }} %}
+ {% endif %}
+</header>
diff --git a/_includes/git-wiki/sections/tail/tail.html b/_includes/git-wiki/sections/tail/tail.html
new file mode 100644
index 0000000..e86191c
--- /dev/null
+++ b/_includes/git-wiki/sections/tail/tail.html
@@ -0,0 +1,34 @@
+{% if site.inc_before_tail %}
+{% include {{ site.inc_before_tail }} %}
+{% endif %}
+
+<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
+
+{% if site.google_analytics %}
+<script>
+ (function (i, s, o, g, r, a, m) {
+ i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
+ (i[r].q = i[r].q || []).push(arguments)
+ }, i[r].l = 1 * new Date(); a = s.createElement(o),
+ m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
+ })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
+
+ ga('create', '{{ site.google_analytics }}', 'auto');
+ ga('send', 'pageview');
+</script>
+{% endif %}
+
+<script type="text/javascript">
+ $(document).ready(function () {
+ $('#toc').toc({
+ title: '<i>Contents</i>',
+ showSpeed: 0,
+ headers: '#content h1, #content h2, #content h3, #content h4, #content h5, #content h6'
+ });
+ $(document.body).redLinks();
+ });
+</script>
+
+{% if site.inc_after_tail %}
+{% include {{ site.inc_after_tail }} %}
+{% endif %} \ No newline at end of file
diff --git a/_includes/git-wiki/sections/tools/tools.html b/_includes/git-wiki/sections/tools/tools.html
new file mode 100644
index 0000000..0b2770e
--- /dev/null
+++ b/_includes/git-wiki/sections/tools/tools.html
@@ -0,0 +1,13 @@
+<div id="tools-buttons" style="width: 100%; text-align: right">
+ {% if site.inc_before_tools %}
+ {% include {{ site.inc_before_tools }} %}
+ {% endif %}
+
+ {% include git-wiki/components/action_btn/page_actions.html %}
+
+ {% include git-wiki/components/search/index.html %}
+
+ {% if site.inc_after_tools %}
+ {% include {{ site.inc_after_tools }} %}
+ {% endif %}
+</div> \ No newline at end of file