diff options
Diffstat (limited to '_includes/git-wiki/sections/head')
| -rw-r--r-- | _includes/git-wiki/sections/head/head.html | 13 | ||||
| -rw-r--r-- | _includes/git-wiki/sections/head/meta.html | 13 | ||||
| -rw-r--r-- | _includes/git-wiki/sections/head/scripts.html | 15 | ||||
| -rw-r--r-- | _includes/git-wiki/sections/head/styles.html | 9 |
4 files changed, 50 insertions, 0 deletions
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 |
