forked from tektoncd/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Linux foundation copyright, privacy, and terms footer
Adjusts theme to support CD Foundation's requirements for copyright, privacy, and terms footer. Adds favicon.ico at root Fixes #13
- Loading branch information
1 parent
5943112
commit 1db8c97
Showing
5 changed files
with
84 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
|
||
# UI strings. Buttons and similar. | ||
|
||
[ui_pager_prev] | ||
other = "Previous" | ||
|
||
[ui_pager_next] | ||
other = "Next" | ||
|
||
[ui_read_more] | ||
other = "Read more" | ||
|
||
[ui_search] | ||
other = "Search this site…" | ||
|
||
# Used in sentences such as "Posted in News" | ||
[ui_in] | ||
other = "in" | ||
|
||
# Footer text | ||
[footer_all_rights_reserved] | ||
other = """ | ||
The Linux Foundation®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. | ||
For a list of trademarks of The Linux Foundation, please see our [Trademark Usage page](https://www.linuxfoundation.org/trademark-usage). | ||
Linux is a registered trademark of Linus Torvalds. [Privacy Policy](https://www.linuxfoundation.org/privacy/) and [Terms of Use](https://www.linuxfoundation.org/terms/). | ||
""" | ||
|
||
# Post (blog, articles etc.) | ||
[post_byline_by] | ||
other = "By" | ||
[post_created] | ||
other = "Created" | ||
[post_last_mod] | ||
other = "Last modified" | ||
[post_edit_this] | ||
other = "Edit this page" | ||
[post_create_issue] | ||
other = "Create documentation issue" | ||
[post_create_project_issue] | ||
other = "Create project issue" | ||
[post_posts_in] | ||
other = "Posts in" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{{ $links := .Site.Params.links }} | ||
<footer class="auto-height bg-dark py-5 row d-print-none"> | ||
<div class="container-fluid mx-sm-5"> | ||
<div class="row"> | ||
<div class="col-6 col-sm-4 text-xs-center order-sm-2"> | ||
{{ with $links }} | ||
{{ with index . "user"}} | ||
{{ template "footer-links-block" . }} | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
<div class="col-6 col-sm-4 text-right text-xs-center order-sm-3"> | ||
{{ with $links }} | ||
{{ with index . "developer"}} | ||
{{ template "footer-links-block" . }} | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
<div class="col-12 col-sm-4 text-center py-2 order-sm-2"> | ||
<small class="text-white">© {{ now.Year}} {{ T "footer_all_rights_reserved" | markdownify}}</small> | ||
{{ if not .Site.Params.ui.footer_about_disable }} | ||
{{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }} | ||
{{ end }} | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
{{ define "footer-links-block" }} | ||
<ul class="list-inline mb-0"> | ||
{{ range . }} | ||
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}" aria-label="{{ .name }}"> | ||
<a class="text-white" target="_blank" href="{{ .url }}"> | ||
<i class="{{ .icon }}"></i> | ||
</a> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
{{ end }} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,3 +50,6 @@ code { | |
width: 60%; | ||
} | ||
|
||
footer.auto-height { | ||
min-height: auto; | ||
} |