diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2018-12-16 15:54:48 +0100 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2018-12-16 16:35:55 +0100 |
| commit | 4a8156e08a5e3ffe540f56ecb894b951dd9b7c84 (patch) | |
| tree | e14862984ffba17f4a8fe53d90b937917014827a /_includes/gw_head | |
| parent | d910d7263f43ddce21dbab7345dd679dc5b092b6 (diff) | |
| download | wiki-4a8156e08a5e3ffe540f56ecb894b951dd9b7c84.tar.gz wiki-4a8156e08a5e3ffe540f56ecb894b951dd9b7c84.tar.bz2 wiki-4a8156e08a5e3ffe540f56ecb894b951dd9b7c84.zip | |
Git-Wiki 2.0
Diffstat (limited to '_includes/gw_head')
| -rw-r--r-- | _includes/gw_head/head.html | 13 | ||||
| -rw-r--r-- | _includes/gw_head/meta.html | 12 | ||||
| -rw-r--r-- | _includes/gw_head/scripts.html | 15 | ||||
| -rw-r--r-- | _includes/gw_head/styles.html | 9 |
4 files changed, 49 insertions, 0 deletions
diff --git a/_includes/gw_head/head.html b/_includes/gw_head/head.html new file mode 100644 index 0000000..cf82bd9 --- /dev/null +++ b/_includes/gw_head/head.html @@ -0,0 +1,13 @@ +<head> + {% if site.inc_before_head %} + {% include {{ site.inc_before_head }} %} + {% endif %} + + {% include gw_head/meta.html %} + {% include gw_head/scripts.html %} + {% include gw_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/gw_head/meta.html b/_includes/gw_head/meta.html new file mode 100644 index 0000000..141ab05 --- /dev/null +++ b/_includes/gw_head/meta.html @@ -0,0 +1,12 @@ +{% 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"> +<title>{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title> + +{% if site.inc_after_meta %} +{% include {{ site.inc_after_meta }} %} +{% endif %}
\ No newline at end of file diff --git a/_includes/gw_head/scripts.html b/_includes/gw_head/scripts.html new file mode 100644 index 0000000..65ee4ff --- /dev/null +++ b/_includes/gw_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/gw_head/styles.html b/_includes/gw_head/styles.html new file mode 100644 index 0000000..3bb7ecc --- /dev/null +++ b/_includes/gw_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 |
