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_header | |
| parent | d910d7263f43ddce21dbab7345dd679dc5b092b6 (diff) | |
| download | wiki-4a8156e08a5e3ffe540f56ecb894b951dd9b7c84.tar.gz wiki-4a8156e08a5e3ffe540f56ecb894b951dd9b7c84.tar.bz2 wiki-4a8156e08a5e3ffe540f56ecb894b951dd9b7c84.zip | |
Git-Wiki 2.0
Diffstat (limited to '_includes/gw_header')
| -rw-r--r-- | _includes/gw_header/downloads.html | 5 | ||||
| -rw-r--r-- | _includes/gw_header/header.html | 21 | ||||
| -rw-r--r-- | _includes/gw_header/logo.html | 4 |
3 files changed, 30 insertions, 0 deletions
diff --git a/_includes/gw_header/downloads.html b/_includes/gw_header/downloads.html new file mode 100644 index 0000000..8f654f9 --- /dev/null +++ b/_includes/gw_header/downloads.html @@ -0,0 +1,5 @@ +<ul class="downloads"> + <li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li> + <li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li> + <li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li> +</ul>
\ No newline at end of file diff --git a/_includes/gw_header/header.html b/_includes/gw_header/header.html new file mode 100644 index 0000000..1b0b74c --- /dev/null +++ b/_includes/gw_header/header.html @@ -0,0 +1,21 @@ +<header> + {% if site.inc_before_header %} + {% include {{ site.inc_before_header }} %} + {% endif %} + + {% if site.show_downloads %} + {% include gw_header/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 gw_header/downloads.html %} + {% endif %} + + {% if site.inc_after_header %} + {% include {{ site.inc_after_header }} %} + {% endif %} +</header>
\ No newline at end of file diff --git a/_includes/gw_header/logo.html b/_includes/gw_header/logo.html new file mode 100644 index 0000000..a4a36c3 --- /dev/null +++ b/_includes/gw_header/logo.html @@ -0,0 +1,4 @@ +<a href="{{ '/' | relative_url }}"><img src="{{ site.logo_url }}"> + <h1>{{ site.title | default: site.github.repository_name }}</h1> +</a> +<p>{{ site.description | default: site.github.project_tagline }}</p>
\ No newline at end of file |
