This is an automated email from the ASF dual-hosted git repository. abudnikov pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ignite-website.git
commit b4f70d7e007c7254cd8a7418ce47e1e8274c1d92 Author: abudnikov <[email protected]> AuthorDate: Tue Sep 1 11:32:50 2020 +0300 add copyryght footer --- _docs/_includes/copyright.html | 5 +++++ _docs/_includes/left-nav.html | 2 +- _docs/_includes/section-toc.html | 4 ++-- _docs/_includes/toc.html | 3 ++- _docs/_layouts/doc.html | 1 + _docs/_sass/docs.scss | 9 ++++++++- 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/_docs/_includes/copyright.html b/_docs/_includes/copyright.html new file mode 100644 index 0000000..faa750d --- /dev/null +++ b/_docs/_includes/copyright.html @@ -0,0 +1,5 @@ +<div class="copyright"> + © {{ "today" | date: "%Y" }} The Apache Software Foundation.<br/> +Apache, Apache Ignite, the Apache feather and the Apache Ignite logo are either registered trademarks or trademarks of The Apache Software Foundation. + +</div> diff --git a/_docs/_includes/left-nav.html b/_docs/_includes/left-nav.html index 274d150..537878f 100644 --- a/_docs/_includes/left-nav.html +++ b/_docs/_includes/left-nav.html @@ -36,7 +36,7 @@ {% assign chapter_class = 'expanded' %} {% endif %} - <li><a href="{{prefix}}{{subpage.url}}" class='{% if normalized_path == subpage.url %}active{% endif %}'>{{subpage.title}}</a></li> + <li><a href="{{prefix}}/{{subpage.url}}" class='{% if normalized_path == subpage.url %}active{% endif %}'>{{subpage.title}}</a></li> {% endfor %} </nav> {% else %} diff --git a/_docs/_includes/section-toc.html b/_docs/_includes/section-toc.html index 2a376be..394a256 100644 --- a/_docs/_includes/section-toc.html +++ b/_docs/_includes/section-toc.html @@ -1,13 +1,13 @@ {% assign s = include.section %} {% if include.title %} -<a {% if s.url %} href="{{site.attrs.base_url}}{{s.url}}" {% endif %}>{{s.title}}</a> +<a {% if s.url %} href="{{site.attrs.base_url}}/{{s.url}}" {% endif %}>{{s.title}}</a> {% endif %} {% if s.items %} <ul class='sub_pages'> {% for subpage in s.items %} - <li><a href="{{site.attrs.base_url}}{{subpage.url}}" class=''>{{subpage.title}}</a></li> + <li><a href="{{site.attrs.base_url}}/{{subpage.url}}" class=''>{{subpage.title}}</a></li> {% endfor %} </ul> {% endif %} diff --git a/_docs/_includes/toc.html b/_docs/_includes/toc.html index d087673..84b713b 100644 --- a/_docs/_includes/toc.html +++ b/_docs/_includes/toc.html @@ -30,7 +30,8 @@ {% else %} {% for guide in site.data.toc %} - <h2> {{guide.title }} </h2> + <h2> +<a href="{{site.attrs.base_url}}{{guide.url}}" class=''>{{guide.title}}</a> </h2> {% if guide.items %} <ul> {% for sect in guide.items %} diff --git a/_docs/_layouts/doc.html b/_docs/_layouts/doc.html index 22d6f80..d66b412 100644 --- a/_docs/_layouts/doc.html +++ b/_docs/_layouts/doc.html @@ -10,6 +10,7 @@ layout: default <h1>{{page.title}}</h1> {% endif %} {{content}} + {% include copyright.html %} </article> {% include right-nav.html %} </section> diff --git a/_docs/_sass/docs.scss b/_docs/_sass/docs.scss index 6b15190..9dac023 100644 --- a/_docs/_sass/docs.scss +++ b/_docs/_sass/docs.scss @@ -127,7 +127,14 @@ section.page-docs { table tr.even,table tr.alt{background:#f8f8f7} table.stripes-all tr,table.stripes-odd tr:nth-of-type(odd),table.stripes-even tr:nth-of-type(even),table.stripes-hover tr:hover{background:#f8f8f7} - +} +.copyright { + margin-top: 3em; + padding-top: 1em; + border-top: 1px solid #f0f0f0; + font-size: 0.9em; + line-height: 1.8em; + color: #757575; } body.hide-left-nav {
